Get Exchange Rate by Contract

/v4/data/rate/contract

20 credit per API call

Get the current exchange rate by chain & contract address.

By default, the base pair (the target asset) is EUR. When obtaining the exchange rate for an contract address for chain (for example, 0xdAC17F958D2ee523a2206206994597C13D831ec7 on ethereum-mainnet), the value returned by the API expresses the amount of EUR that can be currently exchanged into 1 0xdAC17F958D2ee523a2206206994597C13D831ec7 (USDT).

Query Params
string
enum
required

The blockchain to work with.

string
required

The blockchain contract address of the smart contract.

string
enum
Defaults to EUR

The target fiat asset to get the exchange rate for

Responses

403

Forbidden. The request is authenticated, but it is not possible to required perform operation due to logical error or invalid permissions.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json