Skip to main content

Spot Trading API

Welcome to the j2coin.com Spot Trading API documentation!

This document provides all REST API and WebSocket interfaces related to spot trading, including:

REST API

  • Order Trading: Place orders, cancel orders, modify orders, query order details, query open orders, query order history, query order transaction details, etc.
  • Account Assets: Query assets, batch query assets, query asset change logs, query single asset details, etc.
  • Market Data: Query order book depth, query ticker, query K-line data, query market trades, etc.
  • Trading Pair Configuration: Query trading pair list, query trading pair details, query trading pair boards, query trading pair defaults, query trading pair tags, etc.
  • Trading Precision: Query price/quantity precision information for trading pairs
  • Bot Trading: Batch place orders, batch cancel orders, etc.

WebSocket

  • Public Channels: Ticker quotes, K-line data, book ticker (best bid/ask), order book (depth snapshot), order book updates (incremental depth), mark price (for futures)
  • Private Channels: Order updates, balance changes, position updates (for futures)

Quick Start

  1. Apply for API Key: User Center to obtain appkey and secretKey
  2. Read Signature Specification: Understand how to sign requests
  3. Configure Rate Limiting: Understand interface call frequency limits
  4. Start calling API interfaces

Notes

  • All spot interfaces use https://open-api.j2coin.com as the base URL
  • Request method: GET parameters go in query params, POST parameters go in request body
  • Request header: Content-Type=application/json
  • Private interfaces require signature authentication
  • All timestamps are in milliseconds

Navigate using the left sidebar to view specific interface documentation.