Package Information
Available Nodes
Documentation generating…
Documentation
n8n-nodes-scrapeunblocker-google-search
This is an n8n community node. It lets you search Google in your n8n workflows and get the results pages as JSON: organic results, the top and bottom ads and Google's AI Overview, each with position, title, URL and snippet.
The node runs the Google Search Scraper Actor by ScrapeUnblocker on the Apify platform with your own Apify account, waits for the run to finish and returns every scraped record as an n8n item.
n8n is a fair-code licensed workflow automation platform.
Installation
Credentials
Operations
Output
Example workflow
Pricing
Compatibility
Resources
Version history
Installation
Follow the installation guide in the n8n community nodes documentation. The npm package name is n8n-nodes-scrapeunblocker-google-search.
Credentials
The node authenticates with an Apify API token. Every run starts on the Apify account that owns the token and is billed to that account (see Pricing).
1. Create an Apify account (skip if you already have one)
- Go to console.apify.com/sign-up and sign up with email, Google or GitHub.
- Confirm your email address if Apify asks you to.
The free Apify plan needs no credit card and includes a monthly usage credit, which is enough to try the node. Current plan limits are listed on apify.com/pricing.
2. Get your API token
- Open Apify Console and go to Settings → API & Integrations, or open console.apify.com/settings/integrations directly.
- Find the Personal API tokens section.
- Either use the existing token (the one marked Default API token created on sign up): click the eye icon to reveal it or the copy icon to copy it.
- Or create a dedicated token for n8n (recommended, so you can revoke it without affecting anything else):
- Click + Add new token (the button may read Create new token).
- In the Create a new personal API token dialog, enter a Description such as
n8n. - Optionally switch on Set expiration date and pick a date.
- Leave Limit token permissions switched off. A token with limited permissions may not be allowed to run this Actor or read its results.
- Click Create and copy the new token.
The token starts with apify_api_. Treat it like a password: anyone who has it can run Actors on your account. You can revoke or rotate it on the same page at any time.
Working in an Apify organization? Switch to the organization in Apify Console first and copy a token from its API & Integrations page, so runs are billed to the organization.
3. Add the credential in n8n
- Add the Google Search Scraper node to a workflow and open it.
- In Credential to connect with, choose Create new credential. (You can also create an Apify API credential from the n8n credentials list.)
- Paste the token into API Key and click Save. n8n checks the token right away; an invalid token shows Authorization failed - please check your credentials.
Already have an Apify API credential in n8n (for example from the official Apify node)? This node uses the same credential type, so you can simply select it.
Operations
Pick a Resource and an Operation. Each n8n input item starts one Apify run. List fields accept several values separated by commas or new lines, or an array returned by an expression.
| Resource | Operation | Fields | Returns |
|---|---|---|---|
| Result | Search | Search Query (required) - The Google search query. Search operators such as site:, intitle: and quotes are supported Result Pages - How many result pages to fetch (1-10). Each page returns about 10 organic results |
One item per organic result or ad, plus one for the AI Overview |
Options
| Option | Description |
|---|---|
| Include Ads | Whether to also return the paid results shown above and below the organic list |
| Include AI Overview | Whether to also return Google's AI Overview block (first page only) when Google shows one |
| Search From Country | The country the search runs from. Random picks one automatically. |
| Wait After Load (Seconds) | Extra pause after the results page loads, before it is parsed (0-30). Usually not needed. |
| Timeout (Seconds) | How long the Apify run may take, in seconds. 0 uses the Actor's default. If the time runs out, the node stops. |
How a run works
- The node starts the Actor on your Apify account with the fields you set.
- It waits for the run to finish.
- It returns every record from the run's dataset as a separate n8n item.
The run is also visible in Apify Console under Runs. If a run fails or times out, the node error links to the run log and tells you whether any results were saved before it stopped.
Stopping the n8n execution only stops the node from waiting: the Apify run keeps going and its results are still charged. To stop it, abort the run in Apify Console under Runs, and use Timeout (Seconds) to cap long runs up front.
Use as an AI Agent tool
The node can be attached to an n8n AI Agent as a tool, so the agent can call it on its own.
Output
- One item per organic result or ad, with the search query, result type (
organic,ad_toporad_bottom), position, title, URL and snippet. - When Google shows an AI Overview, one more item of type
ai_overviewwith its text indescription.
Fields of a returned item: keyword, type, position, title, url, description.
Example item (shortened):
{
"keyword": "espresso machine",
"type": "organic",
"position": 1,
"title": "Espresso Machines",
"url": "https://bellabarista.co.uk/Collections",
"description": "For over 20 years, Bella Barista have selected the finest Espresso Machines f..."
}
Example workflow
To try the node in a minute, copy the workflow below, paste it into the n8n editor (Ctrl+V / Cmd+V), open the Google Search Scraper node, select your Apify API credential and click Execute workflow.
{
"nodes": [
{
"parameters": {},
"name": "When clicking 'Execute workflow'",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"resource": "result",
"operation": "search",
"keyword": "espresso machine",
"pagesToCheck": 1,
"options": {}
},
"name": "Google Search Scraper",
"type": "n8n-nodes-scrapeunblocker-google-search.googleSearchScraper",
"typeVersion": 1,
"position": [
220,
0
]
}
],
"connections": {
"When clicking 'Execute workflow'": {
"main": [
[
{
"node": "Google Search Scraper",
"type": "main",
"index": 0
}
]
]
}
}
}
Pricing
The node itself is free. The Actor is paid per result on Apify: $0.20 per 1,000 results plus a tiny start fee per run ($0.00005), charged to the Apify account of your token. Every item the node returns counts as one result. The current price is always shown on the Actor page, and your spending is visible in Apify Console.
Compatibility
Tested with n8n 2.40 (self-hosted).
Resources
- Google Search Scraper Actor on Apify
- Apify API tokens documentation
- n8n community nodes documentation
- ScrapeUnblocker - the anti-bot scraping API behind the Actor
Version history
- 0.1.0: Initial release
- 0.1.1: First release published from GitHub Actions with an npm provenance statement
- 0.1.2: Node category renamed to Marketing & Content, the name n8n's verification scanner accepts
- 0.1.3: Follows n8n's UX guidelines: example placeholders, plainer descriptions and messages
