Get trade history
GET/rfq/trades
Returns the specified number of past RFQ trades for your account and a time period of up to 24 hours.
The returned trades are sorted by their timestamp in a descending order, from the latest to the earliest.
This is a private endpoint. To send requests, you need to authenticate. Your API key must have the View access permission.
To get specific trades, use the start, end, and tradeId parameters.
Rate limit weight points: 5
Request
Query Parameters
Possible values: >= 1 and <= 1000
The maximum number of trades to return, from latest to earliest.
500Possible values: >= 0
The Unix timestamp starting from which to return trades. If used, you must also specify the end parameter.
Can only return trades for a period of up to 24 hours.
1700000000000Possible values: >= 0
The Unix timestamp up to which to return trades. If used, you must also specify the start parameter.
Cannot be more than 24 hours after the
startparameter. Can only return trades for a period of up to 24 hours.
1700003600000Returns the specified trade.
If provided, takes precedence over other parameters.
Returns trades for the specified base asset.
BTCReturns trades for the specified quote asset.
EURResponses
- 200
- Errors
The request was successful.
- application/json
- Schema
- Example (body)
Schema
- Array [
- ]
The unique identifier of the trade.
The unique identifier of your account.
The unique identifier of the RFQ session.
rfq_uuidThe unique identifier of your quote.
mmq_8891a1b4The Unix timestamp in milliseconds when the trade was executed.
1700000000000The amount of the base currency.
0.1The type of RFQ trade.
StablecoinParityThe base asset of the trade.
EURThe quote asset of the trade.
EURCThe price of 1 unit of base currency in the amount of quote currency at the time of the trade.
34243Indicates whether the taker is buying or selling.
Possible values: [buy, sell]
Indicates whether you are the taker for the trade.
The fee for this trade.
0.02The currency in which the fee was charged.
EURThe gross amount of the settled quote asset after it was rounded, before fees.
100.00000000Your identifier for the trader or the bot within your account that made the request.
543462The identifier for the trader that accepted the RFQ trade.
58d5e212-165d-4cr0-909b-c86b9cee0111[
{
"tradeId": 0,
"accountId": "string",
"rfqId": "rfq_uuid",
"quoteId": "mmq_8891a1b4",
"timestamp": 1700000000000,
"amount": "0.1",
"rfqType": "StablecoinParity",
"base": "EUR",
"quote": "EURC",
"price": "34243",
"side": "buy",
"taker": true,
"fee": "0.02",
"feeAsset": "EUR",
"quoteAmount": "100.00000000",
"operatorId": 543462,
"counterpartyId": "58d5e212-165d-4cr0-909b-c86b9cee0111"
}
]
For error codes, see Handle errors.