Live gas prices on Base, Ethereum, Arbitrum, and Optimism with USD cost for ETH ...
https://apix402data.com/api/chain/gasOverview
Live gas prices on Base, Ethereum, Arbitrum, and Optimism with USD cost for ETH transfers, ERC-20 transfers, and swaps, plus a local qwen3.5:4b recommendation of the cheapest chain for your action.
Protocol
x402 (POST)
Price
$0.0010
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/defi
Provider
apix402data
Source
bazaar
Indexed
2026-11-21 18:11:09
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"action": "swap USDC to ETH"
},
"bodyType": "json",
"inputSchema": {
"properties": {
"action": {
"default": "swap",
"description": "What you plan to do (e.g. 'swap USDC to ETH')",
"maxLength": 200,
"type": "string"
},
"chains": {
"description": "Comma list (default: base,ethereum,arbitrum,optimism)",
"maxLength": 80,
"type": "string"
},
"timeout_ms": {
"description": "Optional deadline in ms. If the local LLM would exceed it, the response comes back fast with \"degraded\": true and non-LLM/cached data",
"maximum": 120000,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"action": "swap USDC to ETH",
"ai": {
"recommendation": "Optimism offers the lowest total cost fo",
"recommended_chain": "optimism",
"source": "qwen3.5:4b"
},
"as_of": "2026-11-21T16:13:44.295667+00:00",
"cached": false,
"chains": [
{
"block": 60436229,
"chain": "base",
"costs_usd": {},
"fee_scope": "l2_execution_only_excludes_l1_data_fee",
"gas_gwei": 0.006
}
],
"cheapest": {
"by": "swap_cost_usd",
"chain": "optimism"
},
"degraded": false,
"endpoint": "chain_gas",
"errors": {},
"eth_usd": 1676.085,
"schema_version": "1.0"
},
"outputSchema": {
"properties": {
"action": {
"type": "string"
},
"ai": {
"properties": {
"recommendation": {
"type": "string"
},
"recommended_chain": {
"type": "string"
},
"source": {
"type": "string"
}
},
"type": "object"
},
"as_of": {
"type": "string"
},
"cached": {
"type": "boolean"
},
"chains": {
"items": {
"properties": {
"block": {
"type": "integer"
},
"chain": {
"type": "string"
},
"costs_usd": {
"properties": {},
"type": "object"
},
"fee_scope": {
"type": "string"
},
"gas_gwei": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"cheapest": {
"properties": {
"by": {
"type": "string"
},
"chain": {
"type": "string"
}
},
"type": "object"
},
"degraded": {
"type": "boolean"
},
"endpoint": {
"type": "string"
},
"errors": {
"properties": {},
"type": "object"
},
"eth_usd": {
"type": "number"
},
"schema_version": {
"type": "string"
}
},
"type": "object"
},
"type": "json"
}