x402-crosschain-gas is a paid API for AI agents from x402-catalog-history.ai-business-surface.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-18).
Returns real-time gas prices (in gwei and wei) for up to five EVM chains — Base, Ethereum, Arbitrum, Optimism, and Polygon — including base fee, priority fee, next block base fee, and block metadata, sourced directly from public RPCs.
Stop opening five explorers to price one transaction: one GET returns what each chain is charging for gas right now — for base, eth, arbitrum, optimism and polygon: the current gas price in gwei (with the raw wei the RPC returned), the latest block's base fee, the priority fee a 50th-percentile transaction actually paid across the last five blocks, the next block's base fee under the EIP-1559 formula, the block number and timestamp those numbers came from, and the public RPC that answered. curl: GET /gas?chains=base,eth (omit chains for all five; aliases like ethereum or arb work). Response: {gas:[{chain,chain_id,gas_price_gwei,base_fee_gwei,priority_fee_gwei,block:{number,timestamp},source_rpc,fetched_at}]}. Every value is a measurement from a public RPC, never an estimate: a chain no RPC answered for is listed in chains_unavailable with the reason, and a figure that could not be measured is null. Values are cached for 15 seconds, and each one carries the fetched_at of the measurement (not of this response). No keys, no account, read-only, one GET, one delivery — 0.001 USDC. A purchase is two calls by design: this first call returns 402 with the price and the payment terms, and you then repeat the same request with the PAYMENT-SIGNATURE header to receive the 200 delivery.
A JSON object with a `gas` array, where each entry contains: chain name and chain ID, gas price in gwei (and raw wei), base fee in gwei, 50th-percentile priority fee in gwei, estimated next block base fee under EIP-1559, block number and timestamp of the measurement, the public RPC that answered, and a fetched_at timestamp. Chains that could not be reached are listed in a `chains_unavailable` field with the reason. Values are cached for up to 15 seconds; individual unmeasurable fields are null rather than omitted.
GEThttps://x402-catalog-history.ai-business-surface.workers.dev/gas?utm_source=zero.xyzChoose this endpoint when you need fresh, RPC-sourced gas data across multiple EVM chains in a single call — especially when you need EIP-1559 breakdown (base fee + priority fee + next block estimate) rather than just a legacy gas price. It's ideal for agents making cross-chain routing decisions, DeFi bots sizing transaction fees, or dashboards monitoring gas in real time. Prefer it over manually querying five separate RPC endpoints or scraping block explorers.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
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"