The Change API
Exchange rate
The exchange rate for the requested pair is returned
get
https://api.thechange.ltd/exchange/rate
Header
Field | Type | Description |
---|---|---|
X-API-KEY | String | Your API key |
Query parameters
Field | Type | Description |
---|---|---|
send | String | Ticker of currency to send |
receive | String | Ticker of currency to receive |
amount | Float | Amount to send |
sendNetwork optional | String | Ticker of network to send. Default network will be selected if omitted |
receiveNetwork optional | String | Ticker of network to receive. Default network will be selected if omitted |
amountType optional | String | Set this parameter as "receive" if you want to specify as "amount" the receive amount |
Successful response
HTTP/1.1 200 OK
{
"rate": "0.08195835",
"sendAmount": "0.1",
"receiveAmount": "0.00819083",
"networkFee": "0.000005",
"confirmations": 1,
"processingTime": "3-5"
}