# Agent Hub Live Gas Prices

> Agent Hub Live Gas Prices is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns live gas prices (base fee, priority tips, USD transfer cost) for Ethereum, Base, Arbitrum, Optimism, and Polygon.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/gas?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-live-gas-prices-77ffff49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_chmf5svUNWziEArbRN_Sn

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 agent-hub-live-gas-prices-77ffff49
```

Example prompt: What are the current slow, normal, and fast gas prices on Ethereum and Base right now, including how much a simple transfer would cost in USD?

## When to prefer this

Use this endpoint when you need real-time, multi-chain gas data across the five most popular EVM networks in a single call. Prefer it over on-chain RPC calls when you want USD cost estimates and normalized slow/normal/fast tip tiers without writing custom gas oracle logic.

## Known failure modes

- Invalid chain name in 'chains' parameter returns an error or empty result for that chain
- Network latency or upstream RPC outage may cause stale or missing data for one or more chains
- Malformed query parameter (e.g. extra spaces or unsupported chain) may be silently ignored or return an error
- Payment failure (x402) prevents the response from being returned

## How this service works

Live gas prices on Ethereum, Base, Arbitrum, Optimism and Polygon: gas price, next base fee, slow/normal/fast priority tips, and USD cost of a simple transfer.

## Output

Returns a structured response per chain including current gas price, next estimated base fee, and slow/normal/fast priority fee tips, plus the USD cost of executing a standard ETH transfer on that chain.

## 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",
     "properties": {
      "chains": {
       "type": "string",
       "description": "Comma list; default all five"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-hub-live-gas-prices-77ffff49/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
