# x402 Base Tools – ERC-20 Token Price on Base

> x402 Base Tools – ERC-20 Token Price on Base is a paid API for AI agents from wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Returns the current USD price of any ERC-20 token on Base by reading Uniswap v3 and Aerodrome pool depths against USDC and WETH (with ETH/USD from Chainlink), flagging thin markets.

## Facts

- Endpoint: GET https://wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws/v1/price?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-base-tools-erc-20-token-price-on-base-d79e1157
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ETXmwSEyUWddG1qHXgTb

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 x402-base-tools-erc-20-token-price-on-base-d79e1157
```

Example prompt: What's the current USD price of AERO on Base — and is there enough liquidity in the pool to trust that price?

## When to prefer this

Use this endpoint when you need a real-time USD price for any ERC-20 token specifically on the Base network, sourced from on-chain DEX pools (Uniswap v3 and Aerodrome) rather than a centralized price feed. It is especially useful when you need per-pool depth data and a low-liquidity flag to assess price reliability — making it better than generic CEX price APIs for on-chain DeFi workflows on Base.

## Known failure modes

- Unknown token symbol or unrecognized address returns an error or empty result
- Token exists but has no Uniswap v3 or Aerodrome pool — no price available
- Very low liquidity pools return a price but set low_liquidity: true
- Stale or manipulated thin pool may produce an unreliable price
- Network or Lambda timeout causes a 5xx error
- Malformed token address input causes a validation error

## How this service works

Base mainnet data for agents, read live from the chain and paid per call in USDC: gas prices and costs, token prices from Uniswap and Aerodrome pools, balances, token info, transaction decoding, x402 payment checks, EIP-3009 authorization status, Basenames and address profiles. Lookups of things that do not exist are not charged.

## Output

Returns a JSON object with token metadata (symbol, address, decimals), the winning DEX source (pool address, quote asset, depth in USD), the current USD price as a float, and a boolean low_liquidity flag indicating whether the market is too thin to be reliable.

## 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": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "token"
     ],
     "properties": {
      "token": {
       "type": "string",
       "description": "token address, or a symbol: ETH, WETH, USDC, CBBTC, AERO, DAI, USDT, DEGEN, BRETT, VIRTUAL, CBETH, WSTETH, EURC"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "token": {},
      "source": {},
      "price_usd": {},
      "low_liquidity": {}
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "token": {
   "symbol": "AERO",
   "address": "0x9401...",
   "decimals": 18
  },
  "source": {
   "dex": "aerodrome",
   "pool": "0x...",
   "quote": "USDC",
   "depth_usd": 5000000
  },
  "price_usd": 0.83,
  "low_liquidity": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-base-tools-erc-20-token-price-on-base-d79e1157/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws](https://www.zero.xyz/host/wt7tysfcmjm8fpzl.68r.lambda-web.us-east-1.on.aws/llms.txt)
