Skip to main content

Key Features

Built-in Authentication

Automatic HMAC-SHA512 request signing — no manual signature implementation required.

Multi-Language Support

Official SDKs for Go, Python, and PHP. Additional examples available in Node.js, Rust, and more via the quickstart repository.

Open Source

Published on GitHub. Review the code, report issues, or contribute improvements.

Official SDKs

Choose a programming language to get started:

Go SDK

Official WhiteBIT SDK for Go developers

Python SDK

Official WhiteBIT SDK for Python developers

PHP SDK

Official WhiteBIT SDK for PHP developers

Quick Start

Install the SDK and make a first authenticated API call.
go get github.com/whitebit-exchange/go-sdk
// TODO: verify SDK method names against github.com/whitebit-exchange/go-sdk
package main

import (
    "fmt"
    whitebit "github.com/whitebit-exchange/go-sdk"
    "os"
)

func main() {
    client := whitebit.NewClient(os.Getenv("WB_API_KEY"), os.Getenv("WB_API_SECRET"))
    balance, err := client.GetTradeBalance()
    if err != nil {
        panic(err)
    }
    fmt.Println(balance)
}
Store API keys in environment variables (WB_API_KEY, WB_API_SECRET). Never hardcode credentials in source files.

SDK Details

SDKLanguageGitHubAuth handling
go-sdkGogithub.com/whitebit-exchange/go-sdkBuilt-in HMAC-SHA512
python-sdkPythongithub.com/whitebit-exchange/python-sdkBuilt-in HMAC-SHA512
php-sdkPHPgithub.com/whitebit-exchange/php-sdkBuilt-in HMAC-SHA512

Additional Languages

The api-quickstart repository contains example implementations in Node.js, Rust, and other languages, demonstrating raw HMAC-SHA512 signing without an SDK dependency.

What’s Next

First API Call

Step-by-step quickstart using curl and Python — no SDK required.

Authentication

HMAC-SHA512 signing, API key setup, and IP binding.