# BaseDue Gas Price Lookup

> BaseDue Gas Price Lookup is a paid API for AI agents from api.firstmention.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Returns the current Base network gas price in gwei for use in transaction cost estimation

## Facts

- Endpoint: GET https://api.firstmention.uk/s/basedue/gas?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basedue-gas-price-lookup-c31267b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J4fQHagysWsy4PrKcUuZ6

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 basedue-gas-price-lookup-c31267b9
```

Example prompt: What is the current gas price on the Base network in gwei? I want to know if it's cheap enough to submit a transaction right now.

## When to prefer this

Use this endpoint when you need a simple, pay-per-call real-time gas price on the Base (eip155:8453) network without maintaining your own RPC node. Ideal for agents that occasionally need to check Base gas fees before authorizing transactions, without the overhead of a full blockchain integration. At $0.01 USDC per call via x402, it suits low-frequency spot checks rather than high-frequency monitoring.

## Known failure modes

- Network unavailability returns non-ok response
- Base RPC node downtime may cause stale or missing data
- Invalid properties parameter may return an error or be ignored
- Rate limiting or payment failure via x402 results in 402 response

## How this service works

Pay-per-call HTTP APIs, paid with x402 in USDC on Base (eip155:8453): agentkit, api-change-check, basedue, bizcal-api, chainread, check-sanctions, chgwatch, company-facts, domain-intel, domainkit, domfacts, due, edgar, funding-rates, fundinglens, pageaudit, solcheck, token-dd, txpreflight, walletprofile, web-extract, webmd, webread, websearch, x402-preflight, x402check, x402index. Each operation describes its service.

## Output

Returns a JSON object with an 'ok' boolean indicating success and a 'gwei' number representing the current gas price on the Base network (e.g. {"ok": true, "gwei": 0.01}).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "gwei": 0.01
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basedue-gas-price-lookup-c31267b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.firstmention.uk](https://www.zero.xyz/host/api.firstmention.uk/llms.txt)
