> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Backlinks API

> Backlinks pointing at a domain, with source URL and title, target URL, anchor text and authority scores. Pass the domains.

`POST /v1/data/web/backlinks/run`

**Pricing:** $0.008 per backlink ($8.00 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**domains** `string[]` *required*

One or more domains. One request reads them all.

**maxResults** `integer` (default: 20)

How many backlinks to return in total. Defaults to 20; use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/web/backlinks/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "domains": [
      "stripe.com",
      "lemonde.fr",
      "zerodha.com"
    ],
    "maxResults": 3
  }
}'
```

```python Python theme={null}
import os, requests

r = requests.post(
    "https://api.mindcase.co/v1/data/web/backlinks/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "domains": [
        "stripe.com",
        "lemonde.fr",
        "zerodha.com"
    ],
    "maxResults": 3
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/web/backlinks/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "domains": [
    "stripe.com",
    "lemonde.fr",
    "zerodha.com"
  ],
  "maxResults": 3
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one backlink, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `domain` | Domain | text |
| `sourceUrl` | Source URL | text |
| `sourceTitle` | Source Title | text |
| `targetUrl` | Target URL | text |
| `anchor` | Anchor | text |
| `sourceAuthorityScore` | Source Authority Score | number |
| `pageAuthorityScore` | Page Authority Score | number |
| `firstSeen` | First Seen | date |
| `lastSeen` | Last Seen | date |
| `nofollow` | Nofollow | boolean |
| `sponsored` | Sponsored | boolean |
| `ugc` | Ugc | boolean |
| `linkType` | Link Type | text |
| `linkPosition` | Link Position | text |
| `imageUrl` | Image URL | text |
| `sitewide` | Sitewide | boolean |
| `isNew` | Is New | boolean |
| `isLost` | Is Lost | boolean |
| `lostReason` | Lost Reason | text |
| `sourceLanguage` | Source Language | text |
| `sourceExternalLinks` | Source External Links | number |
| `sourceInternalLinks` | Source Internal Links | number |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "web/backlinks",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "linkType": "text",
      "isNew": false,
      "firstSeen": "2026-05-13",
      "sourceLanguage": "en",
      "sitewide": false,
      "pageAuthorityScore": 92,
      "ugc": false,
      "lastSeen": "2026-10-05",
      "lostReason": "content_changed",
      "sourceInternalLinks": 40,
      "sourceUrl": "https://www.mozilla.org/en-US/",
      "targetUrl": "https://www.lemonde.fr/en/economy/article/2026/02/18/ai-summit-in-india-pushes-a-third-way-between-us-and-china_6750615_19.html",
      "sponsored": false,
      "sourceAuthorityScore": 90,
      "domain": "lemonde.fr",
      "sourceTitle": "Mozilla - Internet for people, not profit (US)",
      "anchor": "Article Le Monde News AI summit in India pushes a 'third way' between US and China",
      "isLost": true,
      "imageUrl": null,
      "sourceExternalLinks": 46,
      "nofollow": false,
      "linkPosition": "content"
    }
  ]
}
```

## Related APIs

For keyword difficulty and the top-ranking pages use [`ahrefs/serp-overview`](https://docs.mindcase.co/apis/ahrefs/serp-overview); for traffic estimates use [`similarweb/traffic`](https://docs.mindcase.co/apis/similarweb/traffic).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.