Base token price (Chainlink Data Feeds + Uniswap V3, on-chain)
token_price[PAID — 0.003 USDC on Base via x402] Base token price read live from on-chain state, not a resold price-API feed. Curated majors (ETH, WETH, USDC, DAI, cbETH, cbBTC, BTC) are priced from Chainlink's own Data Feed aggregator contracts on Base; any other Base ERC-20 address is priced from its deepest discoverable Uniswap V3 pool against USDC, with a real on-chain liquidity read and a low-liquidity flag (or a clean unsupported-token error if no pool is discoverable — never a fabricated price). Also accepts coins (comma-separated batch of symbols/addresses, up to 10 — the same param name the category leader uses) returning a leader-compatible prices[]/asOf/count/unresolved shape. Cached 5min per query. $0.003 USDC on Base, paid via x402 by the calling agent's own wallet. Call with no payment_header first to receive the payment requirements; your own wallet pays, never this server's.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coins | No | Comma-separated batch of symbols and/or 0x addresses, up to 10 (e.g. 'BTC,ETH,0x...'). Mutually exclusive with symbol/address. | |
| quote | No | Quote currency, default USD. | |
| symbol | No | Curated major token symbol: ETH, WETH, USDC, DAI, CBETH, CBBTC, or BTC. Mutually exclusive with address/coins. | |
| address | No | Any Base ERC-20 contract address (0x...), priced from its deepest live Uniswap V3 USDC pool. Mutually exclusive with symbol/coins. | |
| payment_header | No | Optional. Omit on your first call to receive the x402 payment challenge for free. After your own wallet/x402 client signs against that challenge, call this same tool again with the SAME business arguments plus this field set to the header your x402 client produced (typically { name: "PAYMENT-SIGNATURE", value: "<base64 payload>" }). This server never holds a wallet and never pays on your behalf. |