Get Token Price
This endpoint returns a Price for a list of tokens at a given timestamp. Supported chains: ethereum
, polygon
, optimism
, arbitrum
, canto
, base
, avalanche
.
Parameters
Parameter | Description | Type |
---|---|---|
chain_id | A keyword (i.e. "ethereum") specifying the blockchain to query. Defaults to ethereum . |
string |
token_addresses | required The contract addresses (limit 25) of the token to filter results by (supports ENS names). | array of strings |
timestamp | required The timestamp to fetch the token price at (in ISO-8601 format ex. YYYY-MM-DDTHH:MM:SS ). |
date-time |
curl -X GET \
'https://api.transpose.io/prices/price?chain_id=ethereum' \
-H 'X-API-KEY: BtRVYj7dgnYUcr1gSSfWhmrTShIb8RBG' \
Got questions? Join our Discord
Discord is the primary home of the Transpose developer community. Join us to ask questions, share your work, and get help.