[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [DataForSEO referring domains](https://spiral.ai/integrations/vscode/dataforseo-referring-domains)

# How to Use DataForSEO referring domains in VS Code

Returns linking domains with backlink counts, rank, first discovery dates, and spam metrics. Use it to compare sources of links without letting thousands of links from one website dominate the review.

|  |  |
| --- | --- |
| Model | DataForSEO referring domains |
| Available through | Alexandria |
| Category | SEO |
| Price | Up to $0.0942786 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DataForSEO referring domains in VS Code

- Use DataForSEO referring domains for shopify.com and add a table of the 50 highest-ranked linking domains and their backlink counts to our SEO report.
- Use DataForSEO referring domains for vercel.com and generate a report showing which returned websites contribute the most backlinks.
- Use DataForSEO referring domains to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from DataForSEO referring domains and tell me what changed since last week.
- Check DataForSEO referring domains and summarize what you find in three bullet points.

## How to set up DataForSEO referring domains in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run DataForSEO referring domains**: One request; the result comes back by polling or a webhook.

```bash
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/referring-domains",
    "input": {
      "target": "<target>"
    }
  }'
```

Then paste one of the prompts above: VS Code finds DataForSEO referring domains on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## DataForSEO referring domains tools and prices

- [DataForSEO · Referring domains](https://spiral.ai/tools/alexandria/dataforseo/backlinks/referring-domains) (Alexandria): Up to $0.0942786 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 1000 | 100 | Rows to return, 1 to 1000. Each row costs $0.000036. Omitted, 100 is sent. |
| offset | 0 to … | — | Items to skip, for the next page. Default 0. |
| filters |  | — | JSON array of filter conditions in the DataForSEO syntax, at most 8, such as ["keyword_info.search_volume",">",100]. |
| order_by |  | — | Up to 3 sorting rules, each field,direction, such as keyword_info.search_volume,desc. |
| rank_scale | one_hundred, one_thousand | — | Rank scale, one_hundred or one_thousand (default). |
| backlinks_filters |  | — | JSON array of conditions on the backlinks counted, in the DataForSEO filter syntax, at most 8, such as ["dofollow","=",true]. |

## What can you do with DataForSEO referring domains in VS 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## DataForSEO referring domains in other agents

- [Amp](https://spiral.ai/integrations/amp/dataforseo-referring-domains)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/dataforseo-referring-domains)
- [Claude](https://spiral.ai/integrations/claude-desktop/dataforseo-referring-domains)
- [Claude Code](https://spiral.ai/integrations/claude-code/dataforseo-referring-domains)
- [Cline](https://spiral.ai/integrations/cline/dataforseo-referring-domains)
- [Codex](https://spiral.ai/integrations/codex/dataforseo-referring-domains)
- [Cursor](https://spiral.ai/integrations/cursor/dataforseo-referring-domains)
- [Devin](https://spiral.ai/integrations/devin/dataforseo-referring-domains)
- [dots](https://spiral.ai/integrations/dots/dataforseo-referring-domains)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/dataforseo-referring-domains)
- [Gemini](https://spiral.ai/integrations/gemini/dataforseo-referring-domains)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/dataforseo-referring-domains)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/dataforseo-referring-domains)
- [goose](https://spiral.ai/integrations/goose/dataforseo-referring-domains)
- [Grok](https://spiral.ai/integrations/grok/dataforseo-referring-domains)
- [Grok Build](https://spiral.ai/integrations/grok-build/dataforseo-referring-domains)
- [Hermes](https://spiral.ai/integrations/hermes/dataforseo-referring-domains)
- [Instinct](https://spiral.ai/integrations/instinct/dataforseo-referring-domains)
- [Manus](https://spiral.ai/integrations/manus/dataforseo-referring-domains)
- [Muse](https://spiral.ai/integrations/muse/dataforseo-referring-domains)
- [Muse Code](https://spiral.ai/integrations/muse-code/dataforseo-referring-domains)
- [n8n](https://spiral.ai/integrations/n8n/dataforseo-referring-domains)
- [Notion](https://spiral.ai/integrations/notion/dataforseo-referring-domains)
- [OpenClaw](https://spiral.ai/integrations/openclaw/dataforseo-referring-domains)
- [opencode](https://spiral.ai/integrations/opencode/dataforseo-referring-domains)
- [Perplexity](https://spiral.ai/integrations/perplexity/dataforseo-referring-domains)
- [Raycast](https://spiral.ai/integrations/raycast/dataforseo-referring-domains)
- [Windsurf](https://spiral.ai/integrations/windsurf/dataforseo-referring-domains)
- [Zapier](https://spiral.ai/integrations/zapier/dataforseo-referring-domains)

## More VS Code guides

- [DataForSEO backlinks](https://spiral.ai/integrations/vscode/dataforseo-backlinks)
- [Firecrawl website branding](https://spiral.ai/integrations/vscode/firecrawl-website-branding)
- [DataForSEO backlink summary](https://spiral.ai/integrations/vscode/dataforseo-backlink-summary)
- [Google Ads keyword search volume](https://spiral.ai/integrations/vscode/google-ads-keyword-search-volume)
- [DataForSEO Google ranking keywords](https://spiral.ai/integrations/vscode/dataforseo-google-ranking-keywords)
- [Google Trends interest over time](https://spiral.ai/integrations/vscode/google-trends-interest-over-time)

## Questions about DataForSEO referring domains in VS Code

**Can VS Code use DataForSEO referring domains?**

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

**How much does DataForSEO referring domains cost in VS 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 VS Code plan is separate.

**Do I need an Alexandria account to use DataForSEO referring domains in VS Code?**

No. Spiral runs DataForSEO referring domains 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 referring domains in VS Code?**

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

**Does VS Code wait while DataForSEO referring domains runs?**

DataForSEO referring domains runs in the background. VS 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.

