Token Data
Endpoint
GET /v1/tokens/metadata?tokenId=<TOKEN_ID>
Description
This endpoint returns metadata for a given token or an array of comma-separated tokenIds.
Query String Parameters
tokenId
(required): A string in the format<TOKEN_CONTRACT_ADDRESS>:<NETWORK_ID>
that identifies the token to look up.
Headers
x-api-key (required): A valid API key.
Example
Response
If querying for a single token you will receive a single object.
If querying for a list of tokens you will receive an array of objects.
Response Codes
200
: Success. Returns the USD price for the given token.400
: Bad Request. ThetokenId
query string parameter is not provided.403: Forbidden. The x-api-key header is not provided or is invalid.
404
: Not Found. Thetoken_id
is not found in thetokens
collection.
Last updated