# UnlockBot Gas Fee Oracle

> UnlockBot Gas Fee Oracle is a paid API for AI agents from 8prtkj444ihx.hostc.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-30).

Returns current and forecasted gas prices (base fee, transfer costs, block utilization) for Ethereum, Base, or Arbitrum chains

## Facts

- Endpoint: GET https://8prtkj444ihx.hostc.app/gas?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/unlockbot-gas-fee-oracle-0b5f3dc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YD_fB6BdDfiH0Q6_mkM21

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 unlockbot-gas-fee-oracle-0b5f3dc6
```

Example prompt: What's the current gas situation on Ethereum — is the base fee trending up or down, and how much would a typical ERC20 transfer cost right now?

## When to prefer this

Choose this endpoint when you need real-time gas fee data for EVM chains (Ethereum, Base, Arbitrum) without signing up for an API key — ideal for AI agents doing pre-trade checks, cost estimation, or gas monitoring in a pay-per-call model. Prefer this over free public RPC calls when you need structured, pre-computed cost estimates (swap, ERC20 transfer, ETH transfer) and a trend/forecast rather than raw gas values.

## Known failure modes

- Invalid chain parameter returns an error — only 'ethereum', 'base', or 'arbitrum' are supported
- Payment failure (non-200 response) means no charge is incurred but no data is returned
- Network-level data may be slightly delayed if the underlying RPC node is lagging
- Partial data flag ('partial: true') may appear if some block data was unavailable

## How this service works

Pay-per-call crypto risk data for AI agents over x402: pre-trade checks, token safety / honeypot screening, whale exchange flows, token unlock risk, wallet profiles. No API key, no signup: pay a few cents of USDC per call. Payment: x402 v2 exact scheme, USDC on Base mainnet (eip155:8453) to 0x21e4F3c6EcDb0F0CADC59511BF675B9BcBbeD304. Charged only on HTTP 200.

## Output

Returns a JSON object with the current base fee average (gwei), forecasted next base fee, gas trend (stable/rising/falling), block utilization percentage, estimated ETH costs for common operation types (21k ETH transfer, 65k ERC20 transfer, 180k swap), a human-readable forecast for upcoming blocks, and the chain queried.

## 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": [
        "ethereum",
        "base",
        "arbitrum"
       ],
       "type": "string",
       "default": "ethereum",
       "description": "Chain"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "note": null,
   "unit": "gwei",
   "chain": "ethereum",
   "trend": "stable",
   "partial": false,
   "suggested": {},
   "next_base_fee": 0.0661,
   "transfer_cost_eth": {
    "swap_180k": 0.0000121,
    "eth_transfer_21k": 0.00000141,
    "erc20_transfer_65k": 0.00000436
   },
   "forecast_next_blocks": "base fee likely to increase (blocks >50% full)",
   "block_utilization_pct": 50.3,
   "base_fee_avg_20_blocks": 0.0668
  },
  "endpoint": "/gas"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/unlockbot-gas-fee-oracle-0b5f3dc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 8prtkj444ihx.hostc.app](https://www.zero.xyz/host/8prtkj444ihx.hostc.app/llms.txt)
