keywordstringzorunlu
Search keyword or query.
https://api.sandbase.ai/v1/api/toutiao/searchSearch Toutiao web articles by keyword. Use it to discover relevant articles for topic research, media monitoring, or source collection.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
人工智能 for research.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.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword or query. |
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
}
]
}
| Field | Meaning |
|---|---|
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. |
keyword parameter is required and accepts Chinese text, for example 人工智能.keyword.$0.071429 per successful call. Failed calls are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/toutiao/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "人工智能"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
keywordstringzorunluSearch keyword or query.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Toutiao | $0.071429 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Toutiao | $0.001 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/toutiao/search adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.071429, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: keyword (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Toutiao Web Keyword Search, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Toutiao API erişimi için ayrıca başvuru yapmanız gerekmez.