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.071429JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON
Toutiao每次呼叫 $0.001JSON

問題

常見問題

我要如何使用 Toutiao Web Keyword Search API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/toutiao/search。您也可以直接在本頁的 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 金鑰嗎?

不需要。Toutiao Web Keyword Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Toutiao API 存取權。