返回接口目录

接口详情

涨停历史

POST
接口 ID
flash-api-xuangubao-com-cn-api-pool-detail-limit-up-2
分组
涨停分析
调用地址
/v1/endpoints/flash-api-xuangubao-com-cn-api-pool-detail-limit-up-2/call
可传参数
参数名称说明必填类型示例值
trade_date交易日期交易日期,格式通常为 YYYY-MM-DD。string2024-11-14
pool股票池股票池名称,例如涨停、跌停等池。stringlimit_up

在线测试

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

调用示例

curl -X POST http://127.0.0.1:8080/v1/endpoints/flash-api-xuangubao-com-cn-api-pool-detail-limit-up-2/call \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -d '{"params":{"pool":"limit_up","trade_date":"2024-11-14"}}'
import requests

resp = requests.post(
    "http://127.0.0.1:8080/v1/endpoints/flash-api-xuangubao-com-cn-api-pool-detail-limit-up-2/call",
    headers={"X-API-Key": "<api_key>"},
    json={"params": {"pool":"limit_up","trade_date":"2024-11-14"}},
)
print(resp.status_code)
print(resp.text)
package main

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

func main() {
  body := []byte(`{"params":{"pool":"limit_up","trade_date":"2024-11-14"}}`)
  req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/flash-api-xuangubao-com-cn-api-pool-detail-limit-up-2/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)
}