Spiral gives your agent every tool with one account. Browse the tools →

n8n · SEO

How to Use Google organic search rankings in n8n

Get Google result URLs, titles, descriptions, organic ranks, and positions alongside search features for a keyword. Use it to track rankings or compare competing pages in a specific search market.

Prompts to try with Google organic search rankings in n8n

Copy an example into n8n, or ask in your own words.

Every weekday, use Google organic search rankings for 'email marketing software' in the United States, in English, on desktop. Compare Mailchimp's organic position and ranking URL with the previous observation and report changes.

Google organic search rankingsn8n
Try asking
  • Every Monday, use Google organic search rankings for 'project management software' in the United States, in English, on desktop. Report changes in the returned organic positions for Asana, Monday.com, and ClickUp.

  • Each morning, use Google organic search rankings for 'running shoes' in London, England, in English, on mobile. Report organic URLs newly appearing in or disappearing from the first ten organic results compared with the previous observation.

  • Every Friday, use Google organic search rankings for 'accounting software' in the United States, in English, on desktop. Tell me if QuickBooks appears with a different landing page than in the previous observation.

  • Every weekday, use Google organic search rankings for 'customer support software' in the United States, in English, on desktop. Compare Zendesk's organic rank and absolute position with the previous observation and list changes in returned search feature types.

How to set up Google organic search rankings in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Google organic search rankings in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Google organic search rankings, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Google organic search rankings

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "dataforseo/serp/google-organic",
        "input": {
          "keyword": "<keyword>",
          "language_code": "<language_code>",
          "location_code": 1
        }
      }'

Then paste one of the prompts above: n8n finds Google organic search rankings on Spiral, shows the price and runs it.

Google organic search rankings providers and prices

Spiral runs Google organic search rankings through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
DataForSEO · Google organic SERP
dataforseo/serp/google-organic

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Oswindows, macos, android, or ios

windows or macos on desktop, android or ios on mobile.

Depth1 to 10010

Results to parse, 1 to 100. Each started 10 is one billed SERP page. DataForSEO allows 200; this connector stops at 100. Omitted, 10 is sent.

Devicedesktop or mobile

desktop (default) or mobile.

Location codea number

DataForSEO location code, such as 2840 for the United States. Use this or location_name.

Every API field of DataForSEO · Google organic SERP is on its tool page: open its card above.

What can you do with Google organic search rankings in n8n?

Receive a daily list of business ranking changes and newly ranking landing pages. An agent running on a schedule can compare repeated Google observations for fixed search settings and report the changes in URLs, organic positions, and search features.

Track a business website's organic position

Collect results for a fixed keyword and market, find the business domain, and compare its organic rank across saved observations.

Identify competing pages

List the domains and URLs ranking for a commercial query to see which pages compete for the same search results.

Prepare a content brief

Review ranking titles and search descriptions for a target query, then propose an outline based on the topics visible in those results.

Compare search markets

Run the same query in two cities or countries and compare the returned domains, landing pages, and positions.

Compare mobile and desktop rankings

Check the same keyword and location on mobile and desktop, then report differences in organic position and surrounding search features.

Watch landing page changes

Compare saved results to detect when a business domain starts ranking with a different URL for a tracked keyword.

Explain changes in search placement

Compare organic rank with absolute position and inspect returned search features to distinguish listing movement from changes around the listing.

Google organic search rankings success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
50.5%
Fastest median run time
6.9s
Runs, last 24 hours
109
ToolSuccessMedian timeRuns
DataForSEO · Google organic SERP50.5%6.9s109

Questions about Google organic search rankings in n8n

Can n8n use Google organic search rankings?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Google organic search rankings like any built-in tool.

How much does Google organic search rankings cost in n8n?

Up to $0.034918 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use Google organic search rankings in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Google organic search rankings on its own Alexandria account.

How long does it take to set up Google organic search rankings in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Google organic search rankings runs?

Google organic search rankings runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

How fresh are the Google rankings?

DataForSEO collects search results after the request is submitted. These are observations from that collection, rather than rankings supplied from an outdated database.

Why can a result have two different rank numbers?

Organic rank counts only organic listings. Absolute rank counts other search elements too, so an organic listing can hold first place organically while appearing below another search feature.

Will the results match my personal Google searches?

DataForSEO excludes search history and user preferences. Its results therefore do not reproduce the personalization in your own Google session.

Does the returned item count equal the number of organic listings?

No. The item count covers entries in the returned results array, which can include search features alongside organic listings. Count organic entries separately when reporting organic coverage.

Can I compare rankings collected in different cities?

Each observation belongs to one keyword, location, and device. Keep cities separate in a ranking report so a location difference does not appear as a ranking change.

Get started

Start using Google organic search rankings in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options