Token Price API — USD price for tokens by symbol or contract
token_priceGet the current USD price of a cryptocurrency token by symbol or contract address. Returns price in clean JSON format. Example input: {"symbol": "BTC"}. Uses one call of your free daily calls or prepaid key; x402 clients pay $0.002 per call in USDC. Only successful calls count.
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": "token_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No |