price_history
Recent price MOVEMENT of a crypto token over the last N days: price path, high/low, net change, range, how many intervals moved down, biggest drawdown, and a sparkline. Use for 'how has X moved / dipped / done over the last N days' — movement OVER TIME, not just current price. Works for listed coins (by name/ticker) AND brand-new DEX memecoins (pass the CONTRACT address + chain). If the token is younger than N days it PIVOTS to full since-launch history instead of failing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | how many days back (default 2) | |
| chain | No | chain for a contract address (bsc, ethereum, base, solana, robinhood, etc.) | |
| query | Yes | token name/ticker, OR a contract address for a DEX memecoin |