Gas Price Lookup (Base & Ethereum) is a paid API for AI agents from x402-micro-pay.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-20).
Returns current gas prices (base fee, priority fee percentiles, suggested max fee) for Base and/or Ethereum chains, paid per-call via x402 USDC microtransaction.
41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.
Returns a JSON object containing: block number, chain name and chain ID, base fee in gwei, ETH transfer cost in USD, priority fee percentiles (p25/p50/p90) in gwei, and suggested max fee in gwei. Also includes data freshness timestamp, confidence score, warnings, and suggested related skills.
POSThttps://x402-micro-pay.com/api/skills/gas-price?utm_source=zero.xyzChoose this endpoint when an AI agent needs live gas fee data for Base or Ethereum without maintaining an API key or subscription. Ideal for autonomous agents that need to decide whether to submit on-chain transactions, estimate costs, or compare gas across chains. The x402 micropayment model makes it trivially cheap ($0.001 per call) and frictionless — no account setup required.
| Field | Type | Description |
|---|---|---|
| chains | array | |
| request_id | string | Optional idempotency key. Echoed back; a credit-pack redemption with the same request_id and body is charged once. |
{
"type": "json",
"example": {
"ok": true,
"data": {
"as_of": "2026-10-24T14:00:00Z",
"results": [
{
"block": 22000000,
"chain": "base",
"chain_id": 8453,
"base_fee_gwei": 0.012,
"eth_transfer_usd": 0.000001,
"priority_fee_gwei": {
"p25": 0,
"p50": 0.001,
"p90": 0.01
},
"suggested_max_fee_gwei": 0.025
}
]
},
"next": [
"erc20_meta",
"token_price"
],
"skill": "gas_price",
"charged": true,
"service": "gas_price",
"sources": [
{
"url": "chain:8453",
"name": "base eth_feeHistory",
"fetched_at": "2026-10-24T14:00:00Z"
}
],
"summary": "base base=0.012 tip~0.001 gwei",
"version": "1.0.0",
"warnings": [],
"confidence": 0.95,
"data_as_of": "2026-10-24T14:00:00Z",
"generated_at": "2026-10-24T14:00:00Z"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"