superagnt_
BacklinksCompetitors

Domains linking to competitors but not you

POST/backlink-gap
priced per 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.agntdata.dev. Swap the placeholders for your key and parameter values.

curlbash
curl -s -X POST "https://api.agntdata.dev/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 agntdata "SEO" API to use this endpoint: Domains linking to competitors but not you.

1. CONNECT over MCP (preferred). Add the superagnt MCP server, then let the client
   run OAuth on first tool call — no token to paste:
     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.agntdata.dev/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 priced per call in credits, and each successful response reports its own cost in its meta.costCents field. Only successful calls are charged.
   Get an agntdata API key at https://app.agntdata.dev.

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://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
priced per call

This endpoint is priced per call and deducted from your agntdata balance; only a successful call is billed. Every billable response reports its own cost in meta.costCents.

Get a key at app.agntdata.dev.

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