Get trades
REQUEST wss://ws-mdpro.bitvavo.com/v2 getTrades
Returns trades for the specified market and time period made by all Bitvavo users. The returned trades are sorted by their timestamp in a descending order, from the latest to the earliest.
Rate limit weight points: 5
Request
- Schema
- Example (body)
Body
Set value to getTrades.
getTradesYour identifier for the request.
1The market for which to return the trades.
BTC-EURThe maximum number of trades to return.
Possible values: >= 1 and <= 1000
500The Unix timestamp in milliseconds starting from which to return trades.
1751541801000The Unix timestamp in milliseconds until which to return trades.
Cannot be more than 24 hours after the
starttimestamp.
1751548920000The unique identifier of the trade starting from which to return the trades.
The unique identifier of the trade up to which to return the trades.
{
"action": "getTrades",
"requestId": 1,
"market": "BTC-EUR",
"limit": 500,
"start": 1751541801000,
"end": 1751548920000,
"tradeIdFrom": "string",
"tradeIdTo": "string"
}
Response
- Schema
- Example (body)
Schema
The action performed.
getTradesYour identifier for the request.
1response object
The unique identifier of the trade.
57b1159b-6bf5-4cde-9e2c-6bd6a5678bafThe Unix timestamp in milliseconds when the trade was made.
1542967486256The amount of base currency exchanged in the trade. For example, 0.1 Bitcoin.
0.1The price of 1 unit of base currency in the amount of quote currency at the time of the trade. For example, 34243 Euro.
34243Indicates if the taker, who fills the order, is selling or buying.
Possible values: [sell, buy]
{
"action": "getTrades",
"requestId": 1,
"response": {
"id": "57b1159b-6bf5-4cde-9e2c-6bd6a5678baf",
"timestamp": 1542967486256,
"amount": "0.1",
"price": "34243",
"side": "sell"
}
}