Search Historical Prices - Wallet & Data API
Search Historical Prices - Retrieve historical price data for multiple cryptocurrency and token symbols for specified timestamps.
Search Historical Prices - [Value: 367CU]
Search historical prices for supported tokens over a specified time range
POST https://lb.drpc.live/lambda/{key}/v1/tokens/prices/search
Use cases
- Fetch historical prices for one or more tokens
- Analyze token price trends over time
Constraints
- Only supported tokens are returned
- Data availability may vary by token and time range
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key
Language
Request
Examples
curl --request POST \
--url https://lb.drpc.live/lambda/{key}/v1/tokens/prices/search \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--data '{}'Response
200
{
"data": {
"additionalProp": [
{
"price": 0,
"timestamp": "string"
}
]
}
}Path params
keystring
[Required] Your dRPC API key
Query params
Request params
array of objects
symbolsarray
[Required] List of token symbols to query
timestampsarray_of_integers
List of timestamps in seconds or milliseconds
Response
200
Response params
object
dataarray_of_objects
[Required] Price history per token
object
timestampstring
Timestamp of price point
pricenumber
Price value