Skip to main content
Glama

Base token price by address (x402)

USD price of any token on Base by contract address, read live from the deepest Uniswap v3 pool (against USDC or WETH): p

base_token_price
Read-onlyIdempotent

USD price of any token on Base by contract address, read live from the deepest Uniswap v3 pool (against USDC or WETH): price, pool, fee tier, liquidity and the other pools quoted for comparison (token=0x...). For trading, portfolio and risk agents that need a price without a data-vendor key. Pay per call $0.01 USDC on Base via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "base_token_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoERC-20 token address on Base, 0x...
x_paymentNosigned x402 payment (X-PAYMENT header value); omit on the first call to receive the price and payment requirements

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources