Available Symbols
curl --request GET \
--url https://api.tickdb.ai/v1/symbols/available \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tickdb.ai/v1/symbols/available"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tickdb.ai/v1/symbols/available', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tickdb.ai/v1/symbols/available",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tickdb.ai/v1/symbols/available"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tickdb.ai/v1/symbols/available")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickdb.ai/v1/symbols/available")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 0,
"message": "success",
"data": {
"products": [
{
"symbol": "000001.SZ",
"name": "平安银行",
"market": "CN",
"type": "stock",
"currency": "CNY",
"is_active": true,
"updated_at": "2026-03-15T20:27:58Z"
}
],
"summary": {
"total_products": 32492,
"by_market": {
"CN": 6643,
"GLOBAL": 14833,
"HK": 2909,
"US": 8107
},
"by_type": {
"crypto": 877,
"stock": 17658,
"forex": 1207,
"indices": 12750
},
"last_updated": "2026-03-27T11:09:44+08:00"
},
"pagination": {
"limit": 10,
"offset": 0,
"total": 6642,
"count": 10
}
}
}通用行情接口
产品查询
查询 TickDB 支持的产品,覆盖外汇、指数、美股、港股、A股、中国期货、加密货币等市场,产品列表持续增加中。
GET
/
v1
/
symbols
/
available
Available Symbols
curl --request GET \
--url https://api.tickdb.ai/v1/symbols/available \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.tickdb.ai/v1/symbols/available"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.tickdb.ai/v1/symbols/available', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.tickdb.ai/v1/symbols/available",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.tickdb.ai/v1/symbols/available"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.tickdb.ai/v1/symbols/available")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.tickdb.ai/v1/symbols/available")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"code": 0,
"message": "success",
"data": {
"products": [
{
"symbol": "000001.SZ",
"name": "平安银行",
"market": "CN",
"type": "stock",
"currency": "CNY",
"is_active": true,
"updated_at": "2026-03-15T20:27:58Z"
}
],
"summary": {
"total_products": 32492,
"by_market": {
"CN": 6643,
"GLOBAL": 14833,
"HK": 2909,
"US": 8107
},
"by_type": {
"crypto": 877,
"stock": 17658,
"forex": 1207,
"indices": 12750
},
"last_updated": "2026-03-27T11:09:44+08:00"
},
"pagination": {
"limit": 10,
"offset": 0,
"total": 6642,
"count": 10
}
}
}注意事项
- 市场代码不区分大小写
- 产品命名规则请参阅数据规范文档
- 仅返回状态为活跃且已确认可用的产品
- 使用
market=CN&type=futures查询可用的中国期货 - 除 API 查询外,您也可以登录 TickDB 官网 用户中心,在产品管理页面直接浏览和搜索所有支持的产品

市场与产品类型
通过market 和 type 参数可以灵活过滤产品,两者可单独或组合使用。
| market | type | 说明 | 产品量级 |
|---|---|---|---|
| GLOBAL | forex | 外汇货币对、贵金属 | 1,200+ |
| GLOBAL | indices | 市场指数 | 12,900+ |
| GLOBAL | crypto | 加密货币交易对 | 800+ |
| US | stock | 美国股票 | 12,400+ |
| HK | stock | 香港股票 | 4,300+ |
| CN | stock | A股 | 6,000+ |
| CN | futures | 中国期货 | 持续更新 |
market按具体市场过滤,如market=CN返回A股和中国期货type按产品大类过滤,如type=stock返回 US + HK + CN 全部股票- 组合使用:
market=HK&type=stock仅返回港股
请求参数
| 参数名 | 是否必须 | 描述 |
|---|---|---|
| type | 否 | 产品类型过滤,可选值:stock, crypto, forex, indices, futures |
| market | 否 | 市场过滤,可选值:GLOBAL, US, HK, CN |
| limit | 否 | 每页返回数量,默认100,最大1000 |
| offset | 否 | 分页偏移量,默认0 |
返回字段说明
| 字段名 | 描述 |
|---|---|
| products | 产品数组 |
| └─ symbol | 产品代码 |
| └─ name | 产品名称 |
| └─ market | 市场代码 |
| └─ type | 产品类型(stock/crypto/forex/indices/futures) |
| └─ currency | 交易币种(CNY/USD/HKD/USDT) |
| └─ is_active | 是否活跃 |
| └─ updated_at | 更新时间 |
| summary | 汇总信息 |
| └─ total_products | 产品总数 |
| └─ by_market | 按市场统计数量 |
| └─ by_type | 按类型统计数量 |
| └─ last_updated | 最后更新时间 |
| pagination | 分页信息 |
| └─ limit | 每页数量 |
| └─ offset | 偏移量 |
| └─ total | 总数 |
| └─ count | 当前页返回数量 |
授权
查询参数
Product type filter
可用选项:
stock, crypto, forex, indices, futures 示例:
"stock"
Market filter
可用选项:
GLOBAL, US, HK, CN 示例:
"CN"
Number of symbols per page (default 100, max 1000)
必填范围:
1 <= x <= 1000示例:
50
Offset for pagination (default 0)
必填范围:
x >= 0示例:
0
⌘I
