Skip to main content

price

price

Path Parameters
network integer REQUIRED

Network id.

Query Parameters
amount number

Amount of tokens you want to get the price for in USD.

address string

The erc20 address you want to get the price for. If nothing is passed, the API will return the native token price.

Responses
200

Get price for the native token or any erc20 on the network.

Schema OPTIONAL
result object OPTIONAL
decimals number OPTIONAL
price number OPTIONAL
timestamp number OPTIONAL
symbol string OPTIONAL
confidence number OPTIONAL
priceInAmount number OPTIONAL
500

Unable to fullfil request due to internal server error.

Schema OPTIONAL
message string OPTIONAL