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

n8n · SEO

How to Use DataForSEO backlinks in n8n

Returns linking URLs, destination URLs, anchors, link attributes, ranks, and crawler discovery dates. Use it to inspect specific links or investigate losses; multiple links from one referring page are represented by the highest-ranked link.

Prompts to try with DataForSEO backlinks in n8n

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

Every Friday, use DataForSEO backlinks for https://react.dev/ and summarize reported lost links with source and destination URLs.

DataForSEO backlinksn8n
Try asking
  • Every week, use DataForSEO backlinks for stripe.com and report newly appearing source URLs with their anchors and discovery dates.

  • Every Monday at 9am: use DataForSEO backlinks to look this up and give me the result as a table.

  • Pull the latest numbers from DataForSEO backlinks and tell me what changed since last week.

  • Check DataForSEO backlinks and summarize what you find in three bullet points.

How to set up DataForSEO backlinks 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 DataForSEO backlinks in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds DataForSEO backlinks, 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 DataForSEO backlinks

    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/backlinks/list",
        "input": {
          "target": "<target>"
        }
      }'

Then paste one of the prompts above: n8n finds DataForSEO backlinks on Spiral, shows the price and runs it.

DataForSEO backlinks providers and prices

Spiral runs DataForSEO backlinks through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSEO
DataForSEO · Backlinks
dataforseo/backlinks/list

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Modeas_is, one_per_domain, or one_per_anchor

as_is (default) for every backlink, one_per_domain, or one_per_anchor.

Limit1 to 1000100

Rows to return, 1 to 1000. Each row costs $0.000036. Omitted, 100 is sent.

Offset0 to 20000

Rows to skip, up to 20,000. Use search_after_token past that.

Rank scaleone_hundred or one_thousand

Rank scale, one_hundred or one_thousand (default).

Include subdomainson or off

Count links to subdomains of the target. Default true.

Backlinks status typeall, live, or lost

live (default) counts backlinks seen on the last check, lost counts removed ones, all counts both.

Exclude internal backlinkson or off

Drop links from subdomains of the same domain. Default true.

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

What can you do with DataForSEO backlinks in n8n?

Produce a weekly backlink change report for a public business website. A scheduled agent can compare DataForSEO results across runs and flag changes for investigation while accounting for the index's crawl cycle.

Compare competitors' backlink profiles

Compare backlink totals and referring domains for competing business websites, then inspect linking sources and individual placements to explain the differences.

Report on a content campaign

Measure a campaign page's backlink profile, identify the domains linking to it, and collect source URLs and anchors as evidence of coverage.

Investigate lost links

Compare lost-link totals, identify domains whose links disappeared, and examine the affected source and destination URLs to prepare a recovery review.

Prioritize a backlink quality review

Use spam metrics to prioritize profiles, referring domains, or individual links for manual inspection.

Check links after a site migration

Compare the old and new targets' backlink totals, review their linking domains, and inspect destination URLs for links still pointing to retired pages.

Find content worth updating

Compare backlink profiles for public resource pages, identify their linking websites, and inspect anchors to understand which material earns references.

Explain a large backlink count

Compare backlink totals with referring-domain totals, then inspect domains and source pages to identify websites contributing repeated links.

Questions about DataForSEO backlinks in n8n

Can n8n use DataForSEO backlinks?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run DataForSEO backlinks like any built-in tool.

How much does DataForSEO backlinks cost in n8n?

Up to $0.0942786 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 DataForSEO backlinks in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs DataForSEO backlinks on its own Alexandria account.

How long does it take to set up DataForSEO backlinks in n8n?

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

Does n8n wait while DataForSEO backlinks runs?

DataForSEO backlinks runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

How fresh is DataForSEO's backlink data?

The backlink index updates continuously, but refreshing the full index takes up to 90 days. A fresh response can therefore contain links last crawled weeks earlier.

Does DataForSEO include every backlink on the web?

The index deliberately excludes some spammy referring domains and networks using a minimum quality threshold. Its totals describe DataForSEO's indexed coverage rather than a complete census of links.

Why can old backlinks still appear?

DataForSEO says outdated backlinks are removed from its index within up to one year. Index retention and the date of a website change are therefore different things.

Why can referring-domain counts differ?

The referring-domain results count example.com and blog.example.com together. Summary metrics distinguish referring domains, which count subdomains separately, from referring main domains.

Does a backlink row represent every link on a page?

The backlink list returns one representative link when a referring page links to the target multiple times: the link with the highest rank. The links_count value records the duplicate count.

Get started

Start using DataForSEO backlinks 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