返回接口目录

接口详情

个股关联股东列表

GET
接口 ID
getjgnameid-jgtracking
分组
股东数据
调用地址
/v1/endpoints/getjgnameid-jgtracking/call
可传参数
参数名称说明必填类型示例值
trade_date交易日期交易日期,格式通常为 YYYY-MM-DD 或 YYYYMMDD,按接口说明传入。string2026-03-27
person_only个人席位是否筛选个人席位,默认使用示例值。string1
stock_code证券代码股票、指数或板块代码。股票通常为 6 位代码,指数/板块按接口说明传入。string002600

在线测试

在线测试需要登录,会使用控制台中的默认 API Key 并计入用量。

响应结构

基于最近一次接口体检样本自动生成,仅展示主要字段。

HTTP 200 · object
字段路径类型样例值
List[].JGstring张强
List[].JGIDstring11828
errcodestring0
tnumber0.0013070000000000026

调用示例

curl -X POST http://127.0.0.1:8080/v1/endpoints/getjgnameid-jgtracking/call \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -d '{"params":{"person_only":"1","stock_code":"002600","trade_date":"2026-03-27"}}'
import requests

resp = requests.post(
    "http://127.0.0.1:8080/v1/endpoints/getjgnameid-jgtracking/call",
    headers={"X-API-Key": "<api_key>"},
    json={"params": {"person_only":"1","stock_code":"002600","trade_date":"2026-03-27"}},
)
print(resp.status_code)
print(resp.text)
package main

import (
  "bytes"
  "fmt"
  "net/http"
)

func main() {
  body := []byte(`{"params":{"person_only":"1","stock_code":"002600","trade_date":"2026-03-27"}}`)
  req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/getjgnameid-jgtracking/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)
}