# Coinlight Base Gas Price

> Coinlight Base Gas Price is a paid API for AI agents from coinlight-app.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-29).

Returns the current Base network gas price and latest block number in wei and gwei, along with estimated costs for ETH and ERC-20 transfers.

## Facts

- Endpoint: GET https://coinlight-app.vercel.app/p/base-gas?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinlight-base-gas-price-fba52d3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PnIb_hGDvyaW8-ImMfgp_

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 coinlight-base-gas-price-fba52d3b
```

Example prompt: What's the current gas price on Base right now — give me the gwei price and tell me how much a plain ETH transfer and an ERC-20 transfer would cost?

## When to prefer this

Choose this endpoint when you need real-time Base L2 gas fee data including both unit prices and practical transfer cost estimates in a single call, without needing to query an RPC node directly or do unit conversion yourself.

## Known failure modes

- Base RPC node unavailable — returns error or stale data
- Network congestion causing momentary data lag
- Rate limiting if called too frequently
- Response may be slightly stale during rapid block production

## How this service works

Coinlight charges USDC per API call with the x402 protocol on Solana and Base.

## Output

A JSON object containing the current Base network gas price in both wei and gwei, the latest block number, and estimated transaction costs for a plain ETH transfer and an ERC-20 token transfer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "examples": {
   "type": "string"
  },
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "endpoint": "Base gas price"
 }
}
```

## More

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