# AllTheBot Ethereum Gas Price

> AllTheBot Ethereum Gas Price is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns the current Ethereum gas price, base fee, and priority fee in gwei, plus the ETH cost of a simple transfer, with no input required.

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/eth/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/allthebot-ethereum-gas-price-c3dd8ec4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JcKNODEqD9gvpAEoCtR7Z

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 allthebot-ethereum-gas-price-c3dd8ec4
```

Example prompt: What's the current Ethereum gas price right now — including the base fee, priority fee, and how much a simple ETH transfer would cost me in gwei?

## When to prefer this

Use this endpoint when you need real-time Ethereum mainnet gas data (base fee, priority fee, and ETH transfer cost) with zero configuration — no address, token, or parameters needed. Prefer it over general blockchain explorers when you want a clean, agent-friendly JSON response with all key gas metrics in one call. Best for decision logic such as 'transact now or wait' and for cost estimation before submitting on-chain transactions.

## Known failure modes

- Ethereum RPC node temporarily unavailable — 502 or 503 response
- Stale block data if the upstream node is syncing — block number may lag briefly
- Network congestion causing delayed gas oracle responses
- Payment failure if x402 USDC balance is insufficient — 402 Payment Required

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

A JSON object containing the current Ethereum block number, network name, gas price in gwei, base fee in gwei, priority fee in gwei, and the estimated cost of a simple ETH transfer in ETH. No input parameters are required.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "block": 26147688,
  "network": "ethereum",
  "base_fee_gwei": "0.228394507",
  "gas_price_gwei": "0.228394507",
  "priority_fee_gwei": "0",
  "eth_transfer_cost_eth": "0.000004796284647"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-ethereum-gas-price-c3dd8ec4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
