Deals
Version: v1
/api/deals
GET
Summary:
Get history of trades for CurrencyPair (100)
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
currencyPairCode | query | currency pair code | No | string |
sinceDate | query | Optional. Example: "2021-02-05T14:00:00" | No | dateTime |
endDate | query | Optional. Example: "2021-02-05T15:00:00" | No | dateTime |
pageNumber | query | No | integer | |
pageSize | query | No | integer |
Responses
Json example:
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dealDateUtc": "2024-08-14T08:44:14.969Z",
"currencyPairCode": "string",
"volume": 0,
"price": 0,
"isBuy": true,
"isUserBuyer": true,
"orderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Code | Description |
---|---|
200 | Success |
/api/user/deals
GET
Summary:
Get history of trades for user per CurrencyPair (100)
Json example:
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dealDateUtc": "2024-08-14T08:44:14.969Z",
"currencyPairCode": "string",
"volume": 0,
"price": 0,
"isBuy": true,
"isUserBuyer": true,
"orderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
currencyPairCode | query | currency pair code | No | string |
sinceDate | query | Optional. Example: "2021-02-05T14:00:00" | No | dateTime |
endDate | query | Optional. Example: "2021-02-05T15:00:00" | No | dateTime |
pageNumber | query | No | integer | |
pageSize | query | No | integer | |
API-PublicKey | header | No | ||
API-Signature | header | No |
Responses
Code | Description |
---|---|
200 | Success |