Toutiao Get Article Info

2.07积分/次
ae_toutiao_get_article_info

获取指定头条文章的信息。 输入:aweme_id 为必填字符串,填写文章 ID,而非完整链接。例如,文章链接为 https://www.toutiao.com/article/7450114952884503059/ 时,填写 "7450114952884503059"。 返回:响应中的 data 表示该文章的信息,也可能为 null;文档未定义具体的文章字段。本工具用于查询一篇已知文章,不用于搜索文章。

新闻社交
2.07积分/次

价格说明

2.07积分/次
条件费用
每次调用2.07积分/次

2.07积分/次 按查询次数计费。查询成功但未返回结果时,也会扣除积分。

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_toutiao_get_article_info' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "aweme_id": "xxx"
  }
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
aweme_idstring是作品ID/Post ID—