返回 Skill 列表
extension
分类: 开发与工程无需 API Key

searxng-api

当您需要调用SearXNG的搜索API来执行网络搜索、过滤结果(引擎/类别/语言/时间)、分页以及处理JSON输出时使用。

person作者: jakexiaohubgithub

SearXNG API

What the API can do

  • Run meta-search queries and return aggregated results in JSON.
  • Filter by engines, categories, language, and time range.
  • Paginate results.
  • Return suggestions, answers, and infoboxes (when available).

How to use it

  1. Build the endpoint from SEARXNG_BASE_URL; if it is unset, use http://localhost:8080.
  2. Call /search (or /) with q=...&format=json.
  3. Parse the JSON response (results, answers, suggestions, etc.).

Minimal request

  • GET: {BASE_URL}/search?q={QUERY}&format=json
  • POST: {BASE_URL}/search with form data q=...&format=json

References

  • references/searxng-search-api.md - parameters and response fields