Search the web with SearchApi.io directly from your n8n workflows. The node exposes the full power of the /api/v1/search
endpoint and supports all engines and query parameters offered by the service.
Why SearchApi.io?
Real‑time SERP data from Google, Bing, DuckDuckGo, Yahoo, Yandex and more – no captchas, no proxies, one simple API.
- Open Settings → Community Nodes inside your self‑hosted n8n instance.
- Fill npm Package Name with
@searchapi/n8n-nodes-searchapi
. - Select the package, accept the risk prompt, and hit Install.
- It should now appear as a node when you search for it.
# inside your n8n installation folder
npm install @searchapi/n8n-nodes-searchapi
# or with pnpm
pnpm add @searchapi/n8n-nodes-searchapi
Restart n8n after the install finishes.
Compatibility
- n8n ≥ 1.30.0
- Node.js ≥ 18
- Sign up at SearchApi.io and copy your API Key.
- In n8n go to Credentials → + New Credential → SearchApi.
- Paste the key and save.
The new credential will now appear in the node’s Credential dropdown.
- Add the SearchApi node to your workflow.
- Choose your Credential and the Engine.
- Under Parameters, click Add Parameter for each query string field you need. To determine which fields to add, refer to the engine's documentation. Example:
- Name:
q
- Value:
weather new york
- Name:
- Execute the workflow to receive the response as JSON.
You can also pass a parameters object directly to the node, instead of the UI:
{
"parameters": {
"q": "n8n workflow automation",
"device": "mobile",
"location": "Berlin"
}
}
- Feed the object through a Set node or any previous node.
{{$json.parameters}}
- The node will give preference to the parameters object.
To easily see how to work with SearchApi on n8n, refer to the examples we've prepared. To use them you can download the json file and import on n8n, or you can paste the url for the, you can also copy the contents and paste inside a workflow. Refer to n8n docs on how to import workflows.
The node returns the raw JSON received from SearchApi.io. See the official docs for complete schemas.
Error message | Likely cause | Fix |
---|---|---|
401 Unauthorized | Invalid or missing API key | Double‑check the credentials. |
400 Bad Request | Missing required parameter | Verify against SearchApi docs. |
429 Too Many Requests | Rate limit exceeded | Slow down the workflow or upgrade plan. |
- SearchApi.io documentation – https://www.searchapi.io/
- n8n Community Forum – https://community.n8n.io
- Community nodes installation – https://docs.n8n.io/integrations/community-nodes/installation/