Get Crypto Historical Prices
get_crypto_historyReturns historical daily closing prices for any supported cryptocurrency over 30, 90, or 365 days. Use for trend analysis, drawdown calculation, or training data. Source: CoinGecko. Price: $0.15 USDC per call via x402 (Base or Solana).
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": {
"coin": "<coin>",
"days": "<days>"
},
"name": "get_crypto_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Crypto symbol, e.g. BTC | |
| days | Yes | Days of daily price history |