Prices
Returns the price of a single asset at a given timestamp, or candidates when the asset ref is ambiguous.
api-key<token>
In: header
Query Parameters
asset.assetId?string
asset.address.chain?string
asset.address.address?string
asset.symbol?string
timestamp?string
Format
date-timesource?string
assetClass?string
Optional filter to narrow symbol resolution to a single asset class.
Response Body
application/json
curl -X GET "https://example.com/api/v2/prices"{ "candidates": { "candidates": [ { "addresses": [ { "address": "string", "chain": "string" } ], "assetClass": "string", "assetId": "string", "marketCap": 0.1, "name": "string", "symbol": "string" } ] }, "price": { "assetId": "string", "price": 0.1, "source": "string", "timestamp": "2019-08-24T14:15:22Z" }}