Skip to content
iTick
  1. 文档
  2. REST API
  3. 指数数据
  4. 批量实时报价

批量实时报价

批量获取全球主要股票指数的实时报价数据,覆盖沪深300、上证指数、深证成指、标普500、纳斯达克、恒生等核心指数。提供各指数的最新价、涨跌幅、成交量、振幅等完整行情指标,毫秒级更新频率。

GET/indices/quotes

请求参数

regionenum必填

市场代码

codesstring必填

产品代码, 多个产品用英文逗号隔开; 不同套餐支持最大数量不同:基础套餐:10、专业套餐:20、高级套餐:50,企业套餐支持自定义

响应参数

codenumber

响应code

msgstring

响应描述

dataobject▶响应结果
sstring

symbol标的代码

ldnumber

最新价

onumber

开盘价

pnumber

前日收盘价

hnumber

最高价

lnumber

最低价

tnumber

最新成交的时间戳

vnumber

成交数量

tunumber

成交额

tsnumber

标的交易状态

chnumber

涨跌额

chpnumber

涨跌幅百分比

代码示例

import requests

url = "https://api.itick.org/indices/quotes?region=GB&codes=SPX,DJI"

headers = {
"accept": "application/json"
"token": "Your Token"
}

response = requests.get(url, headers=headers)

print(response.text)

查询 URL

GEThttps://api.itick.org/indices/quotes?region=GB&codes=SPX,DJI

,即可运行查询

响应结果

{
  "code": 0,
  "msg": null,
  "data": {
    "SPX": {
      "s": "SPX",
      "ld": 6827.42,
      "o": 6886.85,
      "p": 6889.05,
      "h": 6899.85,
      "l": 6801.79,
      "t": 1765573268000,  // 2025-12-12 21:01:08 UTC
      "v": 3086000000,
      "tu": 21106572620000,
      "ch": -73.59,
      "chp": -1.07,
      "ts": 0
    },
    "DJI": {
      "s": "DJI",
      "ld": 48458.06,
      "o": 48714.75,
      "p": 48705.05,
      "h": 48886.86,
      "l": 48334.1,
      "t": 1765574400000,  // 2025-12-12 21:20:00 UTC
      "v": 992800000,
      "tu": 48155853266000,
      "ch": -245.96,
      "chp": -0.51,
      "ts": 0
    }
  }
}