Skip to main content
GET
Get token USD price

Authorizations

Authorization
string
header
required

Use the docs sandbox API key for authentication: hydric_docs_4N4ocuirsN8Sh

Path Parameters

chainId
enum<number>
required

The numeric ID of the blockchain where the token resides.

Available options:
1,
143,
130,
999,
8453,
9745,
534352
Example:

1

tokenAddress
string
required

The Token contract address.

Example:

"0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"

Response

The requested token USD price.

Response object containing the current price of the requested token.

price
number
required

The current price of the token.

Example:

2543.21