返回接口目录

接口详情

全市场个股区间统计

GET
接口 ID
getinterviewsbydatestock-stocklinedata
分组
区间统计
调用地址
/v1/endpoints/getinterviewsbydatestock-stocklinedata/call
可传参数
参数名称说明必填类型示例值
end_date结束日期查询区间结束日期,格式通常为 YYYY-MM-DD。string2025-08-19
start_date开始日期查询区间开始日期,格式通常为 YYYY-MM-DD。string2025-08-12
page_offset分页起点分页偏移量。第一页通常为 0,后续页按接口的分页步长递增。string0
order排序方向排序方向或排序模式,默认使用示例值。string1
type类型接口业务类型或分类值。不同接口含义不同,默认使用示例值。string2

在线测试

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

响应结构

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

HTTP 200 · object
字段路径类型样例值
Countinteger0
errcodestring0
ttagnumber0.0018670000000000006

调用示例

curl -X POST http://127.0.0.1:8080/v1/endpoints/getinterviewsbydatestock-stocklinedata/call \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -d '{"params":{"end_date":"2025-08-19","order":"1","page_offset":"0","start_date":"2025-08-12","type":"2"}}'
import requests

resp = requests.post(
    "http://127.0.0.1:8080/v1/endpoints/getinterviewsbydatestock-stocklinedata/call",
    headers={"X-API-Key": "<api_key>"},
    json={"params": {"end_date":"2025-08-19","order":"1","page_offset":"0","start_date":"2025-08-12","type":"2"}},
)
print(resp.status_code)
print(resp.text)
package main

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

func main() {
  body := []byte(`{"params":{"end_date":"2025-08-19","order":"1","page_offset":"0","start_date":"2025-08-12","type":"2"}}`)
  req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/getinterviewsbydatestock-stocklinedata/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)
}