Skip to the page

Web search in n8n

Set the SearXNG credential's API URL to SpecStream.

n8n's SearXNG tool gives an AI Agent node web search, and its credential has one field, API URL. Set it to SpecStream's address and the agent searches the whole live web. Our test on November 9, 2026 passed n8n with only that field changed.

API URL: https://api.specstream.ai/searxng/<key>, with your SpecStream key in place of <key>. n8n adds /search itself and sends the query, and SpecStream answers in SearXNG's JSON.

It is the most accurate web search API in the world: 97.9 F-score on all 1,000 SimpleQA Verified questions, at $5 per 1,000 searches. New accounts get $10 of credit, which covers 2,000 searches.

New accounts get $10 of credit, no card. It covers 2,000 searches.

SpecStream next to the search options n8n users price, from each company's own pages and n8n's source on Nov 10, 2026

SpecStreamBrave Search APISerpApiGoogle Custom Search JSON API
In n8n todayThe SearXNG credential, API URL https://api.specstream.ai/searxng/<key>. The SearXNG tool then works in any AI Agent nodeThe Brave Search credential: one field, API Key, checked against https://api.search.brave.comThe SerpApi credential: an API key, checked against https://serpapi.comClosed to new customers. Existing customers have until January 1, 2027
Price per 1,000 searches$5, with up to 10 results a search$5 per 1,000 requestsStarter is $25 a month for 1,000 searches$5 per 1,000 queries after 100 free queries a day, for existing customers
Free to start$10 of credit, no card. It covers 2,000 searches$5 in free credits every month250 searches a month100 queries a day
What is billedEach search of up to 10 results, at $0.005. A call stopped by a 429 charges nothingEach requestSuccessful searches. Cached, errored and failed searches are not countedIts terms say you may be charged for each successful request
Results per call10 a SearXNG page, and up to 100 for one search on GET /v1/web-search with numUp to 20, and 20 by defaultA response with 100 results counts as 1 search, and so does an empty one1 to 10, and never more than 100 for a query
How much it takesUp to 8,800 searches a minute on one account. A call over that gets a 429 with Retry-After and is not chargedUp to 50 queries per second200 successful searches an hour on Starter10,000 queries a day

Why n8n builders set SpecStream as their agent's search

Other web search options in n8n

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to set SpecStream as web search in n8n

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Check the key with the call n8n will make.

const key = "YOUR_SPECSTREAM_KEY";
const url = `https://api.specstream.ai/searxng/${key}/search?` +
  new URLSearchParams({ q: "open source vector databases", format: "json", pageno: "1" });

const reply = await fetch(url, { method: "POST", headers: { Accept: "application/json" } }).then((r) => r.json());
for (const result of reply.results) console.log(result.title, result.url, result.content);

3. In your workflow, open the AI Agent node, add the SearXNG tool, and create a new SearXNG credential. Set API URL to https://api.specstream.ai/searxng/<key> and save.

4. Run the workflow. Each search the agent makes is billed as one search on your key, inside the spending limit the key carries.

When a workflow needs a whole dataset in place of a results page, write the request in plain words. SpecStream reads it back as the conditions every row must meet, quotes the most it can cost, and delivers the rows after you approve.

Frequently asked questions

Something we didn't answer? Talk to a human

How do I add web search to an n8n AI agent?
Add the SearXNG tool to the AI Agent node and set its credential's API URL to https://api.specstream.ai/searxng/<key>. Our test on November 9, 2026 passed n8n with only that field changed, and each search costs $0.005.
Do I need to host SearXNG to use the n8n SearXNG tool?
No. With API URL set to SpecStream's address, SpecStream answers the tool in SearXNG's JSON, at a median of 0.82 s a search on production.
Where does the API key go in the n8n SearXNG credential?
In API URL, as the path part: https://api.specstream.ai/searxng/<key>. The credential has one field, so the address carries the key.
What can I use in n8n instead of the Google Custom Search API?
The SearXNG tool on SpecStream's address, at the same $5 per 1,000 searches. Google closed its Custom Search JSON API to new customers and ends it on January 1, 2027.
What is a cheaper SerpApi alternative for n8n?
SpecStream, at $5 per 1,000 searches against SerpApi's $25 a month for 1,000 on Starter. No monthly plan is needed, and new accounts get $10 of credit, no card.
How much does web search in n8n cost with SpecStream?
$0.005 a search of up to 10 results, $5 per 1,000. A call stopped by a 429 charges nothing, and the first $10 of credit covers 2,000 searches.

Sources

SpecStream wrote this page. Each figure on another provider comes from that company's own page, and each n8n setting from n8n's source on GitHub.

  1. n8n SearXNG credentialgithub.com/n8n-io/n8n/blob/master/packages/@n8n/nodes-langchain/credentials/SearXngApi.credentials.ts, read Nov 10, 2026
  2. n8n docs, SearXNG credentialsdocs.n8n.io/integrations/builtin/credentials/searxng/, read Nov 10, 2026
  3. n8n SearXNG tool nodegithub.com/n8n-io/n8n/blob/master/packages/@n8n/nodes-langchain/nodes/tools/ToolSearXng/ToolSearXng.node.ts, read Nov 10, 2026
  4. n8n Brave Search credentialgithub.com/n8n-io/n8n/blob/master/packages/@n8n/nodes-langchain/credentials/BraveSearchApi.credentials.ts, read Nov 10, 2026
  5. n8n SerpApi credentialgithub.com/n8n-io/n8n/blob/master/packages/@n8n/nodes-langchain/credentials/SerpApi.credentials.ts, read Nov 10, 2026
  6. Brave Search APIbrave.com/search/api/, read Nov 9, 2026
  7. Brave Search API, web search parametersapi-dashboard.search.brave.com/app/documentation/web-search/get-started, read Nov 9, 2026
  8. SerpApi pricingserpapi.com/pricing, read Nov 9, 2026
  9. Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 9, 2026
  10. Google Custom Search JSON API reference, cse.listdevelopers.google.com/custom-search/v1/reference/rest/v1/cse/list, read Nov 9, 2026
  11. Google Custom Search terms of servicedevelopers.google.com/custom-search/terms, read Nov 9, 2026
  12. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  13. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  14. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026