Giter Club home page Giter Club logo

api-docs's Introduction

Official Documentation of WhiteBIT API

Public API

Public WebSocket API

Public API V1 Documentation - General endpoints

Public API V2 Documentation - Endpoints for cmc

Public API V4 Documentation - Additional endpoints


Private API

Private WebSocket API

Private API Authentication Documentation - Documentation for making private Auth requests on WhiteBIT

Private API V1 Documentation Trade keys - Documentations for making private trading requests

Private API V4 Documentation Trade keys - Documentations for making private trading requests

Private API V4 Documentation Deposit/Withdraw keys - Documentations for making private trading & deposit/withdraw requests


Web Hooks

Documentation for WebHooks - Documentations for processing web-hooks


Info HTTP

  1. WhiteBIT API supports private and public methods.
  2. Available API versions: V1, V2, V4.
  3. Using Public endpoints:
    1. Public endpoints are cached. You can find specific cache refresh interval for each particular request in API documentation.
    2. Use HTTP method GET method when making a request.
    3. Use query string if you need to send additional data.
  4. Using Private endpoints:
    1. To make private API calls:
      1. Go to your account on whitebit.com.
      2. Click on the API keys tab.
      3. Select the appropriate configuration tab for your API keys. Different API keys allow access to different API calls.
      4. Generate API keys and toggle the activation switcher to "Activated".
    2. Auth request should be using POST method and should include:
      1. Body data - JSON that includes:
        1. 'request' - a request path without the domain name. Example: '/api/v4/trade-account/balance'.
        2. 'nonce' - a number that is always larger than the previous request’s nonce number. Example: '1594297865'. A good method of creating a nonce is to use the unix timestamp in milliseconds. This way you'll always get an incrementing number, but make sure not to send two API calls at the same time, otherwise their nonce will be identical.
        3. params of request - Example: 'ticker': 'BTC'
      2. Headers:
        1. 'Content-type': 'application/json'
        2. 'X-TXC-APIKEY': api_key - where api_key is your public WhiteBit API key
        3. 'X-TXC-PAYLOAD': payload' - where payload is base64-encoded body data
        4. 'X-TXC-SIGNATURE': signature - where signature is hex(HMAC_SHA512(payload), key=api_secret))
    3. To help you get started with our API, we've created the API Quick start helper library. It supports the following languages:
      1. Go
      2. NodeJS
      3. Python
      4. PHP
      5. Java
      6. Kotlin
      7. DotNet
      8. Ruby
      9. C++

api-docs's People

Contributors

alexeycrystal avatar antilife avatar eugenesaenko avatar john-whitebit avatar miraclealex avatar mkotsabiuk avatar sashabeton avatar vadimtrunov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.