Skip to content

Base Endpoint

Restful API base endpoint

    https://openapi.tapbit.com/swap/

Attention

  • It is recommended to modify and add your own server export IP after creating the API to further enhance the API security verification;

  • All interface responses are in JSON format;

  • All times and timestamps are UNIX time in milliseconds;

  • Each interface may throw an exception. The format of the exception response is as follows:

        {
            "code": 10001,
            "msg": "Invalid Paramater."
        }
    
  • The order of parameters is not required.

WebSocket base endpoint

    wss://ws-openapi.tapbit.com/stream/ws