GET /pipeline/v1/gas/prices/{chainId}

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/lifi/pipeline/v1/gas/prices/{chainId}Cache cached 15s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Gas prices (standard, fast, fastest) for a single chain.

2026-11-24: routed directly to official public https://li.quest/v1/gas/prices/{chainId} (no API key required).

Parameters

nameintypedescription
chainIdpathstrrequiredNumeric chain id
example: 1

Response

type: object
pagination: none
sample: {
  "standard": "int",
  "fast": "int",
  "fastest": "int",
  "lastUpdated": "int"
}

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/lifi/pipeline/v1/gas/prices/1"