USD prices for up to 20 tokens in one call

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

USD prices for up to 20 ERC-20 tokens on Base, Ethereum, Arbitrum or Optimism in one call, each from its deepest Uniswap v3 pool against USDC or WETH, read live from the chain, with pool, reserve and a thin-liquidity flag. Tokens without a pool are listed under unpriced instead of failing the call. Spot prices, not time averages. Use to value a basket of tokens or refresh a watchlist in one paid call.

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

Inputs

NameTypeDescription
addresses (required)stringComma-separated 0x ERC-20 token addresses (1-20)
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/tokens?addresses=0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf%2C0x4200000000000000000000000000000000000006"

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/price/tokens?addresses=0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf%2C0x4200000000000000000000000000000000000006&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,
  "ethUsd": 3850.12,
  "block": 37000000,
  "prices": [
    {
      "address": "0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf",
      "symbol": "cbBTC",
      "decimals": 8,
      "priceUsd": 104250.5,
      "quotedIn": "USDC",
      "pool": {
        "address": "0x…",
        "feeTier": 500,
        "quoteReserve": 2500000.25,
        "quoteReserveUsd": 2500000.25
      },
      "thinLiquidity": false
    }
  ],
  "unpriced": [
    {
      "address": "0x…",
      "reason": "no Uniswap v3 pool against USDC or WETH"
    }
  ],
  "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_tokens, and the first 25 successful calls are free:

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

Related tools