Token Price
token_priceUse this when you need the current USD price of one or more crypto tokens. Live USD price, 24h % change, confidence and source timestamp for up to 10 tokens per call: tickers (BTC, ETH, SOL, PEPE), CoinGecko ids (bitcoin) or chain:address on eth, base, arbitrum, optimism, polygon, bsc and solana (base:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913). Batch, cached ~60 s, one fast call. Unknown ids come back as found:false instead of failing the batch. Returns JSON with: ok, data, sources, fetched_at, cache_age_s. Price: $0.005 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/token-price
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | up to 10 comma-separated tickers, CoinGecko ids (or coingecko:<id>) or chain:address (eth|base|arbitrum|optimism|polygon|bsc|solana). Aliases: id, symbols, tokens |