<!-- The markdown copy of https://oppalerts.com/docs/free-pagerank-api . All pages: https://oppalerts.com/docs/llms.txt -->

[Documentation](https://oppalerts.com/docs/) / Free PageRank API

# Free PageRank API

`GET https://pagerank-api.oppalerts.com/api/current/<host>`

`GET https://pagerank-api.oppalerts.com/api/history/<host>`

`GET https://pagerank-api.oppalerts.com/api/limits`

Check the latest PageRank for a domain and host, or see how their scores have changed over time. Each lookup takes one GET request.

You can use this free PageRank checker to look up any website with no account or API key. Send `GET https://pagerank-api.oppalerts.com/api/current/example.com` to get two scores in JSON, each on a scale of 0 to 100. If you look up `blog.example.com`, `pr_domain` gives you the score for the registrable domain (`example.com`) and `pr_host` gives you the score for the blog itself. To follow those scores over time, use `GET /api/history/<host>`. History begins in July 2017 and includes any crawl month with a score for the domain or host. OppAlerts calculates its own scores from links in the Common Crawl web graph. These scores are separate from Google PageRank, which Google keeps private.

Use the Free PageRank API to check a site’s authority for link building or SEO, or to score a list of sites from a script. You can send one request per second from each IP address, up to 1,000 current lookups and 100 history lookups per day. Each completed lookup tells you how many calls you have left for that endpoint. Use `GET /api/limits` to see all your daily limits, remaining calls, and the time until the 00:00 UTC reset. For history on up to 100 hosts at once, an OppAlerts account gives you access to `linkgraph_history` through the OppAlerts API or MCP server.

## Quick start

Start with `example.com`. This command returns its latest domain and host scores. You can run it without adding headers or a token.

```bash
curl https://pagerank-api.oppalerts.com/api/current/example.com
```

```json
{
  "status": "ok",
  "pr_domain": 68,
  "pr_host": 62,
  "current_calls_left_today": 999
}
```

To see how those scores have changed, request the history for the same host.

```bash
curl https://pagerank-api.oppalerts.com/api/history/example.com
```

Check how many calls your IP address has left today and when the limits reset.

```bash
curl https://pagerank-api.oppalerts.com/api/limits
```

To try these requests in your browser, use the form on [pagerank-api.oppalerts.com](https://pagerank-api.oppalerts.com/).

## GET /api/current/<host>

Look up the latest scores for a host and its registrable domain.

### Request

Put the host name in the request path. You don’t need a request body, custom headers, or a token. The API ignores the query string.

```http
GET /api/current/blog.example.com HTTP/1.1
Host: pagerank-api.oppalerts.com
```

### Response

The JSON response below gives `example.com` a domain score of 68 and `blog.example.com` a host score of 25. The example includes the main response headers.

```http
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: no-store

{
  "status": "ok",
  "pr_domain": 68,
  "pr_host": 25,
  "current_calls_left_today": 999
}
```

If the web graph has no score for either the host or its domain, the API returns HTTP 200 with `status` set to `not_indexed`.

```json
{
  "status": "not_indexed",
  "pr_domain": null,
  "pr_host": null,
  "current_calls_left_today": 995
}
```

### Response fields

**`status`string**

`ok` means the web graph has a score for the host, its domain, or both. If neither has a score, you’ll see `not_indexed`. For `error`, see Errors.

**`pr_domain`integer 0 to 100, or null**

The latest PageRank for the registrable domain, or `null` if no score is available. The API uses the Public Suffix List to identify that domain. For `blog.example.co.uk`, it’s `example.co.uk`.

**`pr_host`integer 0 to 100, or null**

The latest PageRank for the host you requested, or `null` if no score is available. The host and its `www` form count as one host: for each crawl month, the score is the higher of the two. So `example.com` and `www.example.com` get the same score.

**`current_calls_left_today`integer**

How many current lookups your IP address has left today, after this request.

- A score of 0 means the site has very few incoming links from other sites. A value of `null` means the web graph has no score.
- If a domain has a score but the host you requested has none, `status` is `ok` and `pr_host` is `null`. This is common when you look up a subdomain.
- The API returns the latest available score for each field, so `pr_domain` and `pr_host` can come from different crawl months.

## GET /api/history/<host>

The history lists domain and host scores by crawl month, oldest first. Use it to see when links to a site first appeared in the web graph and how the site’s authority has changed since then.

### Request

```http
GET /api/history/example.com HTTP/1.1
Host: pagerank-api.oppalerts.com
```

### Response

On November 27, 2026, the full response for `example.com` covered 54 crawl months, from July 2017 through November 2026.

```json
{
  "status": "ok",
  "history_calls_left_today": 99,
  "history": [
    {"date": "2017-07", "pr_domain": 62, "pr_host": 59},
    {"date": "2017-10", "pr_domain": 64, "pr_host": 55},
    {"date": "2018-01", "pr_domain": 65, "pr_host": 57},
    {"date": "2018-04", "pr_domain": 65, "pr_host": 58},
    {"date": "2018-07", "pr_domain": 64, "pr_host": 59},
    {"date": "2018-10", "pr_domain": 65, "pr_host": 58},
    {"date": "2019-01", "pr_domain": 64, "pr_host": 60},
    {"date": "2019-04", "pr_domain": 63, "pr_host": 62},
    {"date": "2019-07", "pr_domain": 63, "pr_host": 60},
    {"date": "2019-10", "pr_domain": 63, "pr_host": 59},
    {"date": "2020-01", "pr_domain": 63, "pr_host": 57},
    {"date": "2020-05", "pr_domain": 63, "pr_host": 60},
    {"date": "2020-09", "pr_domain": 64, "pr_host": 60},
    {"date": "2021-01", "pr_domain": 63, "pr_host": 59},
    {"date": "2021-05", "pr_domain": 65, "pr_host": 60},
    {"date": "2021-09", "pr_domain": 63, "pr_host": 60},
    {"date": "2022-01", "pr_domain": 65, "pr_host": 60},
    {"date": "2022-08", "pr_domain": 63, "pr_host": 60},
    {"date": "2023-01", "pr_domain": 63, "pr_host": 60},
    {"date": "2023-10", "pr_domain": 64, "pr_host": 63},
    {"date": "2023-11", "pr_domain": 64, "pr_host": 63},
    {"date": "2024-02", "pr_domain": 65, "pr_host": 64},
    {"date": "2024-04", "pr_domain": 65, "pr_host": 66},
    {"date": "2024-05", "pr_domain": 64, "pr_host": 66},
    {"date": "2024-06", "pr_domain": 64, "pr_host": 66},
    {"date": "2024-07", "pr_domain": 65, "pr_host": 66},
    {"date": "2024-08", "pr_domain": 65, "pr_host": 66},
    {"date": "2024-09", "pr_domain": 65, "pr_host": 65},
    {"date": "2024-10", "pr_domain": 65, "pr_host": 62},
    {"date": "2024-11", "pr_domain": 65, "pr_host": 62},
    {"date": "2024-12", "pr_domain": 65, "pr_host": 62},
    {"date": "2025-01", "pr_domain": 65, "pr_host": 62},
    {"date": "2025-02", "pr_domain": 65, "pr_host": 62},
    {"date": "2025-03", "pr_domain": 65, "pr_host": 61},
    {"date": "2025-04", "pr_domain": 65, "pr_host": 61},
    {"date": "2025-05", "pr_domain": 65, "pr_host": 62},
    {"date": "2025-06", "pr_domain": 65, "pr_host": 62},
    {"date": "2025-07", "pr_domain": 65, "pr_host": 62},
    {"date": "2025-08", "pr_domain": 65, "pr_host": 61},
    {"date": "2025-09", "pr_domain": 65, "pr_host": 61},
    {"date": "2025-10", "pr_domain": 65, "pr_host": 61},
    {"date": "2025-11", "pr_domain": 66, "pr_host": 63},
    {"date": "2025-12", "pr_domain": 66, "pr_host": 62},
    {"date": "2026-01", "pr_domain": 66, "pr_host": 59},
    {"date": "2026-02", "pr_domain": 66, "pr_host": 60},
    {"date": "2026-03", "pr_domain": 67, "pr_host": 61},
    {"date": "2026-04", "pr_domain": 67, "pr_host": 61},
    {"date": "2026-05", "pr_domain": 67, "pr_host": 59},
    {"date": "2026-06", "pr_domain": 67, "pr_host": 61},
    {"date": "2026-07", "pr_domain": 67, "pr_host": 61},
    {"date": "2026-08", "pr_domain": 67, "pr_host": 61},
    {"date": "2026-09", "pr_domain": 67, "pr_host": 61},
    {"date": "2026-10", "pr_domain": 68, "pr_host": 62},
    {"date": "2026-11", "pr_domain": 68, "pr_host": 62}
  ]
}
```

### Response fields

**`status`string**

`ok` means at least one crawl month has a score. If no month has a score for the host or its domain, the API returns `not_indexed`. A failed request returns `error`.

**`history_calls_left_today`integer**

How many history lookups your IP address has left today, after this request.

**`history`list**

One entry per crawl month with a score for the host or its domain, oldest first. The list is empty when `status` is `not_indexed`.

**`history.date`string, YYYY-MM**

The month of the last crawl in the graph. Common Crawl combines three crawls to build each web graph.

**`history.pr_domain`integer 0 to 100, or null**

The registrable domain’s PageRank for that crawl month, or `null` if there’s no domain score.

**`history.pr_host`integer 0 to 100, or null**

The host’s PageRank for that crawl month: the higher of the host and its `www` form, or `null` if neither has a score.

## GET /api/limits

Check the daily limit and remaining calls for each endpoint, along with the time until the next reset. Each limits request counts toward this endpoint’s daily limit and the shared limit of one request per second. You can check your limits without using a current or history lookup.

### Request

```http
GET /api/limits HTTP/1.1
Host: pagerank-api.oppalerts.com
```

Use the exact path `/api/limits`. Don’t append a host name or a trailing slash.

### Response

This IP address has used one of its 1,000 current lookups today, leaving 999.

```json
{
  "status": "ok",
  "current_calls_per_day": 1000,
  "current_calls_left_today": 999,
  "history_calls_per_day": 100,
  "history_calls_left_today": 100,
  "limits_calls_per_day": 1500,
  "limits_calls_left_today": 1498,
  "resets_at_utc": "2026-11-29T00:00:00Z",
  "resets_in_seconds": 72407,
  "resets_in": "20:06:47"
}
```

### Response fields

**`current_calls_per_day`, `current_calls_left_today`integers**

Your IP address’s daily limit for `/api/current/` and the number of current lookups left today.

**`history_calls_per_day`, `history_calls_left_today`integers**

Your IP address’s daily limit for `/api/history/` and the number of history lookups left today.

**`limits_calls_per_day`, `limits_calls_left_today`integers**

Your IP address’s daily limit for `/api/limits` and the number of calls left today after this one.

**`resets_at_utc`string**

The date and time of the next daily reset, at 00:00 UTC.

**`resets_in_seconds`integer**

The number of seconds until the daily limits reset.

**`resets_in`string, hours:minutes:seconds**

The countdown in `resets_in_seconds`, shown in hours, minutes, and seconds.

## Limits

The API tracks usage by IP address, so you don’t need an account or a key. An IPv6 connection usually has a block of addresses called a /64. The API counts the whole block as one client, so those addresses share the same limits.

| Limit | Per IP address |
| --- | --- |
| Requests per second across all three endpoints | 1 |
| `/api/current/` requests per day | 1,000 |
| `/api/history/` requests per day | 100 |
| `/api/limits` requests per day | 1,500 |
| Daily reset time | 00:00 UTC |

- A request that returns `bad_host` counts toward your limits. Some requests fail before the API checks your limits and don’t count. These include requests with a path that’s too long, an unsupported HTTP method, an unknown route, or a host name that’s empty or longer than 128 bytes.
- Requests that return HTTP 429 don’t count toward your daily limits.
- If you reach a limit, the API returns HTTP 429. The `Retry-After` header tells you how long to wait. See Errors.
- If you’re checking a list of hosts, space your requests at least one second apart.
- To look up history for several hosts at once, you can request up to 100 per call with an OppAlerts account.

## Host name format

- Send just the host name, such as `example.com`, `www.example.com`, or `blog.example.com`. Leave out `https://`, the path, and the port.
- Use letters (`a` to `z`), digits (`0` to `9`), hyphens (`-`), underscores (`_`), and dots (`.`). The API converts uppercase letters to lowercase and removes one trailing dot.
- A host name can be up to 128 bytes long and must contain at least one dot. It can’t begin with a dot or contain two dots in a row. No part of the name can start with a hyphen.
- For an international domain name such as `bücher.example`, send its punycode form, `xn--bcher-kva.example`. Browsers already supply host names in punycode. The API rejects paths containing `%`.
- The API rejects IPv4 addresses, `localhost`, and names ending in `.localhost`, `.local`, or `.internal`.
- The full path can be up to 141 bytes. The `/api/current/` or `/api/history/` prefix takes 13 bytes, leaving up to 128 bytes for the host.
- Use `GET` to retrieve scores. Use `HEAD` for just the headers you’d get with `GET`. It counts as a `GET` request. The API rejects other methods.

## Errors

Every JSON error response sets `status` to `error` and includes three other standard fields. Use `error_code` to identify the error in a script. Read `error_message` for a plain-English explanation. `next_step` is plain text with a full URL: for an HTTP 429 it points to the OppAlerts home page for higher limits, and for every other error to this documentation. A successful response has no `next_step`.

```json
{
  "status": "error",
  "error_code": "bad_host",
  "error_message": "The host is not a public host name.",
  "next_step": "Read the documentation: https://oppalerts.com/docs/free-pagerank-api#errors"
}
```

The API returns the first error it finds. It checks the path length, HTTP method, route, host length, client IP address, and usage limits before validating the host name.

- `path_too_long` (HTTP 414): "The path is longer than 141 bytes."
- `method_not_allowed` (HTTP 405): the request used a method other than `GET` or `HEAD`. The message reads "Only GET is allowed."
- `no_such_route` (HTTP 404): the path didn’t match `/api/current/<host>`, `/api/history/<host>`, or `/api/limits`. The message reads "The path is not a route of this API."
- `host_length` (HTTP 400): "The host is empty or longer than 128 bytes."
- `no_client_address` (HTTP 400): "The server cannot read the client IP address."
- `rate_limited` (HTTP 429): you’ve reached a limit. The response also includes `limit_name` and `retry_after_seconds`.
- `bad_host` (HTTP 400): "The host is not a public host name." See Host name format.
- `http_error`: the server rejected the HTTP request before reading the path. The HTTP status depends on the problem, and the message reads "The HTTP request was refused."

### HTTP 429 response

If two requests arrive from your IP address in the same second, the API returns HTTP 429 for the second one. You can read the wait time in either the response headers or the JSON body.

```http
HTTP/1.1 429 Too Many Requests
Content-Type: application/json; charset=utf-8
Cache-Control: no-store
Retry-After: 1

{
  "status": "error",
  "error_code": "rate_limited",
  "error_message": "More than the requests a second allowed for one IP address.",
  "limit_name": "per_second",
  "retry_after_seconds": 1,
  "next_step": "For higher limits, get an OppAlerts account: https://oppalerts.com/"
}
```

**`limit_name`per_second | current_per_day | history_per_day | limits_per_day**

The limit your IP address reached.

**`retry_after_seconds`integer**

How many seconds to wait before retrying. The `Retry-After` header gives the same value. For `per_second`, wait one second. For a daily limit, wait until 00:00 UTC.

**`next_step`string**

"For higher limits, get an OppAlerts account: https://oppalerts.com/" An OppAlerts account gives higher limits.

Each daily limit has its own error message.

- `current_per_day`: "The current PageRank requests of today are used up for this IP address."
- `history_per_day`: "The history requests of today are used up for this IP address."
- `limits_per_day`: "The limits requests of today are used up for this IP address."

An HTTP 502 or 503 response without a JSON body comes from the web server in front of the API. It means the API is temporarily unavailable, as can happen while OppAlerts loads new data. Try again in a few minutes.

## How the scores work

- The [Common Crawl web graph](https://commoncrawl.org/web-graphs) shows which hosts link to each other and which domains link to each other, based on links found in crawls of the public web.
- For each web graph, OppAlerts puts the PageRank scores on a logarithmic scale from 0 to 100.
- The history begins in July 2017. As of November 27, 2026, the latest crawl month was November 2026.
- These scores come from OppAlerts’ calculations on public link data. They are independent of Google PageRank, which Google keeps private.
- Scores change only when OppAlerts loads a new web graph.

## Working with API responses

- Save scores you plan to use again. A second lookup for the same host on the same day uses another call and returns the same scores.
- Check `status` before reading the scores.
- Allow one second between requests. If you get HTTP 429, wait the number of seconds in `retry_after_seconds` before retrying.
- Call the API from a server, a script, or a browser extension. The API sends no CORS header, so JavaScript running on another website can’t read the response.
- Every API response includes `Cache-Control: no-store`.

## More PageRank data with an OppAlerts account

The Free PageRank API works without an account. An [OppAlerts account](https://oppalerts.com/) adds `linkgraph_history` for batch history lookups. Use it through the OppAlerts API (`POST https://api.oppalerts.com/v1/linkgraph/history`) or the MCP server for AI agents.

- **Hosts per call.** The Free PageRank API accepts one host per call. With `linkgraph_history`, you can send up to 100.
- **Scores.** The Free PageRank API returns PageRank for the domain and the host, with the `www` form folded into the host score. With `linkgraph_history`, you get PageRank and PRoT for the host, its `www` variant, and its registrable domain. PRoT (PageRank over Time) adds up the monthly PageRank scores.
- **Additional fields.** `linkgraph_history` also returns `pr_newest`, `pr_change` (the change since the first month with a score), and a sort order.
- **Daily history calls.** Each IP address gets 100 history calls per day with the Free PageRank API. For `linkgraph_history`, the daily limit depends on your account. A free account gets 10 calls, OppAlerts 250 gets 300, OppAlerts 500 gets 1,000, and OppAlerts 1000 gets 3,000. Each call accepts up to 100 hosts. See [Usage and Daily Limits](https://oppalerts.com/docs/getting-started/usage-and-daily-limits).
- **Reset time.** Daily limits reset at 00:00 UTC for the Free PageRank API and at 04:00 New York time for an OppAlerts account.
- **Access.** You can use the Free PageRank API without a token. To use `linkgraph_history`, you need an [API or MCP token](https://oppalerts.com/docs/account/api-tokens).

With an OppAlerts account, you can monitor the news and the web each day for backlink and brand mention opportunities. You can also look up backlinks, compare sites to find link gaps, and check brand mentions and site information. Each paid plan starts with a [free 14-day trial](https://oppalerts.com/docs/getting-started/free-trial). Visit the [OppAlerts home page](https://oppalerts.com/) to get started.

## Related pages

- [linkgraph_history in the API](https://oppalerts.com/docs/api/linkgraph_history)
- [linkgraph_history in MCP](https://oppalerts.com/docs/mcp/linkgraph_history)
- [Link Graph: Site in the web app](https://oppalerts.com/docs/app/siteinfo/linkgraph_site)
- [Usage and Daily Limits](https://oppalerts.com/docs/getting-started/usage-and-daily-limits)
- [Free 14-Day Trial](https://oppalerts.com/docs/getting-started/free-trial)
