Bitrue Sapi API

The Sapi API from Bitrue — 2 operation(s) for sapi.

Operations 3

POST /sapi/v1/order New Order (TRADE)(HMAC SHA256) #
GET /sapi/v1/order/test Test new order creation and signature/recvWindow long #
POST /sapi/v1/order/test POST /sapi/v1/order/test #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitrue:bitrue-sapi-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitrue-sapi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrue Sapi API
  version: '2026-10-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 20 operation(s) read from 4 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Bitrue has published no machine-readable contract that the pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 3
    documentation: 17
    pages-with-code: 4
    pages-read: 4
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-13'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://www.bitrue.com/api-docs
  - https://www.bitrue.com/api_docs_includes_file/spot/index.html
  - https://www.bitrue.com/api_docs_includes_file/futures/index.html
  - https://www.bitrue.com/api_docs_includes_file/delivery/index.html
servers:
- url: https://openapi.bitrue.com
security:
- apiKey: []
tags:
- name: Sapi
paths:
  /sapi/v1/order:
    post:
      operationId: post_sapi_v1_order
      tags:
      - Sapi
      summary: New Order (TRADE)(HMAC SHA256)
      x-source: https://www.bitrue.com/api_docs_includes_file/futures/index.html
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSapiV1OrderRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /sapi/v1/order/test:
    get:
      operationId: get_sapi_v1_order_test
      tags:
      - Sapi
      summary: Test new order creation and signature/recvWindow long
      x-source: https://www.bitrue.com/api_docs_includes_file/futures/index.html
      parameters:
      - name: symbol
        in: query
        required: true
        schema:
          type: string
      - name: price
        in: query
        required: true
        schema:
          type: string
      - name: volume
        in: query
        required: true
        schema:
          type: string
      - name: side
        in: query
        required: true
        schema:
          type: string
      - name: type
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_sapi_v1_order_test
      tags:
      - Sapi
      summary: POST /sapi/v1/order/test
      x-source: https://www.bitrue.com/api-docs
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostSapiV1OrderTestRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl command : \n [linux]$ curl -H \"X-CH-APIKEY: c3b165fd5218cdd2c2874c65da468b1e\" -H \"X-CH-SIGN: c50d0a74bb9427a9a03933d0eded03af9bf50115dc5b706882a4fcf07a26b761\" -H \"X-CH-TS: 1588591856950\" -H \"Content-Type:application/json\" -X POST 'http://localhost:30000/sapi/v1/order/test' -d '{\"symbol\":\"BTCUSDT\",\"price\":\"9300\",\"quantity\":\"1\",\"side\":\"BUY\",\"type\":\"LIMIT\"}'\n Key \n Value \n apiKey \n vmPUZE6mv9SD5V"
components:
  schemas:
    PostSapiV1OrderRequest:
      type: object
      properties:
        symbol:
          type: string
        price:
          type: string
        quantity:
          type: string
        side:
          type: string
        type:
          type: string
      required:
      - symbol
      - price
      - quantity
      - side
      - type
    PostSapiV1OrderTestRequest:
      type: object
      properties:
        symbol:
          type: string
        price:
          type: string
        quantity:
          type: string
        side:
          type: string
        type:
          type: string
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-CH-APIKEY