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

opencode · SEO

How to Use DataForSEO backlink summary in opencode

Returns backlink totals, referring domains, IPs, subnets, rank, spam metrics, and link breakdowns for a target. Use it to benchmark a backlink profile or measure changes before investigating individual links.

Prompts to try with DataForSEO backlink summary in opencode

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

Use DataForSEO backlink summary for stripe.com and paypal.com, then create a comparison of backlink totals, main-domain counts, and spam metrics.

DataForSEO backlink summaryopencode
Try asking
  • Use DataForSEO backlink summary to look this up and give me the result as a table. Save the result in ./assets.

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

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

  • Pull the newest data from DataForSEO backlink summary and give me the result as a table.

How to set up DataForSEO backlink summary in opencode

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

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode 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 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 backlink summary

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

Then paste one of the prompts above: opencode finds DataForSEO backlink summary on Spiral, shows the price and runs it.

DataForSEO backlink summary providers and prices

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

AlexandriaSEO
DataForSEO · Backlinks summary
dataforseo/backlinks/summary

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
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.

Internal list limit1 to 1000

Entries kept in the referring_links_* breakdowns. Default 10.

Backlinks status typeall, live, or lost

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

Include indirect linkson or off

Count links that reach the target through a redirect or canonical. Default true.

Exclude internal backlinkson or off

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

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

What can you do with DataForSEO backlink summary in opencode?

Build a backlink audit report for a business website using DataForSEO's indexed link data. A coding agent can combine the results with project reports to compare profiles, investigate losses, and prioritize review.

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 backlink summary in opencode

Can opencode use DataForSEO backlink summary?

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

How much does DataForSEO backlink summary cost in opencode?

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

Do I need an Alexandria account to use DataForSEO backlink summary in opencode?

No. Spiral runs DataForSEO backlink summary on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up DataForSEO backlink summary in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while DataForSEO backlink summary runs?

DataForSEO backlink summary runs in the background. opencode 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 backlink summary in opencode

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

Paste this into opencode:

Set up opencode

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