MultiMarkets API Docs en
HomeGitHubReferenceLanguage
  • Overview
  • Quick Start
    • Status
  • CLIENT API
    • Overview
    • Access
      • Sign
      • Request
      • Limit
      • Error Code
      • API Address
      • API Code
    • Login
      • Captcha
    • Customer
      • Customer registration
      • Replacement Token
      • API Management
        • Apply API
        • Set permissions
        • Delete API
    • Market Data
      • Introduction
      • Limit
      • Error Code
      • Subscribe
        • Ticker
        • Market
        • Cancel
      • Query
        • Heartbeat
        • Historical K-line
    • Open API
      • Readme
        • Sign
        • Request
        • Error Code
        • API Address
      • Order Process
      • Base
        • Symbol Base Info
      • Customer
        • Customer Info
      • Trade
        • Contract order
      • Message
        • Get Msg Token
        • Msg Subscribe
        • Get Msg Token
        • Msg Subscribe
      • More...
    • Auth2 API
      • Readme
      • Auth Code
      • Access Token
      • User Info
      • Refresh Token
    • More...
  • Manager API
    • Overview
    • Access
      • Sign
      • Request
      • Limit
      • Error Code
      • API Address
      • API Code
    • Authorize
    • Basic data
      • Universal dictionaries
      • Company currency
    • Product
      • Product List
    • Customer
      • Customer List
      • Customer registration
      • Customer info
      • Customer Group
      • Account Info
    • Funds
      • Balance Update
      • Get Balance
    • Data Push
    • More...
  • Bridge API
    • Overview
    • Access Instructions
      • Illustrate
      • Sign
      • Request
      • Speed ​​Limit
      • Error Code
      • Product List
    • Basic data
      • Get a list of universal dictionaries
      • Obtain company currency permissions
    • Product Data
      • Product information list
      • Product rule list
    • Customer Management
      • Customer registration
      • Customer list
      • Customer details
      • Customer account cancellation
    • Account Management
      • Add account
      • Update account
      • Check account
      • Delete account
    • Trading interface
      • Check balance
      • Check deposit records
      • Check withdrawal records
      • Query transfer records
      • Place an order
      • Query order
      • Order list
      • Transaction record
      • Current pending order
      • Cancel order
    • News Subscription
      • Notification message description
      • Webhook subscription
      • Information callback notification
  • Webhook API
    • Overview
    • Account balance
    • Execute adjustment balance
    • Cancel adjustment balance
  • Message API
    • Overview
    • Custom message API
  • WEB IFRAME
    • Introduction
    • Process description
  • FAQ
    • How to apply for apikey for an interface?
    • What is the purpose of the public key?
    • What is the interface request timeout?
    • Supported development languages?
    • What are the API call restrictions?
    • How to use APIs more safely?
  • API Reference
    • Manager API
    • Client API
  • CHANGELOGS
    • API
Powered by GitBook
On this page
  • Communication via websocket protocol
  • Market Address Description
  • Introduction to Common Standard Request Headers
  • Introduction to Common Standard Response Headers
  1. CLIENT API
  2. Market Data

Introduction

Communication via websocket protocol

Market Address Description

/quote Registered users in the Cryptocurrency Forex area

/quote_guest Visitors to the Cryptocurrency Forex area

/quote_stock Registered users in the stock area

Assume the provided url is wss://prewppc-3.cmfbl.com/apiQuote

If you want to register users in the digital currency foreign exchange area or the stock area, you need to add the token query string in the URL. No token is required to access the visitor market. Example:

wss://prewppc.trade.com/apiQuote/quote_guest wss://prewppc.trade.com/apiQuote/quote?token=02d40878-3627-42bd-a61c-657fb4a3be55app wss://prewppc.trade.com/apiQuote/quote_stock?token=02d40878-3627-42bd-a61c-657fb4a3be55app

Introduction to Common Standard Request Headers

For the specific request message format, refer to the request examples in each interface.

Fields

name

type

Required fields

illustrate

cmd_id

Protocol Number

uint32

See the individual interface definitions for details.

seq_id

Serial Number

uint32

yes

The requester generates a unique value, and the response will be consistent with the request

ext

Tracking number (trace)

string

yes

The requester generates a unique field. The response will be consistent with the request. The maximum length is 64.

data

Data body

object

yes

For specific data formats, see the definitions of each interface.

Introduction to Common Standard Response Headers

For the specific response message format, refer to the response examples in each interface.

Fields

name

type

illustrate

right

Return Value

int32

Error code description

msg

information

string

A detailed description of success or failure

cmd_id

Protocol Number

uint32

See the individual interface definitions for details.

seq_id

Serial Number

uint32

The requester generates a unique value, and the response will be consistent with the request

ext

Tracking number (trace)

string

The requester generates a unique field. The response will be consistent with the request. The maximum length is 64.

data

Data body

object

For specific data formats, see the definitions of each interface.

PreviousMarket DataNextLimit

Last updated 10 months ago