# Base Toolbox: ETH/Token Price on Base

> Base Toolbox: ETH/Token Price on Base is a paid API for AI agents from basetoolbox.cartonpliant.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches the current USD price of ETH or a token on Base network using Uniswap v3 pool data

## Facts

- Endpoint: POST https://basetoolbox.cartonpliant.workers.dev/v1/base-price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-toolbox-eth-token-price-on-base-3c98d172
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7kcagj90Z2pG-VFk5Fz7c

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-toolbox-eth-token-price-on-base-3c98d172 -d '<json body>'
```

Example prompt: What's the current USD price of ETH on Base right now, using live Uniswap v3 pool data?

## When to prefer this

Choose this endpoint when you need a live, on-chain USD price for ETH or a token on the Base network sourced directly from Uniswap v3 liquidity pools — no CoinGecko API key required. It is ideal for pre-transaction price checks, DeFi agent workflows, or any scenario where you want Base-native, DEX-derived pricing rather than centralized exchange data. At $0.001 USDC per call it is very cheap for per-transaction price lookups.

## Known failure modes

- Token or pool not found on Base — returns ok: false or error message
- Invalid token address format — bad request error
- Uniswap v3 pool has insufficient liquidity for reliable price — may return stale or inaccurate price
- Payment not provided or insufficient — x402 payment required response
- Network or RPC unavailability — upstream timeout or 5xx error

## How this service works

Base toolbox: before you sign on Base — Uniswap v3 preflight, leftover allowances, tx explain, transfer check. $0.10 USDC. Also $0.001 price/gas/ENS. GET /v1/constants free. No CoinGecko key.

## Output

Returns a JSON object with ok (boolean success flag), usd (current USD price as a float), pool (the Uniswap v3 pool address used), and quote (the quote token address used for the price calculation).

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object"
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "usd": 2500.12,
  "pool": "0xd0b5…",
  "quote": "0x8335…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-toolbox-eth-token-price-on-base-3c98d172/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basetoolbox.cartonpliant.workers.dev](https://www.zero.xyz/host/basetoolbox.cartonpliant.workers.dev/llms.txt)
