Skip to main content
Glama

Token price

token_price
Read-only

Get a token's current USD price on Base, Ethereum or Solana, read from its deepest on-chain pool (Uniswap v3 against USDC or WETH; on Solana, Orca Whirlpools against USDC or SOL) rather than a price API. Returns the pool used, how much liquidity backs the price, and a flag when the pool is too thin to trust.

$0.001 USDC per call over x402. Failed calls cost nothing. Call without payment to get a quote. The first 3 calls a day through this tool server are free (no wallet needed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNo"base" (default), "ethereum" or "solana".
tokenYesERC-20 contract or SPL mint to price ("SOL" works on Solana).
paymentNoBase64 x402 payment payload. Omit it to receive a quote; sign that and call again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"\"base\" (default) or \"ethereum\"."New value: +"\"base\" (default), \"ethereum\" or \"solana\"."
    • changedInput schema / properties / chain / enum
      Previous value: -[
      -  "base",
      -  "ethereum"
      -]New value: +[
      +  "base",
      +  "ethereum",
      +  "solana"
      +]
    • changedInput schema / properties / token / description
      Previous value: -"ERC-20 contract address to price."New value: +"ERC-20 contract or SPL mint to price (\"SOL\" works on Solana)."
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.