Price
This API is for getting ghosty exchange price quotes.
GET
/price
Get the price for swapping from one currency to another for a given amount.
Params
Name
Type
Description
amount_from
*
number
Amount to swap from
currency_from
*
string
Currency symbol to swap from
currency_to
*
string
Currency symbol to swap to
is_anonym
boolean
Anonymous transaction flag
fixed
boolean
True for fixed rate, False for Float rate
Response
{
"code": 200,
"message": "success",
"data": {
"amount_from": 1,
"amount_to": 19.252289963377326,
"min_amount": 0.0008099332291520209,
"max_amount": 6734.719414969767
}
}
Last updated