# Backlink Checker: Link Gap, Referring Domains & Authority (`pikoulas/backlink-checker`) Actor

Find link-building targets: the sites linking to two or more of your competitors but not to you, each with its 0-100 authority score, the most competitors first. Or bulk referring domains for any domain, best first, from Common Crawl's web graph. No Ahrefs or Semrush key. $1 per 1,000.

- **URL**: https://apify.com/pikoulas/backlink-checker.md
- **Developed by:** [Spyridon Pikoulas](https://apify.com/pikoulas) (community)
- **Categories:** SEO tools, Marketing, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 referring domains

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Backlink Checker: Link Gap, Referring Domains & Authority

Give it your competitors and get your **link gap**: the sites that link to several of them and not to you, the
link-building targets most likely to link to you too. Or give it a list of domains, and get for each one **the
referring domains that link to it**, best first:

- **Link gap:** the domains linking to 2 or more of your competitors (or as many as you ask) and not to your domain,
  the most competitors first, then the best-linked, each with the competitors it links to. Three web scraping
  companies against apify.com: 270 domains link to two of them or more and not to it.
- **Referring domains, not pages:** the domains with a link to yours, each once. There are no linking page URLs
  or anchor texts: the source is a graph of domains.
- **Each one's authority score from 0 to 100** and its rank among 135 million domains, so the links worth having
  come first, and `minAuthorityScore` leaves out the rest.
- **The domain's own score and its count of referring domains**, on every row.

It costs **$1 per 1,000 referring domains** on Apify's paid plans and $1.50 on the free plan, up to 1,000 per
domain. A domain with none costs nothing.

It's computed from [Common Crawl's](https://commoncrawl.org) web graph, the links between the domains of three
months of its crawls, now release `cc-main-2026-aug-sep-oct` (August to October 2026), taken up as each new one
comes out. It isn't Ahrefs', Moz's or Semrush's backlink data, and isn't affiliated with Ahrefs, Moz or Semrush; no
data of theirs is read.

For the score and counts of many domains without their lists, use
[Domain Rank Checker](https://apify.com/pikoulas/domain-rank), from the same graph at $0.50 per 1,000 domains.

### What people use it for

- **Competitor link research:** the sites that link to a competitor and not to you, for outreach.
- **Link building:** the link gap, the well-linked sites that link to your competitors and not to you, to pitch
  first.
- **Domain due diligence:** who links to a domain before you buy it, and whether those links are worth anything.
- **Link audits:** your own referring domains, the strongest first.

### How to check referring domains

1. Click **Try for free**; Apify's free plan covers a first run.
2. Enter the **Domains**: plain domains, or URLs and email addresses to take them from.
3. Set **Referring domains per domain** (up to 1,000) and, if you like, the **Lowest authority score**.
4. Click **Start**, then open the results from the **Output** tab, or download them as JSON, CSV or Excel.

```json
{
  "domains": ["apify.com", "https://www.paulgraham.com/articles.html"],
  "maxPerDomain": 100,
  "minAuthorityScore": 30
}
```

For the link gap:

```json
{
  "competitors": ["scrapingbee.com", "brightdata.com", "zyte.com"],
  "yourDomain": "apify.com",
  "minCompetitors": 2,
  "maxPerDomain": 500
}
```

### Output

A link gap row:

```json
{
  "referringDomain": "parallel.ai",
  "referringAuthorityScore": 51,
  "referringRank": 10193,
  "position": 1,
  "competitorsLinked": 3,
  "linksTo": ["scrapingbee.com", "brightdata.com", "zyte.com"],
  "linksToYou": false,
  "yourDomain": "apify.com",
  "graphRelease": "cc-main-2026-aug-sep-oct"
}
```

`linksToYou` is `false` where the domain surely doesn't link to yours, and `null` where that isn't known: the index
keeps each domain's best-linked 1,000 referring domains, so for a domain of yours with more, one ranked below your
1,000th might link to you. The competitors are compared on their best-linked 1,000 each.

One row per referring domain:

```json
{
  "domain": "apify.com",
  "input": "apify.com",
  "referringDomain": "wordpress.org",
  "referringAuthorityScore": 84,
  "referringRank": 21,
  "position": 2,
  "targetAuthorityScore": 54,
  "targetReferringDomains": 3929,
  "sharedHost": false,
  "graphRelease": "cc-main-2026-aug-sep-oct",
  "error": null
}
```

`position` is the referring domain's place in the domain's list, 1 the best-linked. A domain with no referring
domains, or none at the score you asked for, gets one row with `error` saying so, and costs nothing.

### The authority score

The same score as [Domain Rank Checker](https://apify.com/pikoulas/domain-rank)'s: `100 × (1 − ln(rank) / ln(domains
in the graph))`, from the domain's harmonic-centrality rank, so the best-linked domain is 100 and the last 0. In the
current graph 75 is about the top 100 domains, 50 the top 12,000 and 25 the top 1.3 million.

### Use it as an API

Apify's API starts a run and returns its dataset as JSON; its Python and JavaScript clients, and its Make, Zapier and
n8n integrations, work the same way.

```bash
curl -X POST "https://api.apify.com/v2/acts/pikoulas~backlink-checker/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"domains": ["apify.com"], "maxPerDomain": 100}'
```

AI agents can call it as a tool through Apify's MCP server: `https://mcp.apify.com?tools=pikoulas/backlink-checker`.

### How much does it cost?

A referring domain is $0.001, so 100 for each of 10 domains cost $1, and a link gap of 500 domains $0.50. A domain with no referring domains, or none at
your lowest score, and an input that isn't a domain cost nothing. Set a spending limit on a run and it stops there,
with what it has found so far.

### Good to know

- **Domains, not pages or subdomains:** `blog.example.co.uk` is looked up as `example.co.uk`, and a link from any
  page of a domain counts it once. A site on a shared domain, such as `someone.github.io`, gets the shared domain's
  list, with `sharedHost: true`.
- **Up to 1,000 per domain,** the best-linked; `targetReferringDomains` says how many there are in all.
- **Links Common Crawl saw:** its crawler keeps to `robots.txt`, and covers billions of pages, not every page, so a
  link from a page it didn't crawl isn't in the graph.
- **Updated monthly:** each row says the graph release it came from, in `graphRelease`.
- **No website is visited** by a run: it reads an index of the graph. The Actor keeps nothing itself: results sit in
  the storage of whoever ran it. Questions or requests go to spyridwn.pd@gmail.com.

### FAQ

#### Does it give the backlinks' pages and anchor texts?

No. It gives referring domains: which domains link to yours, each with its authority. For the pages and anchor texts
of each link you need a page-level index such as Ahrefs' or Semrush's.

#### Where does the data come from?

From Common Crawl's domain-level web graph, which the non-profit [Common Crawl](https://commoncrawl.org) publishes for
anyone to use, under its [terms of use](https://commoncrawl.org/terms-of-use).

#### Something missing or not working?

Open an issue on the **Issues** tab with the input you used, or ask there for a field you need.

# Actor input Schema

## `domains` (type: `array`):

The domains whose referring domains you want, or URLs and email addresses to take them from. A subdomain is looked up as its registered domain (blog.example.co.uk as example.co.uk), and a site on a shared domain such as github.io as that domain. Leave empty for the link gap below.

## `competitors` (type: `array`):

Your competitors' domains: the domains that link to several of them and not to yours, the most competitors first, then the best-linked. Link-building targets: they link to sites like yours. Domains above are then not looked up.

## `yourDomain` (type: `string`):

Your own domain: the domains already linking to it are left out of the link gap.

## `minCompetitors` (type: `integer`):

A referring domain counts when it links to this many of the competitors or more. 2 by default with two competitors or more.

## `maxPerDomain` (type: `integer`):

The most referring domains given for each domain, the best-linked first, up to 1,000; for the link gap, the most rows, up to 10,000. Each one is a result.

## `minAuthorityScore` (type: `integer`):

Only referring domains whose authority score (0 to 100) is this or more.

## Actor input object example

```json
{
  "domains": [
    "apify.com",
    "paulgraham.com"
  ],
  "maxPerDomain": 20,
  "minAuthorityScore": 0
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `linkGap` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com",
        "paulgraham.com"
    ],
    "maxPerDomain": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("pikoulas/backlink-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": [
        "apify.com",
        "paulgraham.com",
    ],
    "maxPerDomain": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("pikoulas/backlink-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com",
    "paulgraham.com"
  ],
  "maxPerDomain": 20
}' |
apify call pikoulas/backlink-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pikoulas/backlink-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/spUk0V6eSq0MMwv2o/builds/HQbCE2BJZmgDh3g0K/openapi.json
