接口详情
机构增仓板块个股
- 接口 ID
- gglist-jgcc-plate-stocks-zhulichicang
- 分组
- 机构增仓
- 调用地址
- /v1/endpoints/gglist-jgcc-plate-stocks-zhulichicang/call
可传参数
| 参数 | 名称 | 说明 | 必填 | 类型 | 示例值 |
|---|---|---|---|---|---|
| trade_date | 交易日期 | 交易日期,格式通常为 YYYY-MM-DD。 | 否 | string | 2025-12-31 |
| page_offset | 分页起点 | 分页偏移量。第一页通常为 0,后续页按接口的分页步长递增。 | 否 | string | 0 |
| index_id | 指数/板块 ID | 指数、行业、概念或板块 ID。 | 否 | string | 801001 |
| include_insurance | 包含保险资金 | 是否包含保险资金相关筛选,默认使用示例值。 | 否 | string | 0 |
| order | 排序方向 | 排序方向或排序模式,默认使用示例值。 | 否 | string | 1 |
| sub_index_id | 子级指数/板块 ID | 子级指数、行业、概念或板块 ID。 | 否 | string | |
| type | 类型 | 接口业务类型或分类值。不同接口含义不同,默认使用示例值。 | 否 | string | 1 |
在线测试
在线测试需要登录,会使用控制台中的默认 API Key 并计入用量。
响应结构
基于最近一次接口体检样本自动生成,仅展示主要字段。
| 字段路径 | 类型 | 样例值 |
|---|---|---|
| CCJE | integer | 0 |
| Date | string | 2025-12-31 |
| IndexName | string | 芯片 |
| State | integer | 1 |
| ZCJE | integer | 0 |
| errcode | string | 0 |
| ttag | number | 0.008282999999999985 |
调用示例
curl -X POST http://127.0.0.1:8080/v1/endpoints/gglist-jgcc-plate-stocks-zhulichicang/call \
-H "X-API-Key: <api_key>" \
-H "Content-Type: application/json" \
-d '{"params":{"include_insurance":"0","index_id":"801001","order":"1","page_offset":"0","sub_index_id":"","trade_date":"2025-12-31","type":"1"}}'import requests
resp = requests.post(
"http://127.0.0.1:8080/v1/endpoints/gglist-jgcc-plate-stocks-zhulichicang/call",
headers={"X-API-Key": "<api_key>"},
json={"params": {"include_insurance":"0","index_id":"801001","order":"1","page_offset":"0","sub_index_id":"","trade_date":"2025-12-31","type":"1"}},
)
print(resp.status_code)
print(resp.text)package main
import (
"bytes"
"fmt"
"net/http"
)
func main() {
body := []byte(`{"params":{"include_insurance":"0","index_id":"801001","order":"1","page_offset":"0","sub_index_id":"","trade_date":"2025-12-31","type":"1"}}`)
req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/gglist-jgcc-plate-stocks-zhulichicang/call", bytes.NewReader(body))
req.Header.Set("X-API-Key", "<api_key>")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
fmt.Println(resp.StatusCode, err)
}