GET /api/v1/gas_price/{chain}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/gmgn/api/v1/gas_price/{chain}Cache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing free

Current priority fee, MEV tip, and gas fee tiers for one chain

Parameters

nameintypedescription
chainpathstringrequiredBlockchain slug: sol, eth, base, bsc, tron
default: sol
example: sol

Response

type: object
pagination: none
sample: {
  "chain": "sol",
  "prio": "0.0001",
  "tip": "0.001",
  "prio_mev": "0.0001",
  "tip_mev": "0.001",
  "auto": "0.000297631"
}

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/gmgn/api/v1/gas_price/sol"