DigiFinex Orders API
The Orders API from DigiFinex — 9 operation(s) for orders.
The Orders API from DigiFinex — 9 operation(s) for orders.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/digifinex:digifinex-orders-api"
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.
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: 3.2.0
info:
title: DigiFinex Spot and Margin REST Orders API
version: '3.0'
description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 29 operation(s) read from the public reference page https://docs.digifinex.com/en-ww/spot/v3/rest.html (each operation names its page in x-source; every path and method is copied verbatim from the page, parameters from its request tables).'
x-generated-from: documentation
x-provenance: generated
x-authored-by: API Evangelist
x-generated: '2026-10-13'
x-generator: scratch build.py (verbatim table extraction, no model)
x-sources:
- https://docs.digifinex.com/en-ww/spot/v3/rest.html
servers:
- url: https://openapi.digifinex.com/v3
tags:
- name: Orders
paths:
/order_book:
get:
operationId: get_order_book
tags:
- Orders
summary: Get orderbook
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: true
parameters:
- name: symbol
in: query
required: true
schema:
type: string
description: '"btc_usdt"'
- name: limit
in: query
required: false
schema:
type: integer
description: Limit of depth, default 10, maximum 150
security: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order:
get:
operationId: get_market_order
tags:
- Orders
summary: Get order status
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
- name: order_id
in: query
required: true
schema:
type: string
description: Order ID list, separated by commas, limit of 20
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order/detail:
get:
operationId: get_market_order_detail
tags:
- Orders
summary: Get order trades details
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
- name: order_id
in: query
required: true
schema:
type: string
description: Order ID
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order/current:
get:
operationId: get_market_order_current
tags:
- Orders
summary: Current active orders
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
- name: symbol
in: query
required: false
schema:
type: string
description: Symbol Name
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order/history:
get:
operationId: get_market_order_history
tags:
- Orders
summary: Get all orders (including history orders)
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
- name: symbol
in: query
required: false
schema:
type: string
description: Symbol Name
- name: limit
in: query
required: false
schema:
type: integer
description: Default 10, maximum 100
- name: start_time
in: query
required: false
schema:
type: integer
description: Starting time, default 3 days before now, maximum 30 days
- name: end_time
in: query
required: false
schema:
type: integer
description: Ending time, default current timestamp
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/mytrades:
get:
operationId: get_market_mytrades
tags:
- Orders
summary: Customer's trades
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
- name: symbol
in: query
required: false
schema:
type: string
description: Symbol Name
- name: limit
in: query
required: false
schema:
type: integer
description: Default 50, maximum 500
- name: start_time
in: query
required: false
schema:
type: integer
description: Starting time, default 3 days before now, maximum 30 days
- name: end_time
in: query
required: false
schema:
type: integer
description: Ending time, default current timestamp
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order/new:
post:
operationId: post_market_order_new
tags:
- Orders
summary: Create new order
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
required:
- symbol
- type
- amount
properties:
symbol:
type: string
description: Symbol Name
type:
type: string
description: buy for limit buy order, sell for limit sell order, buy_market for market buy order, sell_market for market sell order
amount:
type: number
description: Order amount, value in quote currency for market orders and base currency in other order types
price:
type: number
description: Order price required for limit order
post_only:
type: integer
description: Default 0, enabled by 1, if enabled the order will be cancelled if it can be executed immediately, making sure there will be no market taking
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order/batch_new:
post:
operationId: post_market_order_batch_new
tags:
- Orders
summary: Create multiple order
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
required:
- symbol
- list
properties:
symbol:
type: string
description: Symbol Name
list:
type: string
description: order list, must be json-format, eg:[{"type":"buy","amount":0.1,"price":6000,"post_only":1},{"type":"sell","amount":0.1,"price":6100,"post_only":0}]
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
/{market}/order/cancel:
post:
operationId: post_market_order_cancel
tags:
- Orders
summary: Cancel order
x-source: https://docs.digifinex.com/en-ww/spot/v3/rest.html
x-public: false
parameters:
- name: market
in: path
required: true
schema:
type: string
description: Account type as documented ("spot" or "margin")
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
required:
- order_id
properties:
order_id:
type: string
description: Order ID list, separated by commas
security:
- accessKey: []
accessSign: []
accessTimestamp: []
responses:
'200':
description: 'Success; the body carries "code": 0 as documented.'
content:
application/json:
schema:
type: object
properties:
code:
type: integer
description: Status code (0 = success)
components:
securitySchemes:
accessKey:
type: apiKey
in: header
name: ACCESS-KEY
description: User's API-KEY
accessSign:
type: apiKey
in: header
name: ACCESS-SIGN
description: HMAC-SHA256 signature of the request parameters, keyed by the API secret, as documented
accessTimestamp:
type: apiKey
in: header
name: ACCESS-TIMESTAMP
description: Timestamp in seconds (spot); requests more than 5 seconds old are rejected unless ACCESS-RECV-WINDOW is set