Get status of all orders, can be filtered using optional query params
Bitcoin Suisse API (1.5.0)
The Bitcoin Suisse API allows customers of Bitcoin Suisse to automate activities like trading, custody, staking and reporting using their own tools.
Have a look at the Developer Portal to find out how to get an API key and how authentication works.
Download OpenAPI description
Overview
URL
Bitcoin Suisse AG
License
Languages
Servers
Mock server
https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi
Bitcoin Suisse API
https://api.bitcoinsuisse.com
Bitcoin Suisse Sandbox API
https://sandbox-api.btcsqa.net
Query
Filter by order type(s)
Items Enum"Market""Limit""Stop""PreviouslyQuoted"
Filter by order status
Items Enum"Unknown""New""PartiallyFilled""Filled""Cancelled""PendingCancel""Rejected""PendingNew""Expired""Draft"
Filter by time in force
Enum"Unknown""GoodTillCancel""ImmediateOrCancel""FillOrKill""GoodTilDate"
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/trading/api/v3/Orders
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/trading/api/v3/Orders
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/trading/api/v3/Orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/trading/api/v3/Orders?scope=All&account=string&orderTypes=Market&status=Unknown&symbols=string&side=Unknown&transactionTimeMin=2019-08-24T14%3A15%3A22Z&transactionTimeMax=2019-08-24T14%3A15%3A22Z&timeInForce=Unknown&expiresTimeMin=2019-08-24T14%3A15%3A22Z&expiresTimeMax=2019-08-24T14%3A15%3A22Z&page=1&pageSize=50' \
-H 'X-Auth: YOUR_API_KEY_HERE' \
-H 'X-Auth-Nonce: YOUR_API_KEY_HERE' \
-H 'X-Auth-Signature: YOUR_API_KEY_HERE' \
-H 'X-Auth-Timestamp: YOUR_API_KEY_HERE' \
-H 'X-Auth-Version: YOUR_API_KEY_HERE' \
-H 'customer-number: string'Response
application/json
{ "content": [ { … } ], "count": 0 }
Body
- application/json-patch+json
- application/json
- text/json
- application/*+json
A custom id for this request, can be used for tracing purposes in case of rejection
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/trading/api/v3/Orders
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/trading/api/v3/Orders
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/trading/api/v3/Orders
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/trading/api/v3/Orders \
-H 'Content-Type: application/json-patch+json' \
-H 'X-Auth: YOUR_API_KEY_HERE' \
-H 'X-Auth-Nonce: YOUR_API_KEY_HERE' \
-H 'X-Auth-Signature: YOUR_API_KEY_HERE' \
-H 'X-Auth-Timestamp: YOUR_API_KEY_HERE' \
-H 'X-Auth-Version: YOUR_API_KEY_HERE' \
-H 'customer-number: string' \
-d '{
"account": 0,
"clientOrderId": "string",
"orderId": 0,
"cancelRequestId": "string",
"transactionTime": "2019-08-24T14:15:22Z"
}'Response
application/json
{ "account": 0, "clientOrderId": "string", "orderId": 0, "quoteId": 0, "side": "Unknown", "orderType": "Unknown", "symbol": "string", "currency": "string", "quantity": 0, "price": 0, "stopPrice": 0, "timeInForce": "Unknown", "transactionTime": "2019-08-24T14:15:22Z", "expireTime": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "toAccount": 0, "executionId": "string", "executionType": "Unknown", "indicativePrice": 0, "status": "Unknown", "lastPrice": 0, "lastQuantity": 0, "cumulativeQuantity": 0, "leavesQuantity": 0, "rejectionCode": 0, "text": "string", "availableToTrade": 0, "commissionCurrency": "string", "commission": 0, "settlementDate": "2019-08-24T14:15:22Z", "venueId": 0, "tenor": "Unknown", "prosecoFuseco": true, "isTwap": true, "isCommissionIncluded": true, "legPrice": 0, "legSymbol": "string", "settlementAmount": 0, "fromAmount": 0, "toAmount": 0, "isSettled": true, "appliedCommissionPct": 0, "targetStrategy": "None", "durationUnit": "Unknown", "duration": 0, "pegOffsetType": "None", "pegOffsetValue": 0, "effectiveTime": "2019-08-24T14:15:22Z", "parentClientOrderId": 0, "source": 0, "isMinimumCommissionApplied": true, "legs": [ { … } ] }
- Mock serverhttps://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/trading/api/v3/Orders/{id}
- Bitcoin Suisse APIhttps://api.bitcoinsuisse.com/trading/api/v3/Orders/{id}
- Bitcoin Suisse Sandbox APIhttps://sandbox-api.btcsqa.net/trading/api/v3/Orders/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/trading/api/v3/Orders/{id}?isClientOrderId=false' \
-H 'X-Auth: YOUR_API_KEY_HERE' \
-H 'X-Auth-Nonce: YOUR_API_KEY_HERE' \
-H 'X-Auth-Signature: YOUR_API_KEY_HERE' \
-H 'X-Auth-Timestamp: YOUR_API_KEY_HERE' \
-H 'X-Auth-Version: YOUR_API_KEY_HERE' \
-H 'customer-number: string'Response
application/json
{ "account": 0, "clientOrderId": "string", "orderId": 0, "quoteId": 0, "side": "Unknown", "orderType": "Unknown", "symbol": "string", "currency": "string", "quantity": 0, "price": 0, "stopPrice": 0, "timeInForce": "Unknown", "transactionTime": "2019-08-24T14:15:22Z", "expireTime": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "toAccount": 0, "executionId": "string", "executionType": "Unknown", "indicativePrice": 0, "status": "Unknown", "lastPrice": 0, "lastQuantity": 0, "cumulativeQuantity": 0, "leavesQuantity": 0, "rejectionCode": 0, "text": "string", "availableToTrade": 0, "commissionCurrency": "string", "commission": 0, "settlementDate": "2019-08-24T14:15:22Z", "venueId": 0, "tenor": "Unknown", "prosecoFuseco": true, "isTwap": true, "isCommissionIncluded": true, "legPrice": 0, "legSymbol": "string", "settlementAmount": 0, "fromAmount": 0, "toAmount": 0, "isSettled": true, "appliedCommissionPct": 0, "targetStrategy": "None", "durationUnit": "Unknown", "duration": 0, "pegOffsetType": "None", "pegOffsetValue": 0, "effectiveTime": "2019-08-24T14:15:22Z", "parentClientOrderId": 0, "source": 0, "isMinimumCommissionApplied": true, "legs": [ { … } ] }