tokens
Get token price
Get price in USD for given token(s)
get/v1/tokens/price
Request
- Base URL: https://insight.thirdweb.com
- URL: https://insight.thirdweb.com/v1/tokens/price
- Auth: API key in header x-client-id
Query parameters
chainnumber[]
Use chain_id instead
[ 20, 56, 1 ]
chain_idnumber[]
The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., ?chain_id=20&chain_id=56. Optional, because a single chain can as well be specified as a subdomain
[ 20, 56, 1 ]
[ "vitalik.eth" ]
timestampinteger
Timestamp in seconds or milliseconds
include_historical_prices'true' | 'false'
Whether to include historical token prices
Example:true
include_holders'true' | 'false'
Whether to include the number of holders
Example:true
Response
Successful response
Example response
{
"data": [
{
"chain_id": 1,
"address": "vitalik.eth"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.