# CRA Agent Gas Fee Forecast

> CRA Agent Gas Fee Forecast is a paid API for AI agents from api.cra-agent.tech, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-17).

Returns current and next-block base fee, 24-hour fee band, utilisation trend, and cost per operation type for Ethereum gas fee forecasting

## Facts

- Endpoint: GET https://api.cra-agent.tech/v1/paid/fees/forecast
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cra-agent-gas-fee-forecast-c2fcd6f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B-HQbD4pgfepR5U2cSdze

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 cra-agent-gas-fee-forecast-c2fcd6f8
```

Example prompt: What are the current Ethereum base fees — give me the current and next-block base fee, the 24-hour high/low band, network utilisation trend, and estimated cost for common operation types like ETH transfers and ERC-20 swaps.

## When to prefer this

Choose this endpoint when you need a comprehensive gas fee forecast in a single call — combining current base fee, next-block prediction, 24-hour band context, utilisation trend, and per-operation cost breakdowns. Prefer over simple gas price APIs when you need historical context (24h band) alongside real-time data, or when you need cost estimates broken down by transaction type rather than a single gas price figure.

## Known failure modes

- Missing or invalid authentication/payment header returns 402 Payment Required
- Network connectivity issues to blockchain node returns 503 Service Unavailable
- Stale data if underlying RPC provider has head lag returns outdated fee values
- Rate limiting if too many requests in quick succession returns 429 Too Many Requests

## How this service works

Base fee now and next block, 24h band, utilisation trend, cost per operation type

## Output

Returns a JSON object containing: current base fee (in gwei or USDC), next block base fee estimate, 24-hour fee band (min/max), network utilisation trend, and cost per operation type (e.g. ETH transfer, ERC-20 transfer, contract interaction).

## 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": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cra-agent-gas-fee-forecast-c2fcd6f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cra-agent.tech](https://www.zero.xyz/host/api.cra-agent.tech/llms.txt)
