Trades

Fetch your most recent trades

get
Get Trades

https://api.vaultoro.com/v1/private/history/trades
This endpoint allows you to fetch all your trades.
Request
Response
Request
Headers
VTOKEN
required
string
Your API token to authenticate requests.
Query Parameters
type
optional
string
Filter by the SELL or BUY trades.
orderId
optional
string
Get all the trades associated with an order.
limit
optional
string
Limit the number of results.
since
optional
number
Unix timestamp to filter results since.
pair
optional
string
Enter the pair to filter by. Currently available: DASHBTC, GOLDBTC or GOLDDASH.
page
optional
number
Filter the results by page.
until
optional
number
Unix timestamp to filter the results until.
Response
200: OK
Cake successfully retrieved.
{
"data": [
{
"createdAt": 1595427428,
"fees": {
"typeHandle": "VOLUME30",
"value": "-0.01900000"
"handle": "GOLD",
},
"matchType": "LIMIT",
"orderReferenceId": "dczi1trxkcwatf0x",
"pair": "GOLDBTC",
"price": "0.00615450",
"quantity": "1.0000",
"referenceId": "1pxn6pkkcxgaq9o",
"type": "BUY",
"updatedAt": 1595427428
}
],
"pagination": {
"count": 1
}
}
404: Not Found
Could not find any trades matching this query.
{
"data": [],
"pagination": {
"count": 0
}
}