市场列表
GET
/market/markets在线调试GET https://api.shengkezhi.com/open/v1/market/markets等效 curl
curl "https://api.shengkezhi.com/open/v1/market/markets" \ -H "Authorization: Bearer sk_xxx"
GET /market/markets — 返回 market 数据集去重取值与各自标的数量,按数量倒序。
数据范围
接口返回国内金融市场数据集,覆盖平台已开放的股票、ETF、期货、指数等品类。
需在请求头携带 Authorization: Bearer sk_xxx。
请求参数
无。
响应
[{ market: string, count: number }]
实测
curl "https://api.shengkezhi.com/open/v1/market/markets" -H "Authorization: Bearer sk_xxx"
[
{"market":"stock","count":5464},
{"market":"etf","count":1532},
{"market":"future","count":77},
{"market":"index","count":38}
]