跳轉到主要內容
GET
/
v1
/
symbols
/
available
Available Symbols
curl --request GET \
  --url https://api.tickdb.ai/v1/symbols/available \
  --header 'X-API-Key: <api-key>'
{
  "code": 0,
  "message": "success",
  "data": {
    "symbols": [
      {
        "symbol": "BTCUSDT",
        "market": "CRYPTO",
        "base_asset": "BTC",
        "quote_asset": "USDT",
        "status": "active"
      }
    ],
    "total": 1250,
    "page": 1,
    "limit": 50
  }
}
GET /v1/symbols/available

概述

查詢 TickDB 支持的所有可用交易品種。

支持的市場

  • CRYPTO - 加密貨幣交易對
  • US - 美國股票市場
  • HK - 香港證券交易所
  • FX - 外匯市場
  • INDEX - 市場指數
  • METAL - 貴金屬
curl -H "X-API-Key: YOUR_API_KEY" \
     "https://api.tickdb.ai/v1/symbols/available?market=FOREX&limit=5"

響應示例

{
    "products": [
        {
            "symbol": "AUDBRL",
            "name": "AUDBRL",
            "market": "FOREX",
            "product_type": "forex",
            "currency": "USD",
            "is_active": true,
            "updated_at": "2026-01-13T11:19:59+08:00"
        },
        {
            "symbol": "AUDCAD",
            "name": "AUDCAD",
            "market": "FOREX",
            "product_type": "forex",
            "currency": "USD",
            "is_active": true,
            "updated_at": "2026-01-13T11:19:59+08:00"
        },
        {
            "symbol": "AUDCHF",
            "name": "AUDCHF",
            "market": "FOREX",
            "product_type": "forex",
            "currency": "USD",
            "is_active": true,
            "updated_at": "2026-01-13T11:19:59+08:00"
        },
        {
            "symbol": "AUDCNY",
            "name": "AUDCNY",
            "market": "FOREX",
            "product_type": "forex",
            "currency": "USD",
            "is_active": true,
            "updated_at": "2026-01-13T11:19:59+08:00"
        },
        {
            "symbol": "AUDCZK",
            "name": "AUDCZK",
            "market": "FOREX",
            "product_type": "forex",
            "currency": "USD",
            "is_active": true,
            "updated_at": "2026-01-13T11:19:59+08:00"
        }
    ],
    "summary": {
        "total_products": 434,
        "by_market": {
            "FOREX": 434
        },
        "last_updated": "2026-01-13T11:19:59+08:00"
    },
    "cache_info": {
        "from_cache": true,
        "cached_at": "2026-01-13T11:19:59+08:00",
        "expires_at": "2026-01-13T11:49:59+08:00"
    },
    "pagination": {
        "limit": 5,
        "offset": 0,
        "count": 5
    }
}

注意事項

  • 市場代碼不區分大小寫
  • 交易品種命名規則請參閱數據規範文檔

授權

X-API-Key
string
header
必填

查詢參數

market
enum<string>

Market filter

可用選項:
CRYPTO,
US,
HK,
FX,
INDEX,
METAL
範例:

"CRYPTO"

limit
integer
預設值:100

Number of symbols (default 100, max 500)

必填範圍: 1 <= x <= 500
範例:

50

page
integer
預設值:1

Page number for pagination

必填範圍: x >= 1
範例:

1

回應

200 - application/json

Successful response

code
integer
範例:

0

message
string
範例:

"success"

data
object