Base gas oracle current API

Current Base gas fees in gwei (base fee plus slow/standard/fast priority from feeHistory percentiles 10/50/90) with a USD estimate for a simple transfer. Snapshot only. POST /api/v1/chain-data/gas/current costs $0.001 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Base Mainnet public JSON-RPC Coinbase Exchange ETH-USD ticker for gas USD estimates Limits: Reads do not submit transactions. Log and transfer queries are capped and require a bounded block range.

Current Base gas fees in gwei (base fee plus slow/standard/fast priority from feeHistory percentiles 10/50/90) with a USD estimate for a simple transfer. Snapshot only. POST /api/v1/chain-data/gas/current costs $0.001 USDC on Base via x402. HTTP 2xx with status complete or partial and real data is charged; status failed, empty payloads, and HTTP 4xx/5xx are not charged. Sources: Base Mainnet public JSON-RPC Coinbase Exchange ETH-USD ticker for gas USD estimates Limits: Reads do not submit transactions. Log and transfer queries are capped and require a bounded block range.

POST$0.001 USDC
/api/v1/chain-data/gas/current

Example request

curl -i -X POST "https://www.brainiac.software/api/v1/chain-data/gas/current" \
  -H 'content-type: application/json' \
  -H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
  --data-binary @- <<'JSON'
{}
JSON

Example response

{
  "status": "complete",
  "chain": "base",
  "chainId": 8453,
  "asOf": "2026-11-20T21:45:00.000Z",
  "baseFeeGwei": "0.005",
  "priorityFeeGwei": {
    "slow": "0.001",
    "standard": "0.002",
    "fast": "0.01"
  },
  "gasLimit": 21000,
  "estimatedFeeEth": "0.000000147",
  "estimatedFeeUsd": "0.000450",
  "ethUsd": "3050.12",
  "ethUsdSource": "https://api.exchange.coinbase.com/products/ETH-USD/ticker",
  "limitation": "Snapshot, not a guaranteed inclusion price.",
  "percentiles": {
    "slow": 10,
    "standard": 50,
    "fast": 90
  },
  "missing_items": []
}

An unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.

Errors: HTTP 4xx/5xx are not charged. HTTP 2xx with status complete or partial and real data is charged; failed or empty results are not charged. Invalid cursor returns HTTP 400 (uncharged).

Limits: Reads do not submit transactions. Log and transfer queries are capped and require a bounded block range. gas/current is a fee snapshot, not a guaranteed inclusion price.

FAQ

  • Do I need an API key? No. Pay the listed USDC amount with x402.
  • What network? Base (eip155:8453), USDC.
  • Is this an official determination? No. Results are for human review against the cited sources.

Related APIs

Base Chain Data APIGroup docsHow it works