Get Token Price
| Time | Status | User Agent | |
|---|---|---|---|
| Make a request to see history. |
URL Expired
The URL for this request expired after 30 days.
Supported Protocols & Networks
| Protocol | Network |
|---|---|
| Ethereum | Mainnet |
| Bitcoin | Mainnet |
| Polkadot | Mainnet |
| Polygon | Mainnet |
| Solana | Mainnet |
chain_id
string
required
A unique numeric identifier for each network. For example, eip155:1 for Ethereum (ETH) and eip155:137 for Polygon (MATIC).
Refer to ChainList.org for a list of EVM networks.
addresses
array of strings
An array of token addresses you want pricing data for. The 0x0000000000000000000000000000000000000000 address represents the native coin on the given chain, ETH on Ethereum Mainnet or MATIC on Polygon Mainnet.
You can use the address from the GET Tokens endpoint to get the price for a particular token.
addresses ADD string
units
array of strings
An array of quotes for the currency. For example, USD or EUR.
units ADD string
``200 OK
``401 Invalid or expired token
``429 Rate limit exceeded
``500 An internal server error happened
``503 The resource you are trying to access is currently unavailable
Updated2 months ago
ShellGoJavaScriptPythonNode
xxxxxxxxxx
curl --request POST \
--url https://svc.blockdaemon.com/pricing/v1/quotes/chain_id \
--header 'accept: application/json' \
--header 'authorization: Bearer ••••' \
--header 'content-type: application/json'
Click Try It! to start a request and see the response here! Or choose an example:
application/json
200401429500``503
Updated2 months ago