Crawl4AI维基百科Research & public data

Wikipedia articles matching a query

crawl4ai.wikipedia.search.articles

Wikipedia articles that match a query, from the public search API: title, article link, a plain-text snippet around the match, word count, size in bytes, when the article was last edited, and the page id. `query` is the search text; `lang` the Wikipedia edition (en, de, ja, …; letters only); `limit` the number of results, up to 50 in one call. Columns: title, url, snippet, words, size, updated, pageid.

价格
$0.00015/success按目录价
成功率
100%近 30 天 · 77 次
延迟 p50
471 毫秒p95 2.2 秒
最后验证
2026年10月11日实测可用
POSThttps://toolswitch.dev/v1/tools/crawl4ai.wikipedia.search.articlesBeta
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
请求体(JSON)
lang字符串可选default enen
limit整数可选default 1010
query字符串必填rust programming language
  • 请求体(JSON)
  • lang字符串可选

    default en

    示例:en

  • limit整数可选

    default 10

    示例:10

  • query字符串必填

    示例:rust programming language

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.wikipedia.search.articles' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"rust programming language"}'

网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $0.00015/success 计费,已含服务费。