# dt0ur.online Multi-Chain Gas Price Comparator

> dt0ur.online Multi-Chain Gas Price Comparator is a paid API for AI agents from dt0ur.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Returns live base fees, gas prices (in gwei), and USD costs for native and ERC-20 transfers across up to 6 EVM chains, sorted cheapest-first so an agent can pick the optimal chain to transact on.

## Facts

- Endpoint: POST https://dt0ur.online/api/onchain/gas?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dt0ur-online-multi-chain-gas-price-comparator-9f5c4af2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vg6etxhncXzT0PzEQqzEC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability dt0ur-online-multi-chain-gas-price-comparator-9f5c4af2 -d '<json body>'
```

Example prompt: Check live gas prices across Base, Ethereum, Arbitrum, Optimism, Polygon, and BSC right now — show me the base fee and gas price in gwei for each, plus how much a native transfer and an ERC-20 transfer would cost in USD, sorted from cheapest to most expensive.

## When to prefer this

Use this endpoint when an agent needs to programmatically compare real-time gas costs across multiple EVM chains to make routing or timing decisions. It is ideal for DeFi agents, bridging bots, or wallet apps that need a single call to get a ranked, USD-denominated gas cost comparison rather than querying each chain's RPC individually. Prefer this over chain-specific gas oracles when multi-chain comparison is required in one shot.

## Known failure modes

- Unknown chain enum value passed in the chains array returns a validation error
- RPC or upstream node unavailability may cause stale or missing data for a specific chain
- Network congestion spikes may make the snapshot slightly outdated by execution time
- Empty chains array or malformed JSON body returns an input validation error
- Payment failure (x402 protocol) blocks the request before any data is returned

## How this service works

Live gas prices across base, ethereum, arbitrum, optimism, polygon, bsc, sorted cheapest first: base fee and gas price in gwei, plus the USD cost of a native transfer and of an ERC-20 transfer on each chain, so an agent can pick where to transact.

## Output

A list of chains sorted cheapest-first, each with: base fee (gwei), gas price (gwei), estimated USD cost of a native token transfer, and estimated USD cost of an ERC-20 token transfer — giving an agent everything needed to route a transaction to the lowest-cost network.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chains": {
   "type": "array",
   "items": {
    "enum": [
     "base",
     "ethereum",
     "arbitrum",
     "optimism",
     "polygon",
     "bsc"
    ],
    "type": "string"
   },
   "description": "Chains to compare (default: all)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dt0ur-online-multi-chain-gas-price-comparator-9f5c4af2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dt0ur.online](https://www.zero.xyz/host/dt0ur.online/llms.txt)
