# OpenRelay Base Gas

> OpenRelay Base Gas is a paid API for AI agents from openrelay.hggfffdfy687.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns current Base mainnet gas prices across slow, standard, and fast tiers in gwei

## Facts

- Endpoint: POST https://openrelay.hggfffdfy687.workers.dev/tools/base/gas
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openrelay-base-gas-cc310de5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-JJtKteg1Ue3fTcZNdsSz

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 openrelay-base-gas-cc310de5 -d '<json body>'
```

Example prompt: What are the current slow, standard, and fast gas prices on Base mainnet right now in gwei?

## When to prefer this

Choose this endpoint when you need real-time Base mainnet gas price tiers (slow/standard/fast) in gwei without running your own RPC node. It is ideal for AI agents or automated scripts that need lightweight, pay-per-use gas lookups before submitting transactions on Base, avoiding the overhead of managing a full node or subscribing to a gas oracle service.

## Known failure modes

- Network or RPC unavailability may return a 5xx error or empty response
- Invalid or malformed request body returns a 400 error
- Base mainnet RPC outage may cause stale or missing gas data
- Payment failure (insufficient USDC) results in 402 Payment Required

## How this service works

Current Base mainnet gas price with slow/standard/fast tiers in gwei.

## Output

A JSON response containing current Base mainnet gas prices broken down into slow, standard, and fast tiers expressed in gwei, enabling callers to select an appropriate fee tier for their on-chain transactions.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openrelay-base-gas-cc310de5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from openrelay.hggfffdfy687.workers.dev](https://www.zero.xyz/host/openrelay.hggfffdfy687.workers.dev/llms.txt)
