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

# Get Site Strength

> Get the Site Strength of a domain: a 0–100 score of how strongly the web links to it, from the Rankfield web graph.

`GET https://rankfield.dev/v1/domains/{domain}/site-strength`

```bash cURL
curl 'https://rankfield.dev/v1/domains/wikipedia.org/site-strength' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

```python Python
import requests

response = requests.get(
    "https://rankfield.dev/v1/domains/wikipedia.org/site-strength",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
print(response.json())
```

```javascript JavaScript
const response = await fetch("https://rankfield.dev/v1/domains/wikipedia.org/site-strength", {
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
  },
});
console.log(await response.json());
```

```json 200
{
  "domain": "wikipedia.org",
  "siteStrength": 100
}
```

```json 200 (not in the graph)
{
  "domain": "example-not-in-graph.dev",
  "inGraph": false,
  "siteStrength": 0
}
```

```json 400
{
  "error": {
    "message": "Invalid domain"
  }
}
```

```json 401
{
  "error": {
    "message": "A valid API key is required"
  }
}
```

## Parameters

### Headers

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `Authorization` | string | Yes | – | `Bearer` followed by your API key. See [Authentication](/docs/get-started/authentication). |

### Path parameters

| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| `domain` | string | Yes | – | The domain, such as `example.com`. Case is ignored, a leading `www.` is removed, and a full URL is read as its host. URL-encode it in the path. |

## Response

| Field | Type | Description |
|---|---|---|
| `domain` | string | The domain as it was looked up, after normalising. |
| `inGraph` | boolean | Only when the domain isn't in our link graph yet: `false`, with zeros. Absent otherwise. |
| `siteStrength` | integer | 0–100. Higher means stronger link evidence in the graph. |

The score is Rankfield's own. It is not Moz Domain Authority or Ahrefs Domain Rating, and it does not estimate traffic. [How Site Strength works](/docs/site-strength/how-site-strength-works) explains how it is calculated.

## Errors

| Status | When |
|---|---|
| 400 | The domain is not a valid domain name, or a parameter is out of range. |
| 401 | No valid API key. |
| 429 | Too many requests at once; wait for `Retry-After`. |
| 502 | The graph lookup behind the API failed. Retry later. |
| 503 | The graph index is unavailable for a moment. Retry after `Retry-After`. |

## Limits

No per-key limits. When the server is busy you get `429` with `Retry-After`.

## Related

- [Get Referring Domains](/docs/referring-domains/get-referring-domains): how many domains link to this one, with the 20 strongest.
- [Get Referrer Profile](/docs/referring-domains/get-referrer-profile): the Site Strength of every referring domain, in ten ranges.

## MCP

On the [MCP server](/docs/agents/mcp-server), the tool for this is `get_site_strength`.
