GET /dex/trading/v1/trading/gas-price

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/cmc/dex/trading/v1/trading/gas-priceCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Low, medium, and high gas price and priority fee for a chainId.

name=dex_gas_price. chainId is the DEX platform id. Solana is 16, not an EVM chain id.

Parameters

nameintypedescription
chainIdqueryintrequiredDEX platform id. Solana is 16.
example: 16

Response

type: object
pagination: none

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/dex/trading/v1/trading/gas-price?chainId=16"