行情数据API
官网Github
  • 开始
  • START
    • 说明
    • 获取授权
    • 产品清单
    • 错误代码
    • K线结构
  • REST API
    • 基础数据
    • 股票数据
    • 指数数据
    • 外汇数据
    • 加密货币
  • WEBSOCKET API
    • 股票报价
    • 指数报价
    • 外汇报价
    • 加密货币
  • FIX API
    • 对接说明
  • AI量化教程
    • QLib|开源AI量化投资平台|外汇股票API
    • 解锁 AI 量化新境界:Qbot 携手 iTick
    • iTick 外汇股票报价 API 服务与 DeepSeek-R1 大模型深度融合:构建智能量化投资新生态
    • RSI 量化策略实战指南:基于 iTick 外汇贵金属股票报价API的 Python 实现
    • 双均线量化策略实战指南:基于 iTick 外汇API、股票API报价源的 Python 实现
    • 基于 EMA12 指标结合 iTick 外汇报价 API 、股票报价API、指数报价API的量化策略编写与回测
  • LINK
    • iTick
  • FAQ
    • 如何开通和续费套餐计划
Powered by GitBook
On this page
  • Base
  • GET 产品清单
  • GET 市场假期
  • GET 产品信息
  • Data Schema

Was this helpful?

  1. REST API

基础数据

股票API 外汇API 指数API。支持主流市场股票(美国、香港、中国、新加坡、日本等)、全球外汇、指数以及加密货币的实时、历史数据。标准易用接口风格,简明的文档以及丰富的各类示例,帮助开发者快速接入。提供长期免费股票API、免费外汇API、免费指数API、免费加密货币API的实时报价数据以及历史K线等金融数据。

Base

GET 产品清单

GET /symbol/list

Params

Name
Location
Type
Required
Description

type

query

string

yes

产品类别,stock、forex、indices、crypto

region

query

string

yes

所属区域 股票包括(HK、SZ、SH、US、SG),外汇(gb),指数(gb),数字币(ba)

code

query

string

no

none

Response Examples

{
  "code": 200,
  "status": "ok",
  "data": [
    {
      "c": "700",
      "n": "TENCENT HOLDINGS LIMITED",
      "t": "stock",
      "e": "HKEX"
    }
  ]
}

Responses

HTTP Status Code
Meaning
Description
Data schema

200

none

Inline

Responses Data Schema

HTTP Status Code 200

Name
Type
Required
Restrictions
Title
description

» code

integer

true

none

响应码,0:成功

» msg

string

true

none

异常信息,不为0时存在

» data

object

true

none

响应数据

»» c

string

true

none

产品代码

»» t

string

true

none

产品类别

»» e

string

true

none

交易所

»» n

string

true

none

产品名称

GET 市场假期

GET /symbol/holidays

Response Examples

{
  "code": 200,
  "status": "ok",
  "data": [
    {
      "c": "AU",
      "r": "Australia",
      "v": "[\"2025-01-01\", \"2025-01-27\", \"2025-04-18\", \"2025-04-21\", \"2025-04-25\", \"2025-06-09\", \"2025-12-25\", \"2025-12-26\"]",
      "et": "09:30 - 16:00",
      "ey": "2025",
      "vr": null,
      "tz": 10
    }
  ]
}

Responses

HTTP Status Code
Meaning
Description
Data schema

200

none

Inline

Responses Data Schema

HTTP Status Code 200

Name
Type
Required
Restrictions
Title
description

» code

integer

true

none

响应码,0:成功

» msg

string

false

none

异常信息,不为0时存在

» data

[object]

true

none

响应数据

»» c

string

false

none

市场代码

»» r

string

false

none

市场国家名称

»» tz

integer

false

none

市场时区

»» et

string

false

none

日内交易时间

»» v

string

false

none

年内假期日期

»» ey

string

false

none

年份

GET 产品信息

GET /symbol/info

Params

Name
Location
Type
Required
Description

type

query

string

yes

产品类别

region

query

string

yes

所属区域 HK、SZ、SH、US

code

query

string

no

none

exchange

query

string

no

none

Response Examples

{
  "code": 200,
  "status": "ok",
  "data": [
    {
      "c": "700",
      "n": "TENCENT HOLDINGS LIMITED",
      "t": "stock",
      "e": "HKEX"
    }
  ]
}

Responses

HTTP Status Code
Meaning
Description
Data schema

200

none

Inline

Responses Data Schema

HTTP Status Code 200

Name
Type
Required
Restrictions
Title
description

» code

integer

true

none

响应码,0:成功

» msg

string

true

none

异常信息,不为0时存在

» data

object

true

none

响应数据

»» c

string

true

none

产品代码

»» t

string

true

none

产品类别

»» e

string

true

none

交易所

»» n

string

true

none

产品名称

Data Schema

PreviousK线结构Next股票数据

Last updated 2 months ago

Was this helpful?

OK
OK
OK