Skip to main content

Deals

Version: v1

/api/deals

GET

Summary:

Get history of trades for CurrencyPair (100)

Parameters
NameLocated inDescriptionRequiredSchema
currencyPairCodequerycurrency pair codeNostring
sinceDatequeryOptional. Example: "2021-02-05T14:00:00"NodateTime
endDatequeryOptional. Example: "2021-02-05T15:00:00"NodateTime
pageNumberqueryNointeger
pageSizequeryNointeger
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"
}
]
CodeDescription
200Success

/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
NameLocated inDescriptionRequiredSchema
currencyPairCodequerycurrency pair codeNostring
sinceDatequeryOptional. Example: "2021-02-05T14:00:00"NodateTime
endDatequeryOptional. Example: "2021-02-05T15:00:00"NodateTime
pageNumberqueryNointeger
pageSizequeryNointeger
API-PublicKeyheaderNo
API-SignatureheaderNo
Responses
CodeDescription
200Success