# Gas Now — Multi-Chain Gas Price API

> Gas Now — Multi-Chain Gas Price API is a paid API for AI agents from ai-policy-kit.moneymaker-ai.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Returns current gas prices, base fees, priority fees, block info, and transfer cost estimates for up to 8 EVM-compatible blockchains in a single call.

## Facts

- Endpoint: GET https://ai-policy-kit.moneymaker-ai.workers.dev/api/gas-now?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gas-now-multi-chain-gas-price-api-62577461
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rlHiFmEUU7iSDj74DrzdA

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 gas-now-multi-chain-gas-price-api-62577461
```

Example prompt: What are the current gas prices on Base and Ethereum right now — including the base fee, priority fee, and what a simple ETH transfer would cost?

## When to prefer this

Choose this endpoint when you need real-time, multi-chain gas price data across up to 8 EVM networks in a single low-cost call. It is particularly useful for agents that need to select the cheapest chain before executing a transaction, estimate user-facing gas costs, or gate actions on gas conditions. Prefer this over chain-specific RPC calls when breadth across networks matters more than ultra-low latency to a single chain.

## Known failure modes

- Invalid chain enum value returns a validation error
- Network timeout if the target blockchain RPC is unresponsive
- Stale data if block production is delayed on the queried chain
- Payment failure (402) if x402 USDC micropayment is not submitted correctly

## How this service works

Generate an AI_POLICY.md and a pull request template with an AI-disclosure section for your open-source repo. Free, runs in your browser.

## Output

Returns a JSON array of chain objects, each containing the current block number, block timestamp (UTC), chain name and ID, native asset ticker, base fee in gwei, gas price in gwei, priority fee in gwei, block gas used as a percentage, estimated cost of a native ETH transfer, and estimated cost of a 65k-gas ERC-20 transfer — all denominated in the chain's native currency.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "bsc",
        "arbitrum",
        "optimism",
        "polygon",
        "gnosis",
        "celo"
       ],
       "type": "string",
       "description": "optional; omit for all 8 chains"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chains": [
   {
    "block": 52783442,
    "chain": "base",
    "native": "ETH",
    "chainId": 8453,
    "base_fee_gwei": 0.005,
    "block_time_utc": "2026-10-18T20:43:51.000Z",
    "gas_price_gwei": 0.006,
    "priority_fee_gwei": 0.001,
    "block_gas_used_pct": 4.5,
    "cost_native_transfer": "0.000000126",
    "cost_erc20_transfer_65k": "0.00000039"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gas-now-multi-chain-gas-price-api-62577461/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-policy-kit.moneymaker-ai.workers.dev](https://www.zero.xyz/host/ai-policy-kit.moneymaker-ai.workers.dev/llms.txt)
