getHistoricalTickerByContract
Get historical price and market data for a token by its contract address. Specify platform ID, contract address, start date, and optional parameters for time range, interval, and quote currency.
Instructions
Get a token's price and market history by its contract address, as a time series. Use for 'token price on 2024-01-01 by address', 'hourly history for a contract'. For its current price use getTickerByContract; by coin id use getTickersHistoricalById. Read-only. Params: platformId (required) chain id like 'eth-ethereum'; contractAddress (required) token address; start (required) and end (optional, default now) accept 'yyyy-mm-dd' or ISO 8601; interval (optional, default '5m'); quote (optional, default 'usd'); limit (optional, default 50, max 250) caps points. Requires a Starter+ plan (COINPAPRIKA_API_KEY).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End date | |
| limit | No | Number of data points (default: 50, max: 250) | |
| quote | No | Quote currency (default: usd) | usd |
| start | Yes | Start date (ISO 8601 or yyyy-mm-dd) | |
| interval | No | Interval (default: 5m) | 5m |
| platformId | Yes | Platform ID (e.g., eth-ethereum) | |
| contractAddress | Yes | Contract address |