Get token price history
Changed onGet historical price data for a specific token.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Blockchain chain identifier. Use the chain slug (e.g., 'ethereum', 'polygon', 'arbitrum', 'optimism', 'base')
The blockchain on which to filter the results
The contract address of the token
Query parameters
Start time for the price history window (ISO 8601)
End time for the price history window (ISO 8601, defaults to now)
Candle bucket size for aggregation (1s, 1m, 5m, 15m, 1h, 4h, 1d)
Response
OK
Example response
{
"prices": [
{
"usd_price": "1.0"
}
]
}Changes
- breaking
removed the enum value
b3from thepathrequest parameterchain - breaking
removed the enum value
blastfrom thepathrequest parameterchain - info
added the new enum value
stablechainto thepathrequest parameterchain - info
added the media type
*/*for the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking