SearXNG Search icon

SearXNG Search

Search the web with SearXNG

Search

AI-generated

Summary

Searches SearXNG for each incoming item using its query, input, or prompt string when present, otherwise the required Query field. Returns formatted search results or the first result’s content, with optional filters and search settings.

Inputs

  • Query (required) — Fallback search text. For each incoming item, a string query takes precedence, followed by input and then prompt; this field is used when none of those strings is present.
  • Categories — Select categories from the SearXNG instance or provide category IDs by expression.
  • Custom Categories — Comma-separated additional category names. These are combined with the selected categories.
  • Return Single Response — For JSON format, return the first result’s content (or snippet if content is empty) as answer when a result exists.
  • Additional Fields — Optional search settings: language, time range, safe search level, page number, response format, engines, enabled or disabled plugins, image proxy, and autocomplete backend. The default format is JSON.

Output shape

One n8n item per incoming item, containing the search response.

For JSON format, the output includes success, query, formatted results, metadata (format, result count, search time, and engine), and the raw response. With Return Single Response enabled and at least one result, it instead includes success, query, and answer. For CSV, HTML, or RSS, it includes success, query, format metadata, and the raw response in rawResponse. If Continue On Fail is enabled, a failed search produces an item with success: false, the error message, and the query.

Links

Discussion