Skip to main content

Base URL

All REST API endpoints are available at:
https://whitebit.com/api/v4/{endpoint}
  • Public endpoints use the GET method and accept parameters as query strings.
  • Private endpoints use the POST method and accept parameters as JSON in the request body.
  • All endpoints return time in Unix-time format and respond with JSON.

Authentication

Private endpoints require API key authentication with HMAC-SHA512 signed requests. See the Authentication Guide for setup instructions, header requirements, and code examples.

Rate Limits

ScopeLimit
Public REST endpoints2000 requests / 10 sec
Private REST endpointsVaries per endpoint (see individual docs)

Error Format

All V4 endpoints return errors as JSON. The format differs slightly between public and private APIs: Public endpoints:
{
  "success": false,
  "message": "ERROR MESSAGE",
  "params": []
}
Private endpoints:
{
  "code": 0,
  "message": "MESSAGE",
  "errors": {
    "PARAM1": ["MESSAGE"],
    "PARAM2": ["MESSAGE"]
  }
}
For full details, see the Market Data overview and Spot Trading overview.

Endpoint Groups