Backlink Gap Analysis

Find domains that link to your competitors but not to you. These are your best link building opportunities — local directories, chambers of commerce, and industry sites where you're missing.

When to use this

You want to find websites that link to your competitors but not to you — like the local chamber of commerce or an industry directory. These are your easiest link-building wins because they already link to similar businesses.

POST/v1/backlinks/gap
Cost: 10 credits ($0.05)
Rate Limit: Varies by plan
Response: ~5-12 seconds

Parameters

ParameterTypeRequiredDescription
your_domainstringYesYour domain
competitor_domainsstring[]YesCompetitor domains to compare (max 5)
limitintegerNoMax results. Default: 50

Example Request

curl -X POST https://api.localseodata.com/v1/backlinks/gap \
  -H "Authorization: Bearer sk_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "your_domain": "mybusiness.com",
    "competitor_domains": ["competitor1.com", "competitor2.com"],
    "limit": 20
  }'

Example Response

JSON
{
  "status": "success",
  "credits_used": 10,
  "data": {
    "your_domain": "mybusiness.com",
    "opportunities": [
      {
        "referring_domain": "austinchamber.org",
        "domain_rank": 65,
        "links_to_competitors": [{"domain": "competitor1.com", "backlinks": 142}, {"domain": "competitor2.com", "backlinks": 89}],
        "links_to_you": false
      },
      {
        "referring_domain": "austinmonthly.com",
        "domain_rank": 52,
        "links_to_competitors": [{"domain": "competitor1.com", "backlinks": 67}],
        "links_to_you": false
      }
    ],
    "total_opportunities": 34
  }
}

Response Fields

FieldTypeDescription
referring_domainstringDomain that links to competitors but not you
domain_rankintegerAuthority of the referring domain
links_to_competitorsobject[]Which of your competitors this domain links to, with backlink counts
links_to_youbooleanAlways false (these are gaps)

Notes

  • This is the #1 way to find local link building opportunities.
  • Prioritize high domain_rank sites — chambers of commerce, local news, industry directories.
  • Sites linking to multiple competitors are especially valuable — they're clearly relevant to your industry.