get token price by symbol
GET/v2/prices/:symbol
get token price by symbol
Request
Path Parameters
symbol stringrequired
token symbol, supported only: ron, wron, eth, weth, usd
Query Parameters
timestamp number
to request price at timestamp, in unix seconds
vs_currencies string
specify interested currencies only, otherwise, all currencies are returned
Responses
- 200
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
result
object
property name*
object
fiat string
price number
{
"result": {}
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
errorCode integer
message string
{
"errorCode": 0,
"message": "string"
}
Loading...