# Website Rank Lookup — Majestic Million (`nexgendata/website-rank-lookup-majestic-million`) Actor

Look up any domain's rank in the Majestic Million, the free daily top-1M list ranked by how many sites link to it. Rank, links, change since the last list. Link-based, not traffic.

- **URL**: https://apify.com/nexgendata/website-rank-lookup-majestic-million.md
- **Developed by:** [NexGenData](https://apify.com/nexgendata) (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

$10.00 / 1,000 domain found in the majestic millions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Website Rank Lookup — Majestic Million

Website Rank Lookup is a NexGenData tool on Apify that returns each domain's link-based rank, referring subnets and rank change from the Majestic Million list (CC BY 3.0).

Look up where any website ranks in the **Majestic Million**: Majestic's free, daily list of the top 1,000,000 sites. Give it a list of domains; get back each one's rank, its rank among sites with the same ending, how many networks link to it, and how its rank moved since the previous list.

> **This is a link-based rank, not traffic.** Majestic ranks sites by how many different IP subnets link to them. A site can have lots of visitors and a modest Majestic rank, or the other way round. Use it to compare how established and widely linked sites are — not to estimate visits.

**Source and licence:** Majestic Million CSV by Majestic-12 Ltd, licensed under Creative Commons Attribution 3.0 Unported. Every row carries the credit line *"Majestic Million by Majestic-12 Ltd (majestic.com), licensed CC BY 3.0"*. If you republish the data, keep that credit.

### 📊 What you get

One row per domain you give (13 fields):

- `domain` — domain looked up (scheme, `www.` and path removed)
- `found_in_top_million` — `true` when the domain is in the list
- `global_rank` — rank in the Majestic Million, 1 = most linked-to site
- `tld_rank` — rank among sites with the same ending (.com, .org …)
- `tld` — domain ending
- `referring_subnets` — number of distinct IP subnets linking to the site (what the rank is based on)
- `referring_ips` — number of distinct IP addresses linking to the site
- `previous_global_rank` — rank in the previous list
- `rank_change` — `previous_global_rank` minus `global_rank`; positive means the site moved up
- `list_date` — date of the Majestic list used
- `rank_basis` — always says the rank is link-based, not traffic
- `source` — the CC BY 3.0 credit line
- `checked_at` — when the run looked the domain up (UTC)

Domains outside the top million come back with `found_in_top_million: false` and empty rank fields.

**Not returned:** visits, traffic, bounce rate, traffic sources or audience data. Majestic's list doesn't contain them.

### ⚙️ Input

| Field | Type | What it does |
|---|---|---|
| `domains` | list of text | Domains to look up, up to 1,000 per run. Full URLs are fine — `https://www.apify.com/store` becomes `apify.com`. |

### ▶️ Example input

```json
{ "domains": ["google.com", "wikipedia.org", "apify.com"] }
```

### 🧾 Example output (one row)

```json
{
  "domain": "wikipedia.org",
  "found_in_top_million": true,
  "global_rank": 9,
  "tld_rank": 1,
  "tld": "org",
  "referring_subnets": 260000,
  "referring_ips": 870000,
  "previous_global_rank": 9,
  "rank_change": 0,
  "list_date": "2026-11-03",
  "rank_basis": "links (number of distinct IP subnets linking to the site) — not traffic",
  "source": "Majestic Million by Majestic-12 Ltd (majestic.com), licensed CC BY 3.0",
  "checked_at": "2026-11-03T23:00:00+00:00"
}
```

(Numbers in this example are illustrative of the shape; a real run returns the day's values.)

### 💰 Pricing

- **Ranked domain** — $0.01, charged once for each domain found in the top million. No start fee.
- Domains not in the list are returned but **not charged**.
- A run with no valid domain stops at once and charges nothing.

### 🔄 How fresh is it?

Majestic publishes a new list about once a day. Majestic asks that the file be downloaded no more than once every 24 hours, so the actor keeps a copy in a key-value store in your own Apify account (`ngd-majestic-million-cache`) and downloads again only when Majestic has published a new list. The first run in an account takes longer (about 80 MB download); later runs reuse the copy.

### ❓ FAQ

**Is this the same as SimilarWeb or Alexa traffic rank?** No. Those estimate visits. This ranks sites by how many networks link to them.

**Can I look up subdomains?** The list mostly holds whole sites (`example.com`). A subdomain is looked up exactly as given and is usually not in the list.

**Why is my site not found?** Only the top 1,000,000 sites by referring subnets are in the list.

# Actor input Schema

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

Domains to look up, one per line, e.g. apify.com. Full URLs are accepted (https://www.apify.com/store becomes apify.com). Up to 1,000 per run. Each domain found in the top million is one charge; domains not in it are returned with found_in_top_million=false and not charged.

## Actor input object example

```json
{
  "domains": [
    "google.com",
    "wikipedia.org",
    "apify.com"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Default dataset (13 fields per row).

# 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": [
        "google.com",
        "wikipedia.org",
        "apify.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/website-rank-lookup-majestic-million").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": [
        "google.com",
        "wikipedia.org",
        "apify.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("nexgendata/website-rank-lookup-majestic-million").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": [
    "google.com",
    "wikipedia.org",
    "apify.com"
  ]
}' |
apify call nexgendata/website-rank-lookup-majestic-million --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nexgendata/website-rank-lookup-majestic-million"
        }
    }
}
```

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/1kt0pU6MEa7oIXoXs/builds/BfciFlC3nK06f1xqf/openapi.json
