Token USD Price
token_priceUse for a verifiable USD price and 24h change of a token (symbol, 0x address, or Solana mint). Not a rug, honeypot, or safety report — use rug_check for the full 0-100 safety report or honeypot_check for sellability. $0.001 per call via x402 on GET /price?token=. No free daily check. If a symbol or 0x address exists on more than one chain, pass chain (ethereum, base, arbitrum, polygon, solana); Solana mints use solana. Unknown or unpriced tokens return an error and are not charged. Invalid or failed calls are not charged. With no payment, the tool returns error=payment_required and the x402 Payment Required challenge for the HTTP route; pay that USDC amount, then retry the URL.
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": {
"token": "<token>"
},
"name": "token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | optional: ethereum, base, arbitrum, polygon, solana. Pass it when the identifier exists on more than one chain; Solana mints use solana | |
| token | Yes | Symbol, 0x address or Solana mint |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | ||
| error | No | payment_required, bad_input, or a failure code | |
| token | No | ||
| message | No | ||
| payWith | No | x402 payment requirement for the HTTP route, plus credit-key instructions when those apply | |
| priceUsd | No | USDC price to pay when error is payment_required | |
| refunded | No | true when a credit was taken and then returned because the call failed | |
| change24hPct | No |