$npx -y skills add norahe0304-art/30x-seo --skill 30x-seo-backlinksComprehensive backlink analysis using DataForSEO API. Analyze backlink profiles, find link building opportunities, detect toxic links, compare with competitors, and identify link gaps. Use when user says "backlinks", "link building", "referring domains", "link profile", "toxic li
| 1 | # SEO Backlinks Analysis |
| 2 | |
| 3 | Comprehensive backlink analysis and link building intelligence using DataForSEO API via direct curl calls. |
| 4 | |
| 5 | ## API Configuration |
| 6 | |
| 7 | Credentials stored in `~/.config/dataforseo/auth` (Base64 encoded). |
| 8 | |
| 9 | ```bash |
| 10 | # Read auth token |
| 11 | AUTH=$(cat ~/.config/dataforseo/auth) |
| 12 | ``` |
| 13 | |
| 14 | ## Quick Reference |
| 15 | |
| 16 | | Command | What it does | |
| 17 | |---------|-------------| |
| 18 | | `/seo backlinks profile <domain>` | Full backlink profile analysis | |
| 19 | | `/seo backlinks compare <domain1> <domain2>` | Compare two domains' backlink profiles | |
| 20 | | `/seo backlinks gap <your-domain> <competitor1> [competitor2]` | Find link gap opportunities | |
| 21 | | `/seo backlinks toxic <domain>` | Identify potentially toxic/spammy links | |
| 22 | | `/seo backlinks anchors <domain>` | Analyze anchor text distribution | |
| 23 | | `/seo backlinks trend <domain>` | New/lost backlinks over time | |
| 24 | | `/seo backlinks competitors <domain>` | Find competitors by backlink overlap | |
| 25 | |
| 26 | ## API Endpoints |
| 27 | |
| 28 | ### Backlink Summary |
| 29 | ```bash |
| 30 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/summary/live" \ |
| 31 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 32 | -H "Content-Type: application/json" \ |
| 33 | -d '[{"target": "example.com"}]' |
| 34 | ``` |
| 35 | |
| 36 | ### Get Backlinks |
| 37 | ```bash |
| 38 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/backlinks/live" \ |
| 39 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 40 | -H "Content-Type: application/json" \ |
| 41 | -d '[{"target": "example.com", "limit": 100, "order_by": ["rank,desc"]}]' |
| 42 | ``` |
| 43 | |
| 44 | ### Anchor Text Analysis |
| 45 | ```bash |
| 46 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/anchors/live" \ |
| 47 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 48 | -H "Content-Type: application/json" \ |
| 49 | -d '[{"target": "example.com", "limit": 100}]' |
| 50 | ``` |
| 51 | |
| 52 | ### Bulk Backlinks (Multiple Domains) |
| 53 | ```bash |
| 54 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/bulk_backlinks/live" \ |
| 55 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 56 | -H "Content-Type: application/json" \ |
| 57 | -d '[{"targets": ["domain1.com", "domain2.com", "domain3.com"]}]' |
| 58 | ``` |
| 59 | |
| 60 | ### Bulk Referring Domains |
| 61 | ```bash |
| 62 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/bulk_referring_domains/live" \ |
| 63 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 64 | -H "Content-Type: application/json" \ |
| 65 | -d '[{"targets": ["domain1.com", "domain2.com"]}]' |
| 66 | ``` |
| 67 | |
| 68 | ### Bulk Ranks (Domain Authority) |
| 69 | ```bash |
| 70 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/bulk_ranks/live" \ |
| 71 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 72 | -H "Content-Type: application/json" \ |
| 73 | -d '[{"targets": ["domain1.com", "domain2.com"]}]' |
| 74 | ``` |
| 75 | |
| 76 | ### Bulk Spam Score |
| 77 | ```bash |
| 78 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/bulk_spam_score/live" \ |
| 79 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 80 | -H "Content-Type: application/json" \ |
| 81 | -d '[{"targets": ["domain1.com", "domain2.com"]}]' |
| 82 | ``` |
| 83 | |
| 84 | ### Domain Intersection (Link Gap) |
| 85 | ```bash |
| 86 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/domain_intersection/live" \ |
| 87 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 88 | -H "Content-Type: application/json" \ |
| 89 | -d '[{"targets": {"1": "competitor1.com", "2": "competitor2.com"}, "exclude_targets": ["your-domain.com"], "limit": 100}]' |
| 90 | ``` |
| 91 | |
| 92 | ### Competitors by Backlinks |
| 93 | ```bash |
| 94 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/competitors/live" \ |
| 95 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 96 | -H "Content-Type: application/json" \ |
| 97 | -d '[{"target": "example.com", "limit": 20}]' |
| 98 | ``` |
| 99 | |
| 100 | ### New/Lost Backlinks Timeline |
| 101 | ```bash |
| 102 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/timeseries_new_lost_summary/live" \ |
| 103 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 104 | -H "Content-Type: application/json" \ |
| 105 | -d '[{"target": "example.com", "date_from": "2024-01-01"}]' |
| 106 | ``` |
| 107 | |
| 108 | ### Referring Domains |
| 109 | ```bash |
| 110 | curl -s -X POST "https://api.dataforseo.com/v3/backlinks/referring_domains/live" \ |
| 111 | -H "Authorization: Basic $(cat ~/.config/dataforseo/auth)" \ |
| 112 | -H "Content-Type: application/json" \ |
| 113 | -d '[{"target": "example.com", "limit": 100, "order_by": ["rank,desc"]}]' |
| 114 | ``` |
| 115 | |
| 116 | ## Analysis Modes |
| 117 | |
| 118 | ### 1. Backlink Profile Analysis |
| 119 | |
| 120 | Get a comprehensive overview of a domain's backlink profile: |
| 121 | |
| 122 | ``` |
| 123 | Input: domain (e.g., "example.com") |
| 124 | Output: |
| 125 | - Total backlinks count |
| 126 | - Referring domains count |
| 127 | - Domain rank (0-1000) |
| 128 | - Spam score (0-100) |
| 129 | - Dofollow vs nofollow ratio |
| 130 | - Top referring domains |
| 131 | - Anchor text distribution |
| 132 | - New/lost links trend |
| 133 | ``` |
| 134 | |
| 135 | ### 2. Competitor Comparison |
| 136 | |
| 137 | Compare your backlink profile against competitors: |
| 138 | |
| 139 | ``` |
| 140 | Input: [your-do |