AllTick API Docs
API Status
  • Welcome
  • Integration Process
    • Process Description
    • Market Address Description
      • HTTP Quotes API Address Description
      • Websocket Quotes API Address Description
    • Token application
    • Interface restriction description
      • HTTP interface restrictions
      • Websocket interface limitations
      • Error code description
    • Universal standard header description
      • HTTP Common Standard Headers
      • Websocket Common Standard Header
    • Product Code List
      • A Share
      • Hong Kong Stock
      • US Stock
      • Cryptocurrency (Digital Currency)
      • Commodity (Precious Metals)
      • Forex
  • REST API
    • HTTP request example
    • HTTP interface API
      • GET Single Product K line query(High Low, Open, Close)
      • POST Query the latest 2 K lines of products in batches(High , Low, Open, Close)
      • GET Order Book(Depth) Query
      • GET Latest transaction price query(Latest Price)
      • GET Stocks product information query
      • Price changes, Market closure, Holidays, Limit up/down, New listings, and Delistings
  • Websocket API
    • Websocket request example
    • Websocket Interface API
      • Latest Trade Price (Real-time Tick Data) Batch Subscription
      • Order Book (Real-time Tick-by-Tick, Market Depth) Subscription
      • Cancel quote subscription
      • Ping Pong
      • K-line push (not supported)
  • FAQs
    • Basic usage
      • What types of financial data does AllTick provide?
      • How to obtain an API key from AllTick?
      • What is the data update frequency of AllTick?
      • How to integrate AllTick data into my application?
      • What programming languages does AllTick support for API calls?
      • Can I use AllTick's data for commercial purposes?
      • How to contact AllTick customer support?
      • Does AllTick's API have request limitations?
      • How to report data issues or API malfunctions?
      • Does AllTick provide real-time or delayed data?
    • Subscription and Account Management
      • How to register an AllTick account?
      • Does AllTick offer a free trial period?
      • How to cancel AllTick's subscription service?
      • What services does my subscription include?
      • How to upgrade my AllTick subscription plan?
      • How to change my account information?
      • I forgot my login password, what should I do?
      • How to secure my AllTick account?
      • Can multiple people share one AllTick account?
      • Can my subscription be refunded?
    • Data usage and technical issues
      • How to Use AllTick's WebSocket Service?
      • What data formats does AllTick's API support?
      • How to Handle High-Frequency Updates of AllTick Data?
      • I encountered a technical problem when using the API, how can I solve it?
      • How to ensure the accuracy of data received from AllTick?
      • Does AllTick Provide Historical Data Query?
      • How do I limit my data usage to avoid exceeding my subscription limits?
      • Does AllTick's API support batch requests?
      • How can I get real-time notifications and alerts on specific financial markets?
      • Does AllTick provide data analysis and visualization tools?
Powered by GitBook
On this page
  • Stock Market Data WebSocket Subscription
  • Forex, Cryptocurrency, and Commodities Market Data WebSocket Subscription
  • Official Website

Was this helpful?

  1. Integration Process
  2. Market Address Description

Websocket Quotes API Address Description

PreviousHTTP Quotes API Address DescriptionNextToken application

Last updated 2 months ago

Was this helpful?

English /

Stock Market Data WebSocket Subscription

Interface Address

  • Base Path: /quote-stock-b-ws-api

  • Complete URL: wss://quote.alltick.io/quote-stock-b-ws-api

Authentication Information

Each time a connection is established, you must append your authentication token to the URL as shown below:

wss://quote.alltick.io/quote-stock-b-ws-api?token=yourToken

Subscription Instructions

Once the connection is successful, you can subscribe to specific stock market data as needed. For detailed calling methods, please refer to our WebSocket interface list.


Forex, Cryptocurrency, and Commodities Market Data WebSocket Subscription

Interface Address

  • Base Path: /quote-b-ws-api

  • Complete URL: wss://quote.alltick.io/quote-b-ws-api

Authentication Information

When establishing a connection, you also need to append your authentication token to the URL to ensure the security of data transmission. The correct format should be as follows:

wss://quote.alltick.io/quote-b-ws-api?token=yourToken

Subscription Instructions

Once the connection is established, you can subscribe to market data for forex, cryptocurrencies (digital currencies), and commodities (precious metals) according to your needs. For the specific method of call, please check our WebSocket interface list.


Note: For the security of your account, please ensure your token information is kept safe. If you need further assistance or have any questions, feel free to contact our technical support team at any time.


Official Website

Official website:

中文
https://alltick.co/