# Base Token Price Lookup (Uniswap V3 + Aerodrome V2)

> Base Token Price Lookup (Uniswap V3 + Aerodrome V2) is a paid API for AI agents from x402-audit.tatschluizguilherme.workers.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Returns spot USD price, circulating supply, and market cap for up to 30 ERC-20 tokens on Base, computed on-chain from the most liquid DEX pool (Uniswap V3 or Aerodrome V2)

## Facts

- Endpoint: GET https://x402-audit.tatschluizguilherme.workers.dev/price
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base-token-price-lookup-uniswap-v3-aerodrome-v2-3e0b5de0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JxZwoYuIXmRxzne2HRswE

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-token-price-lookup-uniswap-v3-aerodrome-v2-3e0b5de0
```

Example prompt: What are the current USD prices, circulating supplies, and market caps for WETH, USDC, and AERO on Base — pulled directly from the most liquid on-chain DEX pools?

## When to prefer this

Choose this endpoint when you need on-chain, DEX-derived USD prices for Base tokens — especially when you want prices that reflect actual liquidity rather than off-chain oracle feeds. It's ideal for batch pricing of up to 30 tokens in a single call and when you need supply and market cap alongside the spot price. Prefer it over general crypto price APIs when accuracy to on-chain DEX state (Uniswap V3 / Aerodrome V2) is important.

## Known failure modes

- Token has no liquid DEX pool on Base — price cannot be computed
- Token address is invalid or not an ERC-20 on Base
- More than 30 tokens requested — batch limit exceeded
- On-chain RPC call fails or times out
- Payment of 0.1 USDC not provided — x402 payment required error

## How this service works

Pay-per-call on-chain API for AI agents and developers: wallet audits, token safety audits (honeypot detection), live gas prices, token prices, transaction receipts, balances, ENS resolution, block data, ERC-20 allowances, transaction simulation, swap quotes and multicall batches — all computed on-chain via public RPCs (no external market API). Pay per request in USDC on Base via the x402 exact scheme (EIP-3009 transferWithAuthorization). No API key, no signup, no subscription.

## Output

A list of results per requested token, each containing: spot USD price (derived from the most liquid DEX pool on Base), circulating supply, and market cap. The response also indicates which DEX pool (Uniswap V3 or Aerodrome V2) was used to compute the price.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "tokens": [
   {
    "source": "uniswap-v3:500",
    "supply": 50000000000,
    "symbol": "USDC",
    "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
    "priceUsd": 1.0002,
    "marketCapUsd": 50001000000
   }
  ],
  "missing": [],
  "network": "base",
  "requestedAt": "2026-08-04T23:30:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base-token-price-lookup-uniswap-v3-aerodrome-v2-3e0b5de0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-audit.tatschluizguilherme.workers.dev](https://www.zero.xyz/host/x402-audit.tatschluizguilherme.workers.dev/llms.txt)
