接口详情
明天炒什么(列表)
- 接口 ID
- infolist-topic
- 分组
- 资讯题材
- 调用地址
- /v1/endpoints/infolist-topic/call
可传参数
| 参数 | 名称 | 说明 | 必填 | 类型 | 示例值 |
|---|---|---|---|---|---|
| page_offset | 分页起点 | 分页偏移量。第一页通常为 0,后续页按接口的分页步长递增。 | 否 | string | 0 |
在线测试
在线测试需要登录,会使用控制台中的默认 API Key 并计入用量。
响应结构
基于最近一次接口体检样本自动生成,仅展示主要字段。
| 字段路径 | 类型 | 样例值 |
|---|---|---|
| List[].Day | string | 2026-05-28 |
| List[].List[].HotTag | integer | 3 |
| List[].List[].HotVal | integer | 126169 |
| List[].List[].ID | string | 2205 |
| List[].List[].IsVote | string | 1 |
| List[].List[].New | integer | 0 |
| List[].List[].Time | string | 1779964395 |
| List[].List[].Title | string | 小鹏、理想汽车业绩披露!多领域中标、签单,个股要点消息一览 |
| errcode | string | 0 |
| t | number | 0.002013000000000001 |
调用示例
curl -X POST http://127.0.0.1:8080/v1/endpoints/infolist-topic/call \
-H "X-API-Key: <api_key>" \
-H "Content-Type: application/json" \
-d '{"params":{"page_offset":"0"}}'import requests
resp = requests.post(
"http://127.0.0.1:8080/v1/endpoints/infolist-topic/call",
headers={"X-API-Key": "<api_key>"},
json={"params": {"page_offset":"0"}},
)
print(resp.status_code)
print(resp.text)package main
import (
"bytes"
"fmt"
"net/http"
)
func main() {
body := []byte(`{"params":{"page_offset":"0"}}`)
req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/infolist-topic/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)
}