Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Toutiao Web Keyword Search

API 文档
https://api.sandbase.ai/v1/api/toutiao/search

Search Toutiao web articles by keyword. Use it to discover relevant articles for topic research, media monitoring, or source collection.

价格
$0.071429美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 0 个可选

Playground

输入
Search keyword or query.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Toutiao Web Keyword Search API

Returns a list of Toutiao web search results for a keyword. Each result has a title, summary, author name, article type and link. The only input is keyword.

Use cases

  • Collect article links and titles about a topic such as 人工智能 for research.
  • Track which sources and authors appear in Toutiao results for a brand or term.
  • Build a source list for a topic, then fetch full article details for each link.
  • Scan result summaries to see how a keyword is described across different sites.

Request

curl -X POST "https://api.sandbase.ai/v1/api/toutiao/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesSearch keyword or query.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "list": [
    {
      "作者名称": "vivo智能手机官方网站",
      "发表时间": null,
      "搜索关键词": "人工智能",
      "收藏量": null,
      "文章摘要": "手机领域的国际化品牌,vivo官网提供手机资讯、售前咨询、在线购买、售后服务等功能;vivo当季明星机型有X300系列、S50系列、X Fold5、iQOO 1…",
      "文章标题": "vivo智能手机官方网站 - S50系列 长焦Live神器",
      "文章类型": "头条文章",
      "文章链接": "https://www.vivo.com.cn/upgrade/detail?modelId=285",
      "点赞量": null,
      "评论量": null,
      "阅读量": null
    }
  ]
}

Response fields

FieldMeaning
list[]One search result. The response is a list of these objects.
list[].文章标题Title of the result.
list[].文章摘要Short summary text of the result. Long summaries are cut off with ....
list[].文章链接URL of the result. In the sample it points to an external web page, such as a company site.
list[].作者名称Author or publisher name shown for the result.
list[].文章类型Type label of the result. The sample values are 头条文章.
list[].搜索关键词The keyword that produced this result. It echoes the keyword input.
list[].阅读量 / 点赞量 / 评论量 / 收藏量Read, like, comment and favorite counts. All are null in the sample, so do not rely on them being filled.
list[].发表时间Publish time. It is null in the sample.

Notes

  • The keyword parameter is required and accepts Chinese text, for example 人工智能.
  • The request has no pagination parameter, so each call takes only keyword.
  • Field names in the response are in Chinese and appear exactly as shown in the table above.
  • To get more detail on a result, use Toutiao Article Details (Web) with the article link.

Pricing

$0.071429 per successful call. Failed calls are not charged.

探索更多

相关 APIs

全部 APIs
API价格响应
Toutiao$0.071429 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON
Toutiao$0.001 每次调用JSON

问题

常见问题

如何使用 Toutiao Web Keyword Search API?

向 https://api.sandbase.ai/v1/api/toutiao/search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Toutiao Web Keyword Search API 的价格是多少?

每次调用 $0.071429,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Toutiao Web Keyword Search API 接受哪些参数?

必填:keyword (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Toutiao Web Keyword Search API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Toutiao 开发者账户或 API key 吗?

不需要。Toutiao Web Keyword Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Toutiao API 访问权限。