Designed for Quantitative Investment and Trading Platforms
API Simple Integration
Includes Real-Time and Historical Data
Latency as Low as 170 Milliseconds
Trading Halts
Extension
in
Chrome Webstore
Try the API right now!
GEThttps://quote.alltick.io/quote-b-api/kline?token=yourToken&query={"data":{"code":"GOLD","kline_type":"8","kline_timestamp_end":"0","query_kline_num":"1","adjust_type":"0"}}
Comprehensive Commodity Tick Data API
Historical data and real-time prices for gold, silver, crude oil, and natural gas
Energy Commodities Prices
Precious Metals Prices
Precious metals (such as gold and silver) and energy (such as crude oil and natural gas) APIs are tools that allow developers to access and interact with market data for these commodities, providing real-time prices, historical data, and trading information, suitable for quantitative investment and market analysis.
Features of AllTick API
Provides real-time price information for gold, silver, crude oil, and natural gas.
Real-time push with a latency as low as 170 milliseconds, ensuring quick response.
Compatible with programming languages such as Python and Java, making integration easy.
Supports a variety of global commodities to meet diverse needs.
Offers various pricing options that are suitable for both individual and corporate users.
// Powered by AllTick.co Financial Data APIs.
package main
import (
"io/ioutil"
"log"
"net/http"
)
func httpExample() {
//Encode the following JSON with URL encoding and copy it to the "query" field in the query string of an HTTP request.
//{"trace" : "go_http_test1","data" : {"code" : "700.HK","kline_type" : 1,"kline_timestamp_end" : 0,"query_kline_num" : 2,"adjust_type": 0}}
url := "http://quote.aatest.online/quote-stock-b-api/kline?token=e945d7d9-9e6e-4721-922a-7251a9d311d0-1678159756806&query=%7B%22trace%22%20%3A%20%22go_http_test1%22%2C%22data%22%20%3A%20%7B%22code%22%20%3A%20%225.HK%22%2C%22kline_type%22%20%3A%201%2C%22kline_timestamp_end%22%20%3A%200%2C%22query_kline_num%22%20%3A%202%2C%22adjust_type%22%3A%200%7D%7D"
log.Println("request:", url)
resp, err := http.Get(url)
if err != nil {
log.Println("req error:", err)
return
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
log.Println("read response error:", err)
return
}
log.Println("response:", string(body))
}
Application Scenarios
Market Data API for Quantitative Trading and Securities Trading Platforms
Our ultra-low latency API helps quantitative investors obtain the latest market data at microsecond levels, quickly respond to market changes, and develop and optimize trading strategies.
Create your application in any language. No more C++/Java limitations. Use the technology you already know, and spend your time creating, not integrating.
Through our rich data sources, the data dashboard can visually display real-time market data and historical trends of various assets, providing strong decision support for investors and analysts.
AllTick's data interface helps financial news platforms write in-depth market analysis reports, update news headlines in real-time, maintain a competitive edge, and become a leading information source in the industry.
Why Choose AllTick
Accurate、Fast、 Reliable、Tick by Tick
Real-time Latency
Tick-level, avg latency 150ms, suitable for HFT
Millisecond-level, avg latency ~180ms; End-to-end latency can be <140ms
Usually millisecond-level, but P99 end-to-end latency can be <3s
Second-level or higher, not suitable for real-time trading
Approx. 300-600ms, not HFT oriented
High latency, approx. 10-15 mins, not suitable for real-time trading
Free Tier Rate Limits
Provides free tier for PoC, relatively loose call limits
No standard free tier, contract required; News API available for non-commercial use
No free tier, terminal subscription required; Daily limit 500,000 hits
Free tier limited to 5 requests/min, mainly for education or Demo
Free credits provided, but actual available requests are very limited
Free quota sufficient for personal use, pay-per-request thereafter
WebSocket Support
Native WebSocket support, standard feature with low-latency push
Supports WebSocket API
Supported (Streaming data via B-PIPE)
No WebSocket support
Limited WebSocket capabilities, not a core feature
No WebSocket support
Free Historical Data
Premium plans offer 5+ years of historical data
Subscription required, no free historical data
Terminal subscription required, no free historical data
Free historical data available, mostly low-frequency time series
Very limited free historical data
Comprehensive historical data, free quota sufficient for personal use
Price (1M requests/month)
From $99/mo, clear and predictable pricing
Contract required, usually thousands of USD/mo
Contract required, usually thousands of USD/mo
Approx. $300/mo or higher for 1M requests
Usually over $500/mo for 1M requests
Pay-per-request, approx. $100-200 for 1M requests (estimated)
API Availability (2025)
Financial-grade stability, >99.9% availability in 2025
Usually >99.9% (Financial-grade service)
Usually >99.9% (Financial-grade service)
Availability ~99.0-99.5%, susceptible to rate limiting during peaks
Availability ~99.9%, but relies on complex billing/quota system
Availability approx. 99.5%
Reliable Market Data Source
Our system has 99.95% SLA. AllTick tends to raise the standards for quality and uptime to the next level.
Wide Coverage
We support around 100 000 symbols across a different range of assets available from all over the world.
Low-latency API with real-time data streaming
The real-time data stream conducted through WebSocket has ultra-low latency, averaging only about 170 milliseconds.
High-Frequency Data with Tick-by-Tick Updates
Real-time push of every tick, each one traceable and 100% synchronized with the exchange's real-time trading quotes.
Simple Pricing
Instant Access Cancel Anytime
Free
Great for trying our APIs
0 USDT
/Month
10 Demo Symbols
10 API calls per minute (6 seconds each)
1 Websockets
1 Years Historical candlestick
Last Price
End of Day Data
Basic
Great for WebSocket
99 USDT
/Month
Choose 100 symbols from all products
Supports Forex, Commodities, Stocks, Cryptocurrencies
60 API calls per minute (1 second each)
1 Websockets
1 Years Historical candlestick
Last Price
End of Day Data
Real-time candlestick
Order Book
Real-time tick-by-tick
Premium
Great for Trades
199 USDT
/Month
Choose 200 symbols from all products
Supports Forex, Commodities, Stocks, Cryptocurrencies
600 API calls per minute (10 calls per second)
3 Websockets
3 Years Historical candlestick
Last Price
End of Day Data
Real-time candlestick
Order Book
Real-time tick-by-tick
Professional
Perfect for exchanges
399 USDT
/Month
Choose 3000 symbols from all products
Supports Forex, Commodities, Stocks, Cryptocurrencies
1200 API calls per minute (20 calls per second)
10 Websockets
5 Years Historical candlestick
Last Price
End of Day Data
Real-time candlestick
Order Book
Real-time tick-by-tick
All HK Stocks
Access the entire HK stocks market.
399 USDT
/Month
Full Hong Kong Stock Market Data (about 3000 stocks)
1200 API calls per minute (20 calls per second)
10 Websockets
Recently 500 historical candlesticks
Last Price
End of Day Data
Real-time candlestick
Order Book
Real-time tick-by-tick
All CN Stocks
Access the entire All CN stocks market.
599 USDT
/Month
Full CN Stock Market Data (about 5000 stocks, excluding ST, *ST stocks)
1200 API calls per minute (20 calls per second)
10 Websockets
Recently 500 historical candlesticks
Last Price
End of Day Data
Real-time candlestick
Order Book
Real-time tick-by-tick
All US Stocks
Access the entire US stocks market.
799 USDT
/Month
Full U.S. Stock Market Data (about 11000 stocks)
1200 API calls per minute (20 calls per second)
10 Websockets
Recently 500 historical candlesticks
Last Price
End of Day Data
Real-time candlestick
Order Book
Real-time tick-by-tick
Contact US
Not sure which plan to choose?
Customer service team is available online:
Mon-Fri 01:00 - 10:00 (UTC+0)
Mon-Fri 09:00 - 18:00 (Singapore Time)