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
result object
decimals number
price number
timestamp number
symbol string
confidence number
priceInAmount number
500

Unable to fullfil request due to internal server error.

Schema
message string