Retrieve the closest historical token price to a given unix timestamp.
| Parameter | Type | Description |
|---|---|---|
blockchain | string | Blockchain name or ID (e.g., “Solana”, “1” for Ethereum) |
address | string | Token contract address |
timestamp | number | Required. Unix timestamp (seconds) for the point-in-time lookup |
| Field | Type | Description |
|---|---|---|
priceUSD | number | Token price in USD at the closest swap |
timestamp | number | The requested timestamp |
swapTimestamp | number | Actual swap timestamp (ms) used for the price |
poolAddress | string | Pool address where the swap was found |