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

Muse Code · SEO

How to Use DataForSEO backlinks in Muse Code

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 Muse Code

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

Use DataForSEO backlinks for stripe.com and write a CSV of 100 linking URLs, destination URLs, anchors, and ranks in this project's reports directory.

DataForSEO backlinksMuse Code
Try asking
  • Use DataForSEO backlinks for https://react.dev/ and compare returned destination URLs against this project's redirect map to find links pointing to retired routes.

  • Use DataForSEO backlinks to look this up and give me the result as a table. Save the result in ./assets.

  • 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 Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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 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: Muse Code 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 Muse Code 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 Muse Code?

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 backlinks in Muse Code

Can Muse Code use DataForSEO backlinks?

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

How much does DataForSEO backlinks cost in Muse Code?

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 Muse Code plan is separate.

Do I need an Alexandria account to use DataForSEO backlinks in Muse Code?

No. Spiral runs DataForSEO backlinks 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 backlinks in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while DataForSEO backlinks runs?

DataForSEO backlinks runs in the background. Muse Code 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 Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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