Parameters
symbol string Requiredbtc or eth in the path. bitcoin and ethereum work too.
Example: btc
amount number How many coins to price. Fractions are fine. Defaults to 1.
Example: 0.1
Responses
200
OK Success{
"ok": true,
"kind": "crypto",
"coin": "btc",
"currency": "USD",
"price": 84029,
"amount": 0.1,
"total": 8402.9
}400
BAD_REQUEST unknown coin502
BAD_GATEWAY could not load that coin