Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

Rest

Changelog

The API service is hosted at https://api.bitopro.com/v3. Our rate limit policy:

  • Open API
    • 600 requests per minute per IP
  • Auth API
    • 600 requests per minute per IP
    • 600 requests per minute per user account

For all endpoints require authentication, you should create the API key at BitoPro

Authentication

HTTP Status Codes

  • 2xx Success
    • 200 OK
  • 4xx Client errors
    • 401 Unauthorized api key
    • 403 Forbidden
    • 409 Try to send the same request more than once
    • 422 Data parsing error
    • 429 Rate limits exceed
  • 5xx Server errors
    • 502 Bad gateway
    • 503 Service unavailable

Order status

  • -1: Not Triggered
  • 0: In progress
  • 1: In progress (Partial deal)
  • 2: Completed
  • 3: Completed (Partial deal)
  • 4: Cancelled
  • 6: Post-only Cancelled

Fee fields

  • fee as fee paid
  • feeSymbol as symbol for fee
  • bitoFee as fee paid in BITO

Endpoints

Open

Endpoint URL Example
Get order book GET /order-book/{pair} https://api.bitopro.com/v3/order-book/bito_twd
Get the list of currencies GET /provisioning/currencies https://api.bitopro.com/v3/provisioning/currencies
Get the list of available pairs GET /provisioning/trading-pairs https://api.bitopro.com/v3/provisioning/trading-pairs
Get tickers GET /tickers/{pair} https://api.bitopro.com/v3/tickers
Get the recent trades GET /trades/{pair} https://api.bitopro.com/v3/trades/bito_twd
Get trading history GET /trading-history/{pair} https://api.bitopro.com/v3/trading-history/btc_twd?resolution=1w&from=1550822974&to=1566375034
Get the limitations and fees GET /provisioning/limitations-and-fees https://api.bitopro.com/v3/provisioning/limitations-and-fees

Auth

Endpoint URL Example
Get the account balance GET /accounts/balance https://api.bitopro.com/v3/accounts/balance
Get all orders GET /orders/all/{pair} https://api.bitopro.com/v3/orders/all/bito_twd
Get order list (Deprecated) GET /orders/{pair} https://api.bitopro.com/v3/orders/bito_twd
Create an order POST /orders/{pair} https://api.bitopro.com/v3/orders/bito_twd
Create batch limit/market orders POST /orders/batch https://api.bitopro.com/v3/orders/batch
Cancel an order DELETE /orders/{pair}/{id} https://api.bitopro.com/v3/orders/bito_twd/123456789
Cancel all orders DELETE /orders/all or /orders/{pair} https://api.bitopro.com/v3/orders/all or https://api.bitopro.com/v3/orders/btc_usdt
Cancel multiple orders PUT /orders https://api.bitopro.com/v3/orders
Get an order GET /orders/{pair}/{orderId} https://api.bitopro.com/v3/orders/bito_twd/123456789
Get Withdraw Information GET /wallet/withdraw/{currency}/{serial} https://api.bitopro.com/v3/wallet/withdraw/twd/123456
Withdraw POST /wallet/withdraw/{currency} https://api.bitopro.com/v3/wallet/withdraw/twd