# Base Network Real-Time Gas Price Oracle

> Base Network Real-Time Gas Price Oracle is a paid API for AI agents from audit-site-web.pga-agent.fr, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Returns current gas prices, transaction cost estimates, and ETH price for the Base L2 blockchain network

## Facts

- Endpoint: GET https://audit-site-web.pga-agent.fr/api/base-gas-now?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-network-real-time-gas-price-oracle-c9e45269
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h-lZ5n87MlTXYUAji-Max

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 base-network-real-time-gas-price-oracle-c9e45269
```

Example prompt: What are the current gas fees on Base right now — give me the cost in USD for a standard ETH transfer and an ERC-20 transfer, including L1 data fees?

## When to prefer this

Choose this endpoint when you need real-time, combined gas fee and ETH price data specifically for the Base L2 network in a single call. It provides both L2 execution fees and L1 data fees (via GasPriceOracle), saving you from making multiple separate RPC calls. Prefer this over raw RPC calls when you want pre-calculated USD cost estimates for common transaction types (ETH transfer, ERC-20 transfer) without building the calculation logic yourself.

## Known failure modes

- Base RPC node unavailable — may return stale or error response
- GeckoTerminal/CoinGecko price feed down — ETH price may be missing or outdated
- Network congestion causing delayed block data
- Payment of 0.003 USDC required via x402 protocol — missing or invalid payment header returns 402
- Transient JSON-RPC errors for eth_feeHistory or GasPriceOracle calls

## How this service works

Le contrôle technique de votre site vitrine : 20 points vérifiés (SEO Google, vitesse, accessibilité), rapport clair et plan d&#x27;action sous 24 h. 19 € TTC.

## Output

A JSON object containing: chain ID (8453 for Base), current block number, base fee in gwei, ETH price in USD, priority fee tiers (low/medium/high in gwei), ETH transfer cost breakdown (gas units, total ETH, total USD, L1 fee, L2 fee), ERC-20 transfer cost breakdown, L1 fee oracle estimates for sample transaction sizes, and metadata about data sources (Base JSON-RPC and GeckoTerminal) with fetch timestamps.

## 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": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE",
      "POST",
      "PUT",
      "PATCH"
     ]
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "l1_fee": {
   "note": "GasPriceOracle getL1Fee on sample transactions of 110 and 175 bytes",
   "eth_transfer_usd": 0.00000181838,
   "eth_transfer_wei": 675169071,
   "erc20_transfer_usd": 0.00000274775,
   "erc20_transfer_wei": 1020245539
  },
  "sources": [
   {
    "name": "Base JSON-RPC (eth_getBlockByNumber, eth_feeHistory, GasPriceOracle, eth_estimateGas)",
    "fetched_at": "2026-10-04T01:09:25Z"
   },
   {
    "name": "GeckoTerminal WETH price on Base (Powered by CoinGecko)",
    "fetched_at": "2026-10-04T01:09:25Z"
   }
  ],
  "chain_id": 8453,
  "cost_note": "estimated at the base fee of the latest block plus the observed median tip; L2 fee plus L1 data fee",
  "disclaimer": "information, not investment advice",
  "block_number": 52143409,
  "base_fee_gwei": 0.005,
  "eth_price_usd": 2693.225,
  "eth_transfer_cost": {
   "gas_units": 21000,
   "total_eth": 1.26715e-7,
   "total_usd": 0.000341273,
   "l1_fee_eth": 6.75169e-10,
   "l2_fee_eth": 1.2604e-7
  },
  "priority_fee_gwei": {
   "low": 0.0000125,
   "high": 0.0039007,
   "medium": 0.00100192
  },
  "erc20_transfer_cost": {
   "gas_units": 62736,
   "total_eth": 3.77556e-7,
   "total_usd": 0.00101684,
   "l1_fee_eth": 1.02025e-9,
   "l2_fee_eth": 3.76536e-7
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-network-real-time-gas-price-oracle-c9e45269/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from audit-site-web.pga-agent.fr](https://www.zero.xyz/host/audit-site-web.pga-agent.fr/llms.txt)
