# Delx Base Gas

> Delx Base Gas is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns a real-time snapshot of Ethereum Base network gas price, base fee, and priority fee via live JSON-RPC for $0.001 USDC.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base-gas
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-base-gas-959f3066
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0u-tB8GScc9rzodv7c8EE

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 delx-base-gas-959f3066 -d '<json body>'
```

Example prompt: What are the current gas fees on the Base network right now — base fee, priority fee, and overall gas price?

## When to prefer this

Choose this endpoint when you need a real-time, low-latency gas fee snapshot specifically for the Base (Coinbase L2) network and want a simple pay-per-call model at $0.001 USDC without managing your own RPC infrastructure or API keys.

## Known failure modes

- RPC node unavailable or timeout — returns 503 or error payload
- Payment not processed (x402 payment required) — returns 402 Payment Required
- Malformed request body — returns 400 with validation error
- Base network congestion causing stale or delayed RPC response

## How this service works

Look up Base gas price, base fee, and priority fee for $0.001 USDC. Call when you need a live fee snapshot before sending a transaction—not a gas estimator that executes a call and not financial advice. Returns JSON-RPC fee fields via x402. No API key, no subscription.

## Output

Returns a JSON object containing the current gas price, EIP-1559 base fee, and priority fee (tip) on the Base L2 network, along with the latest block number and timestamp at time of query, sourced directly via live JSON-RPC.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "tool_name",
      "result"
     ],
     "properties": {
      "result": {
       "type": "object",
       "additionalProperties": true
      },
      "tool_name": {
       "type": "string",
       "const": "get_base_gas"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "tool_name": "get_base_gas"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base-gas-959f3066/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
