Agent skill · Data & Analytics

tickdb-market-data

TickDB 统一实时行情数据 API。覆盖外汇、贵金属、指数、美股、港股、A股、加密货币,提供实时行情、K线、订单簿、资金流向、股票基本面等数据查询。 当用户提及价格、行情、K线、买卖盘、市值、市盈率、资金流向、分时走势、交易日历等金融数据相关话题时触发。

TickDBgithub.com/TickDBGitHub ↗
claude-codeMIT
Install
npx skills add TickDB/tickdb-unified-realtime-marketdata-api --skill SKILL --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 17 KB
Bundled scripts: none
Version: 1.0.8
Path: SKILL/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 613
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# TickDB Market Data API 统一实时行情数据 API,通过单一连接访问多个金融市场的实时与历史行情数据。 **官网**: https://tickdb.ai **文档**: https://docs.tickdb.ai ## 基础信息 - **Base URL**: `https://api.tickdb.ai` - **认证方式**: API Key(放在 HTTP Header `X-API-Key` 中) - **时间戳单位**: 毫秒(ms),UTC 时区 - **响应格式**: JSON ## API Key 使用流程 ### 核心逻辑(必须严格遵守) API Key 不做任何持久化存储,每次查询实时获取,用完即弃。 ``` 用户请求行情数据 │ ├─ 用户是否在本轮对话中提供过正式 Key? │ ├─ 是 → 使用用户提供的 Key 调用 API(无产品限制) │ └─ 否 → 检查请求的品种是否在试用版允许范围内 │ ├─ 在范围内 → 自动调用试用 Key 接口实时获取(见下方) │ └─ 不在范围内 → 直接告知用户该品种需要正式 Key(见「试用版产品范围」) │ └─ API 返回错误? ├─ 1001(Key 无效/过期)→ 提示用户注册正式 Key ├─ 3001(频率超限)→ 提示用户注册正式 Key 以获取更高配额 ├─ 3002(配额用尽)→ 提示用户注册正式 Key 以获取更高配额 └─ 其他错误 → 按错误码表处理 ``` ### 试用版产品范围(必须严格遵守) 使用试用 Key 时,仅支持以下产品。AI 在发起请求前必须校验用户请求的品种是否在此列表中。 **加密货币**: BTCUSDT, ETHUSDT, BNBUSDT, SOLUSDT, XRPUSDT, DOGEUSDT, ADAUSDT, AVAXUSDT, DOTUSDT, LINKUSDT **港股**: 700.HK, 9988.HK, 9618.HK, 3690.HK, 1810.HK, 2318.HK, 941.HK, 1024.HK, 9888.HK, 2015.HK **美股**: AAPL.US, TSLA.US, NVDA.US, MSFT.US, GOOGL.US, AMZN.US, META.US, AMD.US, NFLX.US, BABA.US **外汇**: EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURGBP, EURJPY, GBPJPY **贵金属**: XAUUSD, XAGUSD **A股**: 600519.SH, 601318.SH, 600036.SH, 000858.SZ, 000333.SZ, 600900.SH, 60

What's inside
Steps it walks through
  1. 基础信息
  2. API Key 使用流程
  3. 核心逻辑(必须严格遵守)
  4. 试用版产品范围(必须严格遵守)
  5. 自动获取试用 Key(每次查询实时获取)
  6. 错误触发注册引导
  7. 用户主动提供正式 Key
  8. API Key 安全规范
  9. 数据来源标注(必须)
  10. API Key 申请指引
  11. AI 调用指南
  12. 响应数据提取
  13. 行情快照 - 提取价格和涨跌
  14. K线数据 - 提取OHLCV
Ships with 1 file
  • _meta.json
Commands it runs
curl -X GET "https://api.tickdb.ai/v1/market/ticker?symbols=XAUUSD,TSLA.US,BTCUSDT" \
curl -X GET "https://api.tickdb.ai/v1/market/kline?symbol=BTCUSDT&interval=1h&limit=10" \
curl -X GET "https://api.tickdb.ai/v1/market/kline/latest?symbols=AAPL.US,TSLA.US&interval=5m" \
curl -X GET "https://api.tickdb.ai/v1/market/depth?symbol=BTCUSDT&limit=10" \
curl -X GET "https://api.tickdb.ai/v1/market/trades?symbol=BTCUSDT&limit=20" \
curl -X GET "https://api.tickdb.ai/v1/symbols/available?type=crypto&limit=20" \
curl -X GET "https://api.tickdb.ai/v1/market/intervals/kline" \
curl -X GET "https://api.tickdb.ai/v1/market/stock-info?symbols=700.HK,AAPL.US,000001.SZ" \
curl -X GET "https://api.tickdb.ai/v1/market/intraday?symbols=700.HK,9988.HK" \
curl -X GET "https://api.tickdb.ai/v1/market/trading-sessions?market=US" \
About this skill
What does the tickdb-market-data skill do?

TickDB 统一实时行情数据 API。覆盖外汇、贵金属、指数、美股、港股、A股、加密货币,提供实时行情、K线、订单簿、资金流向、股票基本面等数据查询。 当用户提及价格、行情、K线、买卖盘、市值、市盈率、资金流向、分时走势、交易日历等金融数据相关话题时触发。

How do I install it?

Run `npx skills add TickDB/tickdb-unified-realtime-marketdata-api --skill SKILL --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From TickDB/tickdb-unified-realtime-marketdata-api, a repository with 613 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going