# FiatDock Base Gas Price

> FiatDock Base Gas Price is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current gas price on the Base network in wei and gwei

## Facts

- Endpoint: POST https://fiatdock.com/v1/chain/gas-price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-base-gas-price-5e1f2e03
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3-j2_aObX6d0f6plQE6W8

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 fiatdock-base-gas-price-5e1f2e03 -d '<json body>'
```

Example prompt: What's the current gas price on Base right now — give me both the gwei and wei values?

## When to prefer this

Choose this endpoint when you need a cheap, real-time read of the current Base network gas price without running your own RPC node. It is ideal for pre-flight transaction cost estimation, gas monitoring workflows, or any agent that needs to gate actions on current Base gas conditions. At $0.001 USDC per call it is cost-effective for frequent polling. Prefer this over general Ethereum gas APIs when you specifically need Base L2 gas data.

## Known failure modes

- Network connectivity issues may return a 503 or timeout
- RPC node unavailability may cause stale or missing data
- Payment failure via x402 protocol returns 402 if USDC balance is insufficient
- Malformed request body may return 400

## How this service works

Base gas price — current wei/gwei. Cheap read-only chain primitive. Pay-per-call via x402.

## Output

Returns a JSON object with the current Base network gas price including: timestamp of the reading (asOf), gas price in gwei (e.g. 0.006), the network identifier ('base'), and the raw wei-per-gas value as a string (e.g. '6000000').

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-07-30T00:00:00.000Z",
  "gwei": 0.006,
  "network": "base",
  "weiPerGas": "6000000"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-base-gas-price-5e1f2e03/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
