接口详情
异动实时
- 接口 ID
- getpianlizhi-index-stockbidyidong
- 分组
- 集合竞价
- 调用地址
- /v1/endpoints/getpianlizhi-index-stockbidyidong/call
可传参数
| 参数 | 名称 | 说明 | 必填 | 类型 | 示例值 |
|---|---|---|---|---|---|
| monitor_type | 监控类型 | 监控类型,默认使用示例值。 | 否 | string | 1 |
在线测试
在线测试需要登录,会使用控制台中的默认 API Key 并计入用量。
响应结构
基于最近一次接口体检样本自动生成,仅展示主要字段。
| 字段路径 | 类型 | 样例值 |
|---|---|---|
| Day | string | 2026-05-29 |
| Many_Num | integer | 20 |
| Time | integer | 1780203018 |
| ZDJKList[].StockID | string | 301217 |
| ZDJKList[].StockName | string | 铜冠铜箔 |
| errcode | string | 0 |
| ttag | number | 0.0032410000000000494 |
调用示例
curl -X POST http://127.0.0.1:8080/v1/endpoints/getpianlizhi-index-stockbidyidong/call \
-H "X-API-Key: <api_key>" \
-H "Content-Type: application/json" \
-d '{"params":{"monitor_type":"1"}}'import requests
resp = requests.post(
"http://127.0.0.1:8080/v1/endpoints/getpianlizhi-index-stockbidyidong/call",
headers={"X-API-Key": "<api_key>"},
json={"params": {"monitor_type":"1"}},
)
print(resp.status_code)
print(resp.text)package main
import (
"bytes"
"fmt"
"net/http"
)
func main() {
body := []byte(`{"params":{"monitor_type":"1"}}`)
req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/getpianlizhi-index-stockbidyidong/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)
}