# 47620 Base Gas Price API

> 47620 Base Gas Price API is a paid API for AI agents from 47620.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Returns the current Base network gas price in gwei and wei, plus the estimated cost of a standard 21k-gas native ETH transfer.

## Facts

- Endpoint: GET https://47620.xyz/x/base/gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/47620-base-gas-price-api-505eacfc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O77NJ9sGhyKqaWjZXYfCE

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 47620-base-gas-price-api-505eacfc
```

Example prompt: What's the current gas price on Base right now, and how much would a basic ETH transfer cost me in gwei and wei?

## When to prefer this

Choose this endpoint when you need a fast, single-call lookup of Base network gas prices without setting up your own RPC node. Ideal for agents that need to estimate ETH transfer costs on Base before executing transactions, or for monitoring gas fee trends. Prefer this over building direct RPC calls when you want a paid, reliable, low-latency API with a simple JSON response. Not suitable for Ethereum mainnet, Polygon, or Solana gas queries — use the sibling endpoints for those.

## Known failure modes

- Base RPC node unavailable — returns non-ok status or 5xx error
- Payment not processed correctly — 402 response requiring x402 payment
- Rate limiting or quota exceeded — request rejected
- Invalid query parameter values — may return error or be ignored
- Network congestion causing stale data — gas price may lag real-time by seconds

## How this service works

Current base gas price (gwei + wei) and the estimated cost of a 21k native transfer.

## Output

Returns a JSON object with a boolean ok status, the endpoint identifier, and current Base network gas data including gas price in both gwei and wei, plus the estimated total cost (in wei/ETH) of a standard 21,000-gas native token transfer.

## 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": {
      "fields": {
       "type": "string",
       "description": "Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "endpoint"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "endpoint": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

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