# CrawlGraph API reference

> The CrawlGraph Backlink API returns the domains that link to a given domain, built from public Common Crawl snapshots. Each referring domain comes with its host count, TLD and an authority score. It also compares two snapshots to show linking domains that were added or removed, and runs gap…

Source: https://osinttools.io/apis/crawlgraph/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/crawlgraph/

- Base URL: https://crawlgraph.com/api/v1
- Authentication: Bearer token in the `Authorization` header. Get a key: https://crawlgraph.com Keys start with cg_live_; up to 10 active keys per user.
- Free tier: yes
- Rate limits: Free: 15 backlinks calls per UTC month; paid: 1,000 backlinks calls and 50 gap jobs per month. About 60 requests per minute per IP on /api/v1/*.
- Vendor docs: https://crawlgraph.com/docs/api
- OpenAPI spec: https://crawlgraph.com/api/v1/openapi.json

## Overview

The CrawlGraph Backlink API returns the domains that link to a given domain, built from public Common Crawl snapshots. Each referring domain comes with its host count, TLD and an authority score. It also compares two snapshots to show linking domains that were added or removed, and runs gap analysis (domains linking to competitors but not to you).

Requests go to `https://crawlgraph.com/api/v1` with an `Authorization: Bearer cg_live_<key>` header. A key is emailed on request. Free keys can call the backlinks endpoints only; gap analysis needs a paid plan. The same key and quotas also work on the MCP endpoint `https://crawlgraph.com/mcp`.

Results are periodic Common Crawl observations, not a live or complete view of the web, so a missing link does not prove it was removed.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Validation error: malformed domain, unknown release_id or out-of-range limit (not charged) |
| 401 | Authorization header missing or key invalid |
| 403 | Feature not on the key's plan |
| 404 | Resource missing or not owned by the caller |
| 409 | Release known but not queryable |
| 429 | Monthly quota reached; see Retry-After |
| 500 | Server error; quote the request_id |

## Backlinks

### Referring domains for one domain, from a Common Crawl release.

`POST /backlinks`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Cost: 1 backlinks call
- Plan: Any plan

Synchronous lookup that returns the domains linking to the given domain, sorted by authority or host count. Counts as one backlinks call.

Response fields:

- `domain` (string): The domain looked up
- `release_id` (string): Release used
- `release_label` (string): Human label of the release
- `total_linking_domains` (integer): Count retrieved before limit is applied
- `returned` (integer): Rows in this response
- `results[].linking_domain` (string): Domain that links to the target
- `results[].num_hosts` (integer): Number of hosts on the linking domain
- `results[].tld` (string): Top-level domain
- `results[].cg_authority` (integer): 0-100 log-rank percentile from harmonic centrality; may be null
- `results[].cg_rank` (integer): Raw PageRank position, 1 = top; may be null

```bash
curl -X POST 'https://crawlgraph.com/api/v1/backlinks' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"domain":"example.com","limit":500}'
```

Example response (200):

```json
{
  "domain": "example.com",
  "release_id": "release-example-1",
  "release_label": "Example release",
  "total_linking_domains": 2,
  "returned": 2,
  "results": [
    {
      "linking_domain": "example.org",
      "num_hosts": 3,
      "tld": "org",
      "cg_authority": 71,
      "cg_rank": 120345
    },
    {
      "linking_domain": "example.net",
      "num_hosts": 1,
      "tld": "net",
      "cg_authority": 54,
      "cg_rank": 981234
    }
  ]
}
```

### Compare a domain's referring domains across two release snapshots.

`GET /changes`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Cost: 1 backlinks call
- Plan: Any plan

Returns linking domains added, removed and with moved authority between two Common Crawl releases. With both release IDs omitted, the newest queryable pair is compared. Costs one backlinks call, even when comparison_available is false.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | query | string | yes | Strict domain only: no schemes, paths, bare TLDs or IPs Example: example.com |
| `from` | query | string | no | Older release ID Example: release-example-1 |
| `to` | query | string | no | Newer release ID Example: release-example-2 |

Response fields:

- `comparison_available` (boolean): False when fewer than two releases are queryable
- `from_release.id` (string): Older release ID
- `to_release.id` (string): Newer release ID
- `counts.added` (integer): Linking domains added
- `counts.removed` (integer): Linking domains removed
- `added[].linking_domain` (string): Newly seen linking domain
- `removed[].linking_domain` (string): Linking domain no longer seen
- `authority_moved[].delta` (integer): Change in authority
- `truncated` (boolean): True when the per-snapshot cap of 100000 was hit
- `snapshot_caveat` (string): Absence in a snapshot does not prove a link was removed

```bash
curl 'https://crawlgraph.com/api/v1/changes?domain=example.com' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "comparison_available": true,
  "from_release": {
    "id": "release-example-1",
    "label": "Example release 1"
  },
  "to_release": {
    "id": "release-example-2",
    "label": "Example release 2"
  },
  "counts": {
    "from_snapshot": 120,
    "to_snapshot": 125,
    "added": 8,
    "removed": 3,
    "authority_moved": 1
  },
  "added": [
    {
      "linking_domain": "example.org",
      "num_hosts": 2,
      "cg_authority": 60
    }
  ],
  "removed": [
    {
      "linking_domain": "example.net",
      "num_hosts": 1,
      "cg_authority": 40
    }
  ],
  "authority_moved": [
    {
      "linking_domain": "example.com",
      "from_authority": 50,
      "to_authority": 55,
      "delta": 5
    }
  ],
  "truncated": false,
  "cap": 100000,
  "snapshot_caveat": "Snapshots are periodic observations."
}
```

## Account

### List indexed Common Crawl releases; free and works as a key check.

`GET /releases`

- Footprint: passive (the target is not contacted)
- Cost: Free
- Plan: Any plan

Not counted against quota and returns rate-limit headers. Only releases with available true can be queried.

Response fields:

- `releases[].id` (string): Release ID
- `releases[].label` (string): Release label
- `releases[].available` (boolean): Whether it can be queried

```bash
curl 'https://crawlgraph.com/api/v1/releases' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "releases": [
    {
      "id": "release-example-2",
      "label": "Example release 2",
      "available": true
    }
  ]
}
```

## Gap analysis

### Queue a job for domains linking to competitors but not to you.

`POST /gap-analysis`

- Takes: Domain
- Footprint: passive (the target is not contacted)
- Cost: 1 gap job
- Plan: Paid plans

Asynchronous job; poll the returned poll_url. Paid plans only. Costs one gap job.

Response fields:

- `job_id` (string): Job identifier
- `status` (string): queued
- `poll_url` (string): Where to poll the job

```bash
curl -X POST 'https://crawlgraph.com/api/v1/gap-analysis' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"my_domain":"example.com","competitor_domains":["example.org","example.net"]}'
```

Example response (202):

```json
{
  "job_id": "job-example-1",
  "status": "queued",
  "poll_url": "https://crawlgraph.com/api/v1/gap-analysis/job-example-1"
}
```

### Poll a gap-analysis job; jobs are kept for 7 days.

`GET /gap-analysis/{job_id}`

- Footprint: passive (the target is not contacted)
- Plan: Paid plans

Returns progress while queued or running, and the gaps when completed. A job that is not yours returns 404.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `job_id` | path | string | yes | Job ID from the POST response Example: job-example-1 |

Response fields:

- `status` (string): queued, running, completed or failed
- `progress_pct` (integer): Progress while queued or running
- `result.total_gaps` (integer): Number of gap domains
- `result.gaps[].linking_domain` (string): Domain linking to competitors but not you
- `result.gaps[].found_on[]` (string): Competitor domains it links to
- `error.code` (string): Present when failed

```bash
curl 'https://crawlgraph.com/api/v1/gap-analysis/job-example-1' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "status": "completed",
  "completed_at": "2026-01-01T00:00:00Z",
  "result": {
    "my_domain": "example.com",
    "competitor_domains": [
      "example.org"
    ],
    "gaps": [
      {
        "linking_domain": "example.net",
        "found_on": [
          "example.org"
        ]
      }
    ],
    "total_gaps": 1
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
