Base Onchain Tools – Token Price is a paid API for AI agents from base-onchain-tools.dolerite.workers.dev, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-11).
Returns the current USD price of any ERC-20 token on Base mainnet, sourced from live DEX pool data with a safety verdict and liquidity warnings.
Eleven read-only endpoints answering questions about Base mainnet that are tedious to assemble from raw RPC: what an unverified contract is actually able to do, whether a token transfer will revert and for what reason, what an arbitrary token is worth, and whether an address is safe to pay. Priced $0.001-$0.04 per call in USDC over x402. No account, no API key, no signup, no minimum, no rate limit to negotiate — the payTo address in the 402 response is the whole integration. Failed calls are not billed. The payment middleware cancels settlement on any 4xx or 5xx, so a malformed parameter or an upstream outage costs nothing. Answers are read live from Base mainnet at request time, with failover across five independent RPC providers. A batch that comes back incomplete is treated as a failure rather than returned with the missing entries as zeros, because a confident wrong answer costs a caller more than an error does. Scope is deliberately narrow: Base mainnet only, reads only, no keys held, nothing stored between requests.
A JSON object containing the token's symbol, current USD price (price_usd), a verdict ('safe', 'caution', or 'warning'), an array of human-readable warnings (e.g. pool disagreement, thin liquidity), the number of pools found and how many are liquid, and the specific pool used as the price source.
GEThttps://base-onchain-tools.dolerite.workers.dev/v1/base/token-price?utm_source=zero.xyzChoose this endpoint when you need a live, DEX-sourced USD price for any ERC-20 token on Base mainnet with built-in liquidity quality signals and manipulation warnings — especially before executing swaps, valuing portfolio holdings, or assessing unfamiliar tokens. It is preferable to raw RPC calls because it aggregates multiple pools, flags disagreements, and provides a safety verdict rather than a bare number. No API key or account is needed; pay $0.006 USDC per successful call via x402.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"symbol": "AERO",
"verdict": "caution",
"warnings": [
"liquid pool prices disagree by 5.5%; thin or manipulated liquidity"
],
"price_usd": 0.4838,
"pools_found": 8,
"liquid_pools": 7,
"price_source": "uniswap-v3 WETH pool @ 0.3% fee"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"