返回顶部
i

itick-stock-quote股票实时行情

查询股票实时盘中行情、股票信息等功能。支持HK(港股)、SH(上证)、SZ(深证)、US(美股)、SG(新加坡)、JP(日本)、TW(中国台湾)、IN(印度)、TH(泰国)、DE(德国、MX(墨西哥)、MY(马来西亚)、TR(土耳其)、ES(西班牙)、NL(荷兰)、GB(英国)等,可获取实时报价和深度行情(买卖盘口)。使用itick.org API。

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
466
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

itick-stock-quote

股票实时行情查询

使用itick API查询股票实时行情。

⚠️ Token 与鉴权(必读)

API Token 通过环境变量 ITICKAPITOKEN 自动注入(由 ClawHub 管理),不需要用户在对话中手动提供或粘贴 Token

使用方法

1. 股票信息

bash
curl -X GET https://api.itick.org/stock/info?type=stock®ion=&code= \
-H accept: application/json \
-H token: $ITICKAPITOKEN

响应参数示例:

json
{
code: 0, //响应code
msg: ok, //响应描述
data: { //响应结果
c: AAPL, //股票代码
n: Apple Inc., //股票名称
t: stock, //类型
e: NASDAQ, //交易所
s: Electronic Technology, //所属板块
i: Telecommunications Equipment, //所属行业
r: USD, //区域/国家代码
bd: Apple, Inc. engages in the design, manufacture, and sale of smartphones, personal computers, tablets, wearables and accessories, and other varieties of related services. It operates through the following geographical segments: Americas, Europe, Greater China, Japan, and Rest of Asia Pacific. The Americas segment includes North and South America. The Europe segment consists of European countries, as well as India, the Middle East, and Africa. The Greater China segment comprises China, Hong Kong, and Taiwan. The Rest of Asia Pacific segment includes Australia and Asian countries. Its products and services include iPhone, Mac, iPad, AirPods, Apple TV, Apple Watch, Beats products, AppleCare, iCloud, digital content stores, streaming, and licensing services. The company was founded by Steven Paul Jobs, Ronald Gerald Wayne, and Stephen G. Wozniak in April 1976 and is headquartered in Cupertino, CA., //公司简介
wu: http://www.apple.com, //公司网站URL
mcb: 3436885784335, //总市值
tso: 14840389413, //总股本
pet: 35.3865799154784, //市盈率
fcc: USD //货币代码
}
}

2. 股票IPO

bash
curl -X GET https://api.itick.org/stock/ipo?type=®ion= \
-H accept: application/json \
-H token: $ITICKAPITOKEN

响应参数示例:

json
{
code: 0, //响应code
msg: ok, //响应描述
data: { //响应结果
content: [
{
dt: 1755820800000, //上市日期时间戳(单位:毫秒)
cn: Picard Medical Inc, //股票公司名称
sc: PMI, //股票代码
ex: NYSE, //交易所名称
mc: 19.1M, //市值
pr: 3.50-4.50, //价格
ct: US, //国家代码
bs: 1648403200, //开始申购时间(单位:秒)
es: 1648998400, //申购截止时间(单位:秒)
ro: 1649001600 //公布中签结果时间(单位:秒)
},
{
dt: 1755734400000,
cn: Elite Express Holding Inc,
sc: ETS,
ex: NASDAQ,
mc: 16.0M,
pr: 4.00,
ct: US,
bs: 1648403200,
es: 1648998400,
ro: 1649001600
}
],
page: 0,
totalElements: 28,
totalPages: 14,
last: false,
size: 2
}
}

3. 股票除权因子

bash
curl -X GET https://api.itick.org/stock/split?region= \
-H accept: application/json \
-H token: $ITICKAPITOKEN

响应参数示例:

json
{
code: 0, //响应code
msg: ok, //响应描述
data: { //响应结果
content: [
{
d: 1768521600000, //复权日期时间戳(单位:毫秒)
r: HK, //国家/地区代码
n: Polyfair Holdings, //股票名称
c: 8532, //股票代码
v: 1:10 //复权因子,拆股/合股的比例
},
{
d: 1768262400000,
r: HK,
n: China Supply Chain Holdings,
c: 3708,
v: 1:10
}
],
totalPages: 1,
totalElements: 3,
page: 0,
last: true,
size: 20
}
}

4. 实时成交

bash
curl -X GET https://api.itick.org/stock/tick?region=&code= \
-H accept: application/json \
-H token: $ITICKAPITOKEN

响应参数示例:

json
{
code: 0, //响应code
msg: null, //响应描述
data: {
s: 700, //产品代码
ld: 567, //最新价
t: 1754554087000, //最新成交的时间戳:2025-08-07 08:08:07 UTC
v: 1134500, //成交数量
te: 0 //交易时段 0:常规交易 1:盘前交易 2:盘后交易
}
}

5. 实时报价

bash
curl -X GET https://api.itick.org/stock/quote?region=&code= \
-H accept: application/json \
-H token: $ITICKAPITOKEN

响应参数示例:

json
{
code: 0, //响应code
msg: null, //响应描述
data: { //响应结果
s: 700, //产品代码
ld: 616, //最新价
o: 608, //开盘价
p: 608, //前日收盘价
h: 616, //最高价
l: 601.5, //最低价
t: 1765526889000, //最新成交的时间戳:2025-12-12 08:08:09 UTC
v: 17825495, //成交数量
tu: 10871536434.36, //成交额
ts: 0, //交易状态 0:正常交易 1:停牌 2:退市 3:熔断
ch: 8, //涨跌额
chp: 1.32 //涨跌幅百分比
}
}

6. 实时盘口

bash
curl -X GET https://api.itick.org/stock/depth?region=&code= \
-H accept: application/json \
-H token: $ITICKAPITOKEN

响应参数示例:

json
{
code: 0, //响应code
msg: null, //响应描述
data: { //响应结果
s: 700, //产品代码
a: [ //卖盘
{
po: 1, //档位
p: 567, //价格
v: 13400, //挂单量
o: 3 //订单数量
},
{
po: 2,
p: 567.5,
v: 170200,
o: 52
},
{
po: 3,
p: 568,
v: 268400,
o: 217
},
{
po: 4,
p: 568.5,
v: 126000,
o: 72
},
{
po: 5,
p: 569,
v: 132200,
o: 133
},
{
po: 6,

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 itick-stock-quote-1776196093 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 itick-stock-quote-1776196093 技能

通过命令行安装

skillhub install itick-stock-quote-1776196093

下载

⬇ 下载 itick-stock-quote v1.0.0(免费)

文件大小: 4.29 KB | 发布时间: 2026-4-15 10:37

v1.0.0 最新 2026-4-15 10:37
Initial release of itick-stock-quote.

- Supports real-time stock quotes and information queries.
- Covers major stock markets including HK, SH, SZ, US, SG, JP, TW, IN, TH, DE, MX, MY, TR, ES, NL, GB.
- Provides endpoints for stock info, IPO events, stock splits, real-time trades, quotes, market depth, and K-line data.
- Access secured by ITICK_API_TOKEN (managed via environment variable).
- Detailed API request and response examples for each feature included in documentation.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large