Skip to content

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 The contract addresses (limit 25) of the token to filter results by (supports ENS names). Defaults to 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2. array of strings
timestamp The timestamp to fetch the token price at (in ISO-8601 format ex. YYYY-MM-DDTHH:MM:SS). Defaults to current time. 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.