BacklinksCompetitors

Domains linking to competitors but not you

POST/backlink-gap
from $0.05/calljson responserest · mcp
01// about this endpoint

Finds domains that link to one or more competitor targets but NOT to the excluded target (you). The output is a ready-made link-building prospect list; chain it with an email-finder tool to turn rows into outreach. Response shape: each row's referring domain lives at items[].domain_intersection["1"], ["2"], ... keyed by the 1-based index of your `targets` array, with that referring domain's own authority score in `rank` (0-1000ish, higher is stronger; this is the referring domain's rank, a different metric from the target-domain rank in backlinks_summary). Default sort is rank descending. When ranking prospects, check referring_domains and backlinks together — a huge backlink count with few referring domains usually means sitewide boilerplate links, not authority.

02// code samples

Call it over REST

Authenticate with a bearer token against https://api.superagnt.com. Swap the placeholders for your key and parameter values.

curlbash
curl -s -X POST "https://api.superagnt.com/backlink-gap" \
  -H "Authorization: Bearer <YOUR_AGNTDATA_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{ "targets": [] }'
03// give it to your agent

Copy-paste prompt

Paste this into a coding agent. It connects the superagnt MCP server, finds the tool data_seo_backlink_gap, and runs a first call — with the REST fallback if MCP is unavailable.

agent prompttext
You are wiring up the superagnt "SEO" API to use this endpoint: Domains linking to competitors but not you.

1. CONNECT over MCP (preferred). No token to paste either way.
   On Claude (claude.ai, the desktop app, or Claude Code signed in with a Claude
   account), the server is a connector: give the user this link, they click Add
   and approve:
     https://claude.ai/customize/connectors/yours?modal=add-custom-connector&connectorName=superagnt&connectorUrl=https%3A%2F%2Fmcp.superagnt.com%2Fmcp&open_in_browser=1
   Any other MCP client (or Claude Code signed in with an API key): add the server
   and let the client run the browser sign-in:
     claude mcp add --scope user --transport http superagnt https://mcp.superagnt.com/mcp
     claude mcp login superagnt
   MCP endpoint: https://mcp.superagnt.com/mcp
   After connecting, the tool you want is named exactly:
     data_seo_backlink_gap
   Call agnt_tools_search or agnt_tools_list_enabled to confirm it is available.

2. REST fallback (if you are not using MCP):
     POST https://api.superagnt.com/backlink-gap
     Header: Authorization: Bearer <YOUR_AGNTDATA_API_KEY>
   Required parameters:
    - targets (array, required) — Competitor domains whose backlink sources to intersect (1-20).
   Optional parameters:
    - exclude_targets (array, optional) — Domains the referring sites must NOT already link to. Put your own domain here.
    - limit (integer, optional) — Max referring domains to return. Default 100.
    - offset (integer, optional) — Pagination offset.
    - filters (array, optional) — Optional filter expression, e.g. minimum domain rank.
    - order_by (array, optional) — Sort rules, e.g. ["1.rank,desc"].

3. COST & KEY. This endpoint is metered — pricing varies by request, from $0.05 per call. Only successful calls are charged.
   Get a superagnt API key at https://app.superagnt.com.

4. TEST. Connect the server (or set the key), discover the tool
   (data_seo_backlink_gap), run one minimal call with just the required parameters,
   and report back the shape of the JSON response (top-level fields).

Reference (machine-readable variant): https://www.superagnt.com/docs/apis/seo/endpoints/backlink_gap.md
mcp tool definitionjson
{
  "name": "backlink_gap",
  "description": "Finds domains that link to one or more competitor targets but NOT to the excluded target (you). The output is a ready-made link-building prospect list; chain it with an email-finder tool to turn rows into outreach. Response shape: each row's referring domain lives at items[].domain_intersection[\"1\"], [\"2\"], ... keyed by the 1-based index of your `targets` array, with that referring domain's own authority score in `rank` (0-1000ish, higher is stronger; this is the referring domain's rank, a different metric from the target-domain rank in backlinks_summary). Default sort is rank descending. When ranking prospects, check referring_domains and backlinks together — a huge backlink count with few referring domains usually means sitewide boilerplate links, not authority.",
  "parameters": {
    "type": "object",
    "properties": {
      "targets": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "minItems": 1,
        "maxItems": 20,
        "description": "Competitor domains whose backlink sources to intersect (1-20)."
      },
      "exclude_targets": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "maxItems": 10,
        "description": "Domains the referring sites must NOT already link to. Put your own domain here."
      },
      "limit": {
        "type": "integer",
        "minimum": 1,
        "maximum": 1000,
        "default": 100,
        "description": "Max referring domains to return. Default 100."
      },
      "offset": {
        "type": "integer",
        "minimum": 0,
        "description": "Pagination offset."
      },
      "filters": {
        "type": "array",
        "items": {},
        "description": "Optional filter expression, e.g. minimum domain rank."
      },
      "order_by": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Sort rules, e.g. [\"1.rank,desc\"]."
      }
    },
    "required": [
      "targets"
    ]
  }
}
04// parameters
NameInTypeRequiredDescription
targetsbodyarrayrequiredCompetitor domains whose backlink sources to intersect (1-20).
exclude_targetsbodyarrayoptionalDomains the referring sites must NOT already link to. Put your own domain here.
limitbodyintegeroptionalMax referring domains to return. Default 100.
offsetbodyintegeroptionalPagination offset.
filtersbodyarrayoptionalOptional filter expression, e.g. minimum domain rank.
order_bybodyarrayoptionalSort rules, e.g. ["1.rank,desc"].
05// responses

Referring domains that link to the targets, in `result[0].items`.

200json
{
  "type": "object"
}
06// pricing
from $0.05per successful request

Metered endpoint — the exact cost depends on the request. Credits are deducted per successful call; failed requests (4xx/5xx) are not charged.

Get started at app.superagnt.com.

08// more from SEO

start calling

Point your client at https://mcp.superagnt.com/mcp and your agent has this endpoint, plus every other source on one balance.

Start free→