Skip to content

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.

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

Customers

Operations

Accounts

Operations

HistoricalPortfolioValue

Operations

Trading Accounts

Operations

Trading Configuration

Operations

Trading Instruments

Operations

Market Data

Operations

Trading Orders

Operations

Public

Operations

Staking Orders

Operations

Staking Accounts

Operations

Staking Products

Operations

Staking Rewards

Operations

TradingApi

Operations

Reports

Operations

Create Account Statement

Request

Starts Account Statement creation. Provides overview on transactions per account.

Security
api-key and nonce and timestamp and version and signature
Headers
customer-numberstringrequired

Defines which customer the request is executed for. If you manage multiple customers, this is how you switch between them. Use the Customer Management API endpoints to get the customer data. Example: 'BTCS-CUS-123456'

Body
dateFromstring(date)required
dateTostring(date)required
referenceCurrencystringnon-emptyrequired
curl -i -X POST \
  https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/reporting/api/v1/accountstatement \
  -H 'Content-Type: application/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 '{
    "dateFrom": "2019-08-24",
    "dateTo": "2019-08-24",
    "referenceCurrency": "string"
  }'

Responses

Success

Bodyapplication/json
reportIdstring(uuid)
Response
application/json
{ "reportId": "836df459-dc40-4aa1-972a-6eb0a864dff9" }

Get Account Statement

Request

Gets Account Statement. Provides overview on transactions per account.

Security
api-key and nonce and timestamp and version and signature
Path
reportIdstring(uuid)required
Headers
customer-numberstringrequired

Defines which customer the request is executed for. If you manage multiple customers, this is how you switch between them. Use the Customer Management API endpoints to get the customer data. Example: 'BTCS-CUS-123456'

curl -i -X GET \
  'https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/reporting/api/v1/accountstatement/{reportId}' \
  -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'

Responses

Success

Bodyapplication/json
statestring(ReportState)required
Enum"Processing""Succeeded""Failed"
reportDataobject(AccountStatement)
Response
application/json
{ "state": "Processing", "reportData": { "dateFrom": "2019-08-24", "dateTo": "2019-08-24", "referenceCurrency": "string", "totalValueInReferenceCurrency": 0.1, "accounts": [] } }

Create Balance Statement

Request

Starts Balance Statement creation. Provides overview on balance at given date.

Security
api-key and nonce and timestamp and version and signature
Headers
customer-numberstringrequired

Defines which customer the request is executed for. If you manage multiple customers, this is how you switch between them. Use the Customer Management API endpoints to get the customer data. Example: 'BTCS-CUS-123456'

Body
datestring(date)required
referenceCurrencystringnon-emptyrequired
curl -i -X POST \
  https://docs.bitcoinsuisse.com/_mock/api/pages/rest/bitcoinsuisseopenapi/reporting/api/v1/balancestatement \
  -H 'Content-Type: application/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 '{
    "date": "2019-08-24",
    "referenceCurrency": "string"
  }'

Responses

Success

Bodyapplication/json
reportIdstring(uuid)
Response
application/json
{ "reportId": "836df459-dc40-4aa1-972a-6eb0a864dff9" }

Loan Report

Operations