Assets
Last updated
Last updated
GET /api/v1/assets
This endpoint returns the USD price for a given token or a comma-separated list of asset IDs. The asset_ids
parameter is required and should be a string in the format <TOKEN_CONTRACT_ADDRESS>:<NETWORK_ID>
. The TOKEN_CONTRACT_ADDRESS
is the address of the token contract on the specified network, and the NETWORK_ID
is the ID of the network the token is on. See for more info.
asset_ids
(required): A comma-separated string in the format <TOKEN_CONTRACT_ADDRESS>:<NETWORK_ID>
that identifies the tokens to look up.
x-api-key (required): A valid API key.
200
: Success. Returns the USD price for the given token.
400
: Bad Request. The asset_ids
query string parameter is not provided.
403: Forbidden. The x-api-key header is not provided or is invalid.