Price history
price_historyOHLCV candles for a Solana token (by mint, or SOL/BTC/ETH) or a specific pool from GeckoTerminal: minute (1, 5, 15), hour (1, 4, 12) or day candles in USD, oldest first, with a summary — open, close, high and low with their times, % return, % range and total volume. A token is priced in its most-traded pool over 24h (named in the result). For SOL, BTC and ETH, falls back to Coinbase Exchange and then Kraken USD candles when GeckoTerminal is unavailable. Fails (and is not charged) if no source has candles. Costs $0.002 USDC per call.
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": "price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool | No | A specific Solana pool address instead of the token's top pool | |
| limit | No | Candles to return, newest last, 1–500 (default 100) | |
| token | No | Solana token mint address, or SOL, BTC or ETH. Its most-traded pool is used | |
| aggregate | No | Candles per bar: minute 1, 5 or 15; hour 1, 4 or 12; day 1 (default 1) | |
| timeframe | No | Candle timeframe (default hour) |