Crypto DataLive

Chain Gas API

Live network gas prices (slow / average / fast, in gwei) for any chain — the pre-transaction read every trading, sniping, and settlement agent makes before sending a tx to size the fee.

$0.1035USDC per call · settled on Base · no subscription, no API key

Overview

Live network gas prices (slow / average / fast, in gwei) for any chain — the pre-transaction read every trading, sniping, and settlement agent makes before sending a tx to size the fee. Across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. Free upstream (Blockscout); one paid call instead of running your own RPC.

Endpoint

MethodEndpointPriceDescription
GET/v1/marketplace/api/chain-gas-2586$0.1035Invoke Chain Gas (Crypto Data) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i https://jarvisclaw.ai/v1/marketplace/api/chain-gas-2586

# 2. Pay it (the SDK signs and retries for you)
curl -H "X-PAYMENT: <signed-payload>" https://jarvisclaw.ai/v1/marketplace/api/chain-gas-2586
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs