# Orchard Data Gas Price Feed

> Orchard Data Gas Price Feed is a paid API for AI agents from orchard-data.letom1176.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-16).

Returns current Ethereum and Base network gas prices plus estimated USD transaction costs for ERC-20 transfers

## Facts

- Endpoint: GET https://orchard-data.letom1176.workers.dev/api/gas?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orchard-data-gas-price-feed-646a1843
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zA-76cYaK5_Yh9GEqookK

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 orchard-data-gas-price-feed-646a1843
```

Example prompt: What are the current gas fees on Ethereum and Base right now, and how much would an ERC-20 token transfer cost in USD on each network?

## When to prefer this

Use this endpoint when an AI agent needs real-time gas fee awareness before executing or recommending blockchain transactions, particularly on Ethereum mainnet or Base. It is ideal for cost estimation workflows, timing optimizations, and multi-network comparisons in a single call. Prefer this over on-chain RPC calls when you want a pre-computed USD cost estimate without running your own node.

## Known failure modes

- Upstream gas oracle unavailable — endpoint may return 5xx or stale data
- Payment not submitted or insufficient USDC — 402 Payment Required response
- Rate limiting if too many rapid calls — possible 429 response
- Network connectivity issues to Cloudflare Worker — timeout or 503

## How this service works

Market data and agent tools (web-read, email-verify, token-check) for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.

## Output

A JSON object with gas data for Ethereum mainnet and Base: next base fee in gwei, estimated USD cost of an ERC-20 transfer for each network, and the current ETH/USD exchange rate used for calculations.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": {
   "est_cost_usd": {
    "erc20_transfer": 0.0012
   },
   "next_base_fee_gwei": 0.005
  },
  "eth_usd": 3720,
  "ethereum": {
   "est_cost_usd": {
    "erc20_transfer": 0.24
   },
   "next_base_fee_gwei": 0.97
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orchard-data-gas-price-feed-646a1843/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orchard-data.letom1176.workers.dev](https://www.zero.xyz/host/orchard-data.letom1176.workers.dev/llms.txt)
