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
  • API Address Description
  • Stock HTTP Interface API Address
  • Forex, Cryptocurrency (Digital Currency), Commodity (Precious Metal) HTTP Interface API Address
  • Forex, Cryptocurrency, and Commodities Market Data Query
  • Official Website

Was this helpful?

  1. Integration Process
  2. Market Address Description

HTTP Quotes API Address Description

PreviousMarket Address DescriptionNextWebsocket Quotes API Address Description

Last updated 2 months ago

Was this helpful?

English /

API Address Description

Stock HTTP Interface API Address

/quote-stock-b-api Stock Query API\

The query API uses HTTPS protocol, the complete URL is: \

Each time a query request is sent, the method name and token information need to be provided\

Single product request K-line example: \

Batch product request K-line example: Note: When making batch product requests for K-line, the request parameters should be placed in the body.\

Request for latest transaction price example: \

Request for latest market depth example: \

For specific calling methods, please refer to the HTTP interface list\

Forex, Cryptocurrency (Digital Currency), Commodity (Precious Metal) HTTP Interface API Address

/quote-b-api Forex, Cryptocurrency (Digital Currency), Commodity (Precious Metal) Query API\

The query API uses HTTPS protocol, the complete URL is: \

Each time a query request is sent, the method name and token information need to be provided\

For specific calling methods, please refer to the HTTP interface list

Interface Address

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

Request Example

When sending a query request, it must include the method name and token information. An example of a request is as follows:

https://quote.alltick.io/quote-stock-b-api/kline?token=yourToken&query=queryData

Usage Instructions

Through this interface, you can query various types of stock market data. For detailed calling methods, please refer to our HTTP interface list.


Forex, Cryptocurrency, and Commodities Market Data Query

Interface Address

  • Base Path: /quote-b-api

Request Example

Each query must also include the method name and token information. The request format is as follows:

https://quote.alltick.io/quote-b-api/kline?token=yourToken&query=queryData

Usage Instructions

This interface allows you to query market data for forex, cryptocurrencies (digital currencies), and commodities (precious metals). For the specific method of call, see our HTTP interface documentation 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

Single product request K-line example:

Batch product request K-line example: Note: When making batch product requests for K-line, the request parameters should be placed in the body.\

Request for latest transaction price example:

Request for latest market depth example:

Complete URL:

Complete URL:

Official website:

中文
https://quote.alltick.io/quote-stock-b-api
https://quote.alltick.io/quote-stock-b-api/kline?token=yourToken&query=queryData
https://quote.alltick.io/quote-stock-b-api/batch-kline?token=yourToken
https://quote.alltick.io/quote-stock-b-api/trade-tick?token=yourToken&query=queryData
https://quote.alltick.io/quote-stock-b-api/depth-tick?token=yourToken&query=queryData
https://quote.alltick.io/quote-b-api
https://quote.alltick.io/quote-b-api/kline?token=yourToken&query=queryData
https://quote.alltick.io/quote-b-api/batch-kline?token=yourToken
https://quote.alltick.io/quote-b-api/trade-tick?token=yourToken&query=queryData
https://quote.alltick.io/quote-b-api/depth-tick?token=yourToken&query=queryData
https://quote.alltick.io/quote-stock-b-api
https://quote.alltick.io/quote-b-api
https://alltick.co/