Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Toutiao Web Keyword Search

Tài liệu 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.

Giá
$0.071429USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
Search keyword or query.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Toutiao$0.071429 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON
Toutiao$0.001 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Toutiao Web Keyword Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/toutiao/search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Toutiao Web Keyword Search có giá bao nhiêu?

$0.071429 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Toutiao Web Keyword Search chấp nhận những tham số nào?

Bắt buộc: keyword (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Toutiao Web Keyword Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Toutiao không?

Không. Toutiao Web Keyword Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Toutiao.