SEO

BACKLINK ANALYSIS

Analyse backlink profiles, referring domains, and domain authority with live data

A Claude skill that analyses backlink profiles, referring domains, anchor text distribution, domain rank, and link history using the DataForSEO Backlinks API.

From dataforseo · by nikhilbhansali
Requires Claude Code, Codex, or similar. Requires Python code execution and DataForSEO API

When does this skill activate?

Claude will use this skill when you mention phrases like:

/backlink-analysis "backlink analysis" "check backlinks for this domain" "referring domains" "domain authority comparison" "anchor text distribution"

How it works

1

Provide a domain

Enter one or more domains to analyse their backlink profiles.

2

Claude pulls live data

The skill calls the DataForSEO Backlinks API to retrieve backlink summaries, referring domains, anchor texts, link history, and bulk domain ranks.

3

Get actionable reports

Receive CSV exports with backlink counts, dofollow/nofollow ratios, spam scores, referring domain metrics, and historical trend data.

Requirements

DataForSEO API credentials (login and password)
Python code execution environment (Claude Code or Claude Desktop with code tool)
DataForSEO plugin installed with the setup-dataforseo skill

Add This Skill

Copy each field into Claude's skill editor to add this skill, or add the plugin marketplace to get all skills at once.

Requires Claude Code, Codex, or similar

Requires Python code execution and DataForSEO API This skill won't work in Claude.ai or ChatGPT chat interfaces.

backlink-analysis
DataForSEO backlink analysis: backlink profiles, referring domains, anchors, domain authority
SKILL.md
---
name: backlink-analysis
description: "DataForSEO backlink analysis: backlink profiles, referring domains, anchors, domain authority"
---

# Backlink Analysis Skill

Analyze backlink profiles, referring domains, anchor text distribution, and domain authority using the DataForSEO Backlinks API.

## Triggers

Use this skill when the user asks about:
- Backlinks or backlink profile for a domain
- Referring domains linking to a website
- Domain authority, domain rank, or DR/DA metrics
- Link profile analysis or link building research
- Anchor text distribution or anchor analysis

## Functions

### `backlinks_summary(target)`

Get a complete backlink profile overview for a domain including total backlinks, referring domains, dofollow/nofollow ratio, and domain rank.

**Parameters:**
- `target` (str): Domain to analyze (e.g., "example.com")

**Returns:** Summary metrics including backlink count, referring domains, rank, and link type breakdown.

---

### `backlinks_list(target, limit, mode)`

Get a detailed list of individual backlinks pointing to a domain.

**Parameters:**
- `target` (str): Domain to analyze (e.g., "example.com")
- `limit` (int): Maximum number of backlinks to return (default: 100)
- `mode` (str): Deduplication mode - "as_is" (all backlinks), "one_per_domain" (unique referring domains), "one_per_anchor" (unique anchor texts)

**Returns:** List of backlinks with source URL, anchor text, dofollow status, and page metrics.

---

### `backlinks_anchors(target, limit)`

Get anchor text distribution showing which text is used to link to the target domain.

**Parameters:**
- `target` (str): Domain to analyze (e.g., "example.com")
- `limit` (int): Maximum number of anchors to return (default: 100)

**Returns:** Anchor texts with frequency, backlink count, and referring domain count.

---

### `backlinks_referring_domains(target, limit)`

Get a list of domains linking to the target with their metrics.

**Parameters:**
- `target` (str): Domain to analyze (e.g., "example.com")
- `limit` (int): Maximum number of referring domains to return (default: 100)

**Returns:** Referring domains with rank, backlink count, and first/last seen dates.

---

### `backlinks_history(target)`

Get historical backlink data showing how the backlink profile has changed over time.

**Parameters:**
- `target` (str): Domain to analyze (e.g., "example.com")

**Returns:** Time series data of backlink counts, referring domains, and rank changes.

---

### `backlinks_bulk_ranks(targets)`

Get domain authority/rank metrics for multiple domains at once. Useful for comparing competitors or evaluating link prospects.

**Parameters:**
- `targets` (list[str]): List of domains to analyze (e.g., ["example.com", "competitor.com"])

**Returns:** Rank metrics for each domain including backlinks, referring domains, and rank score.

## Example Usage

```python
import sys
sys.path.insert(0, "/path/to/plugin")
from scripts.dataforseo_client import (
    backlinks_summary,
    backlinks_list,
    backlinks_anchors,
    backlinks_referring_domains,
    backlinks_history,
    backlinks_bulk_ranks,
    extract_results,
    to_csv
)

# Get backlink profile overview
response = backlinks_summary("example.com")
results = extract_results(response)
csv_path = to_csv(results, "backlinks_summary_example")
print(f"Summary exported to: {csv_path}")

# Get list of backlinks (one per referring domain)
response = backlinks_list("example.com", limit=500, mode="one_per_domain")
results = extract_results(response)
csv_path = to_csv(results, "backlinks_list_example")
print(f"Backlinks exported to: {csv_path}")

# Get anchor text distribution
response = backlinks_anchors("example.com", limit=200)
results = extract_results(response)
csv_path = to_csv(results, "backlinks_anchors_example")
print(f"Anchors exported to: {csv_path}")

# Get referring domains
response = backlinks_referring_domains("example.com", limit=300)
results = extract_results(response)
csv_path = to_csv(results, "referring_domains_example")
print(f"Referring domains exported to: {csv_path}")

# Get backlink history over time
response = backlinks_history("example.com")
results = extract_results(response)
csv_path = to_csv(results, "backlinks_history_example")
print(f"History exported to: {csv_path}")

# Compare domain authority for multiple domains
domains = ["example.com", "competitor1.com", "competitor2.com"]
response = backlinks_bulk_ranks(domains)
results = extract_results(response)
csv_path = to_csv(results, "domain_ranks_comparison")
print(f"Domain ranks exported to: {csv_path}")
```

## Output

All results are exported as CSV files to `~/dataforseo_outputs/` with timestamped filenames.

### Summary Output Fields
- `rank` - Domain rank score
- `backlinks` - Total backlink count
- `backlinks_spam_score` - Spam score indicator
- `broken_backlinks` - Count of broken backlinks
- `referring_domains` - Unique referring domain count
- `referring_domains_nofollow` - Nofollow referring domains
- `referring_main_domains` - Unique root domains
- `referring_ips` - Unique referring IPs
- `referring_subnets` - Unique referring subnets

### Backlinks List Output Fields
- `url_from` - Source page URL
- `url_to` - Target page URL
- `anchor` - Anchor text used
- `dofollow` - Whether link passes PageRank
- `page_from_rank` - Source page rank
- `domain_from_rank` - Source domain rank
- `first_seen` - When backlink was first discovered
- `last_seen` - When backlink was last verified

### Anchor Output Fields
- `anchor` - The anchor text
- `backlinks` - Number of backlinks using this anchor
- `referring_domains` - Domains using this anchor
- `first_seen` - First occurrence date

### Referring Domains Output Fields
- `domain` - Referring domain name
- `rank` - Domain rank score
- `backlinks` - Backlinks from this domain
- `first_visited` - First crawl date
- `last_visited` - Last crawl date

How to use this skill

Claude Installing this skill · Claude Cowork
Claude Skill in action · Claude Cowork
Claude Use /slash-commands or just ask · Claude Cowork

Frequently Asked Questions

What data does the backlink analysis skill return?

The skill provides six functions: a backlink summary with total backlinks, referring domains, dofollow/nofollow ratios, and spam scores; a detailed backlinks list with source URLs, anchor text, and page metrics; anchor text distribution showing which text is used to link to your domain; referring domains with rank scores and first/last seen dates; historical backlink data showing how your profile has changed over time; and bulk domain rank comparison for evaluating multiple domains at once.

Can I compare my domain against competitors?

Yes. The backlinks_bulk_ranks function accepts a list of domains and returns rank metrics, backlink counts, and referring domain counts for each one. This makes it straightforward to benchmark your domain authority against competitors or evaluate potential link prospects.

Where do the results go?

All results are exported as CSV files to ~/dataforseo_outputs/ with timestamped filenames. You can open these in any spreadsheet application or use them for further analysis.

Does it work in Claude.ai chat?

No, this skill requires Python code execution to call the DataForSEO API and process the results. It works in Claude Code or Claude Desktop with code execution capabilities, but not in the Claude.ai web chat interface.

Analyse Your Backlink Profile

Add this skill to Claude and get detailed backlink data for any domain.

View on GitHub

Browse all skills