The Change API
Orders list
Get the list of created orders
get
https://api.thechange.ltd/orders
Header
Field | Type | Description |
---|---|---|
X-API-KEY | String | Your API key |
Query parameters
Field | Type | Description |
---|---|---|
status optional | String | If the status is not set, details for all orders will be returned |
Successful response
HTTP/1.1 200 OK
[
{
"id": "S0Rr3fV3aWEv",
"send": "BTC",
"receive": "ETH",
"sendNetwork": "BTC",
"receiveNetwork": "ETH",
"sendAmount": "0.15",
"receiveAmount": "4.0506936",
"estimatedSendAmount": "0.15",
"estimatedReceiveAmount": "4.0506936",
"sendAddress": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"sendTag": null,
"receiveAddress": "0x0000000000000000000000000000000000000000",
"receiveTag": null,
"status": "Awaiting Deposit",
"hashIn": null,
"hashOut": null,
"networkFee": "0",
"earned": "0",
"createdAt": 1643036313520,
"updatedAt": 1643036313520
},
{
...
}
]