Orders
Listing and creating your own order / trade.
Get Orders
GET
https://api.vaultoro.com/v1/private/orders
This endpoint allows you to retrieve orders. To fetch your own orders, just pass self=true with the request.
Query Parameters
queued
string
Sets the status filter to OPEN and QUEUED.
status
string
The status of the order. This can be OPEN, CLOSED, FILLED, CANCELLED, or QUEUED for the private endpoint.
since
string
Unix timestamp to filter results until.
until
string
Unix timestamp to filter results until.
self
boolean
Return a list of your own orders. Must be set to true.
sortDirection
number
The direction of the sorting. Either 1 or -1.
sort
string
Sort the results by createdAt or updatedAt
matchType
string
Filter the type of order. Currently only LIMIT.
pair
string
Filter by available pairs.
status
string
The status of the order. Should be OPEN, CLOSED, FILLED, CANCELLED.
type
string
The type of order. Should be BUY or SELL.
limit
string
Limit the number of results.
page
number
Return a specific page.
Headers
VTOKEN
string
Your API token to authenticate requests.
Create Order
POST
https://api.vaultoro.com/v1/private/orders
The endpoint allows you to create an order. After creation, your order will be placed in a queue and further checks run. Only one order can be made at a time.
Headers
wallet-origin
string
Authentication
string
Authentication token.
VTOKEN
string
Use an API token to authorise the requests instead of the standard authentication token.
Request Body
price
number
The price of the order you wish to make.
type
string
The type of order, BUY or SELL.
quantity
number
The quantity you wish you purchase.
matchType
string
The match type, must be set to LIMIT or OTC right now.
pair
string
The pair you wish to trade.
Cancel an order
DELETE
https://api.vaultoro.com/v1/private/orders/{referenceId}
Cancel an order that's currently processing.
Path Parameters
referenceId
string
The referenceId for the order that's returned on create
Headers
VTOKEN
string
Your API Token.
Get an Order
GET
https://api.vaultoro.com/v1/private/orders/{referenceId}
The endpoint allows you to retrieve a single order using the referenceId.
Path Parameters
referenceId
string
The referenceId for the order that's returned on create
Headers
VTOKEN
string
Your API token.
Last updated