Git Product home page Git Product logo

jex-official-api-docs's Introduction

Official Documentation for the JEX APIs and Streams.

  • Streams, endpoints, parameters, payloads, etc. described in the documents in this repository are considered official and supported.
  • The use of any other streams, endpoints, parameters, or payloads, etc. is not supported; use them at your own risk and with no guarantees.
Name Description
rest-api.md Details on the Rest API (/api)
errors.md Descriptions of possible error messages from the Rest API
web-socket-streams.md Details on available streams and payloads

Public API for JEX Exchange

General API

API Description
GET /api/v1/ping Test server connectivity PING
GET /api/v1/time Get server time
GET /api/v1/exchangeInfo Get restriction info and trading pair info
GET /api/v1/optionInfo Get trading pair information of options transaction
GET /api/v1/contractInfo Get trading pair information of contract transaction
GET /api/v1/account (HMAC SHA256) Asset information of the account
POST /api/v1/userDataStream Create user data stream
PUT /api/v1/userDataStream Extend the period of validity of user data stream
DELETE /api/v1/userDataStream Close user data stream
GET /wapi/v1/assetDetail Details of user assets
GET /wapi/v1/depositAddress User's deposit address
GET /wapi/v1/depositHistory Deposit history
GET /wapi/v1/tradeFee Transaction fee
GET /wapi/v1/withdrawHistory Withdraw History

Coins Transaction API

API Description
GET /api/v1/spot/depth Depth
GET /api/v1/spot/trades Recent trades
GET /api/v1/spot/historicalTrades Historical trades
GET /api/v1/spot/klines K-line
GET /api/v1/spot/avgPrice Average price now
GET /api/v1/spot/ticker/24hr Price change in 24 hours
GET /api/v1/spot/ticker/price Latest price
GET /api/v1/spot/ticker/bookTicker Optimal entry order
POST /api/v1/spot/order/test (HMAC SHA256) Test placing order
POST /api/v1/spot/order (HMAC SHA256) Place order
GET /api/v1/spot/order (HMAC SHA256) Check orders
DELETE /api/v1/spot/order (HMAC SHA256) Cancel order
GET /api/v1/spot/openOrders (HMAC SHA256) Check entry orders
GET /api/v1/spot/historyOrders (HMAC SHA256) Historical entry orders

Options Transaction API

API Description
GET /api/v1/option/depth Depth
GET /api/v1/option/trades Recent trades
GET /api/v1/option/historicalTrades Historical trades
GET /api/v1/option/klines K-line
GET /api/v1/option/avgPrice Average price now
GET /api/v1/option/ticker/24hr Price change in 24 hours
GET /api/v1/option/ticker/price Latest price
GET /api/v1/option/ticker/bookTicker Optimal entry order
POST /api/v1/option/order/test (HMAC SHA256) Test placing order
POST /api/v1/option/order (HMAC SHA256) Place order
GET /api/v1/option/order (HMAC SHA256) Check orders
DELETE /api/v1/option/order (HMAC SHA256) Cancel order
GET /api/v1/option/openOrders (HMAC SHA256) Check entry orders
GET /api/v1/option/historyOrders (HMAC SHA256) Historical entry orders
POST /api/v1/option/release (HMAC SHA256) Users short options
POST /api/v1/option/back (HMAC SHA256) Users call options
GET /api/v1/option/position (HMAC SHA256) Options positions of the account
GET /api/v1/option/info (HMAC SHA256) Short & call options info of the account
GET /api/v1/option/record (HMAC SHA256) Short & call options records of the account

Contract Transaction API

API Description
GET /api/v1/contract/depth Depth
GET /api/v1/contract/trades Recent trades
GET /api/v1/contract/historicalTrades Historical trades
GET /api/v1/contract/klines K-line
GET /api/v1/contract/avgPrice Average price now
GET /api/v1/contract/ticker/24hr Price change in 24 hours
GET /api/v1/contract/ticker/price Latest price
GET /api/v1/contract/ticker/bookTicker Optimal entry order
GET /api/v1/contract/ticker/indicesPrice Indices Price, marked price
POST /api/v1/contract/order/test (HMAC SHA256) Test placing order
POST /api/v1/contract/order (HMAC SHA256) Place order
GET /api/v1/contract/order (HMAC SHA256) Check orders
DELETE /api/v1/contract/order (HMAC SHA256) Cancel order
GET /api/v1/contract/openOrders (HMAC SHA256) Check entry orders
POST /api/v1/contract/liquidation (HMAC SHA256) Contract liquidation
GET /api/v1/contract/liquidationOrder Check liquidation orders
GET /api/v1/contract/position (HMAC SHA256) Check contract positions of the account
GET /api/v1/contract/position/leverage (HMAC SHA256) Adjust contract leverage of the account
GET /api/v1/contract/historyOrders (HMAC SHA256) Historical entry orders of the account
GET /api/v1/contract/bill (HMAC SHA256) Contract bill
GET /api/v1/contract/historyRate Contract capital fee
GET /api/v1/contract/protectionFund Contract protection fund
POST /api/v1/contract/transferMargin (HMAC SHA256) Transfer margin
GET /api/v1/contract/userHistoricalTrades (HMAC SHA256) Contract bill of obtained account

WebSocket Common Data

Stream Description
<symbol>@<tradeType> Recent trades
<symbol>@<klineType>_<interval> K-line
<symbol>@<miniTickerType> Simplified Ticker
<symbol>@<tradeType> Complete Ticker
<symbol>@<depthType><levels> Depth information
<symbol>@<depthType> Depth information stream

webSocket User Data

Stream Description
accountSpotInfo Change of spot assets
accountOptionInfo Change of options assets
accountContractInfo Change of contract assets
execSpotReport Update spot orders/ trades
execOptionReport Update options orders/ trades
execContractReport Update contract orders/ trades
contractPositions Positions of contract

jex-official-api-docs's People

Contributors

jiaofu avatar vic-dev-ops avatar pandamenga 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.