返回接口目录

接口详情

明天炒什么 文章内容

GET
接口 ID
infoget-topic
分组
资讯题材
调用地址
/v1/endpoints/infoget-topic/call
可传参数
参数名称说明必填类型示例值
item_id条目 ID条目、主题或记录 ID。string2160

在线测试

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

响应结构

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

HTTP 200 · object
字段路径类型样例值
Contentstring周三,英伟达与康宁公司(GLW)宣布达成一项多年期商业与技术合作伙伴关系,旨在大幅扩展美国本土先进光连接解决方�...
HotValinteger155875
IsVotestring1
KXIDstring
Numinteger201
Sourcestring券商中国
ThemeClassIDstring
ThemeIDstring257
Timestring2026-05-06 23:39:57
Titlestring联手英伟达!康宁拟十倍扩产光连接,光纤产能扩大50%以上
ZSCodestring801660
errcodestring0
tnumber0.00488700000000003

调用示例

curl -X POST http://127.0.0.1:8080/v1/endpoints/infoget-topic/call \
  -H "X-API-Key: <api_key>" \
  -H "Content-Type: application/json" \
  -d '{"params":{"item_id":"2160"}}'
import requests

resp = requests.post(
    "http://127.0.0.1:8080/v1/endpoints/infoget-topic/call",
    headers={"X-API-Key": "<api_key>"},
    json={"params": {"item_id":"2160"}},
)
print(resp.status_code)
print(resp.text)
package main

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

func main() {
  body := []byte(`{"params":{"item_id":"2160"}}`)
  req, _ := http.NewRequest("POST", "http://127.0.0.1:8080/v1/endpoints/infoget-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)
}