Token USD price from Uniswap v3 pools

$0.003 per call · failed calls are never charged · no account or API key needed

USD price of any ERC-20 token on Base, Ethereum, Arbitrum or Optimism, computed from the deepest Uniswap v3 pool against USDC or WETH, read live from the chain. Returns the pool, its fee tier, the quote-token reserve and a thin-liquidity flag. Spot price, not a time average. No pool returns 404, uncharged. Use to value a token or check a quote before a swap or payment.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Inputs

NameTypeDescription
address (required)string0x ERC-20 token contract address
chainstringNetwork: base (default), eth, arb or op. One of: base, eth, arb, op.

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/price/token?address=0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/price/token?address=0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.

Example result

{
  "chain": "Base",
  "chainId": 8453,
  "token": {
    "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
    "symbol": "cbBTC",
    "decimals": 8
  },
  "priceUsd": 104250.5,
  "quotedIn": "USDC",
  "pool": {
    "address": "0x…",
    "feeTier": 500,
    "quoteReserve": 2500000.25,
    "quoteReserveUsd": 2500000.25
  },
  "ethUsd": 3850.12,
  "thinLiquidity": false,
  "block": 37000000,
  "method": "Uniswap v3 spot price from the pool with the largest USDC or WETH reserve"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is price_token, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools