{"api":{"id":"api_d31514e90f8d56cfcc693e8d","slug":"majestic-million-ranking","name":"Majestic Million Domain Ranking API","description":"Domain link-authority rankings from the Majestic Million: global rank, rank within the domain ending, referring subnets, referring IPs and last week's rank, for domains you name or the top ranked domains of one TLD.","kind":"ready_made","visibility":"public","domain":"downloads.majestic.com","source_url":"https://majestic.com/reports/majestic-million","category":"public_data","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T04:45:48.375Z","updated_at":"2026-12-06T04:45:48.375Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"global_rank","type":"integer","description":"Rank among all domains in the Majestic Million (1 is best).","required":true,"coverage":1,"example":10},{"name":"tld_rank","type":"integer","description":"Rank among domains with the same ending.","required":false,"coverage":1,"example":10},{"name":"domain","type":"string","description":"The ranked domain.","required":true,"coverage":1,"example":"github.com"},{"name":"tld","type":"string","description":"The domain's ending, such as com or co.uk.","required":false,"coverage":1,"example":"com"},{"name":"referring_subnets","type":"integer","description":"Number of distinct IP subnets that link to the domain.","required":false,"coverage":1,"example":250224},{"name":"referring_ips","type":"integer","description":"Number of distinct IP addresses that link to the domain.","required":false,"coverage":1,"example":619683},{"name":"previous_global_rank","type":"integer","description":"Global rank on last week's list, when the domain was on it.","required":false,"coverage":1,"example":10}],"inputs":[{"name":"domains","type":"array","description":"Domains to look up, such as github.com. Leave empty to list the top ranked domains instead.","example":["github.com","example.org"]},{"name":"tld","type":"string","description":"Only domains ending in this TLD, such as ca, com or co.uk (no dot).","example":"ca"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"domain":{"description":"The ranked domain.","type":"string"},"global_rank":{"description":"Rank among all domains in the Majestic Million (1 is best).","type":"integer"},"previous_global_rank":{"description":"Global rank on last week's list, when the domain was on it.","type":"integer"},"referring_ips":{"description":"Number of distinct IP addresses that link to the domain.","type":"integer"},"referring_subnets":{"description":"Number of distinct IP subnets that link to the domain.","type":"integer"},"tld":{"description":"The domain's ending, such as com or co.uk.","type":"string"},"tld_rank":{"description":"Rank among domains with the same ending.","type":"integer"}},"required":["global_rank","domain"],"title":"Majestic Million Domain Ranking API","type":"object"},"samples":[{"global_rank":10,"tld_rank":10,"domain":"github.com","tld":"com","referring_subnets":250224,"referring_ips":619683,"previous_global_rank":10},{"global_rank":11,"tld_rank":1,"domain":"wikipedia.org","tld":"org","referring_subnets":223083,"referring_ips":667166,"previous_global_rank":11},{"global_rank":35,"tld_rank":5,"domain":"mozilla.org","tld":"org","referring_subnets":132232,"referring_ips":345692,"previous_global_rank":36}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"domain":1,"global_rank":1,"previous_global_rank":1,"referring_ips":1,"referring_subnets":1,"tld":1,"tld_rank":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_d31514e90f8d56cfcc693e8d/run","openapi":"https://pullrow.dev/v1/apis/api_d31514e90f8d56cfcc693e8d/openapi.json","contract":"https://pullrow.dev/v1/apis/api_d31514e90f8d56cfcc693e8d/contract.json","page":"https://pullrow.dev/catalog/majestic-million-ranking"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Covers only the one million best-ranked domains. A domain outside the list simply returns no record.","Ranks are by referring subnets (links from distinct networks), a link-based measure, not by traffic.","With no domains, records come in rank order, from rank 1 down; add tld to keep only one domain ending (for example ca).","A run returns at most 5,000 records. Looking up domains that are not on the list, or ranked low, reads more of the 80 MB file and can take a minute or two.","Domains are matched exactly as listed (no www); a registered domain such as example.co.uk is matched as a whole.","previous_global_rank is empty for domains that were not on last week's list.","Majestic publishes the list daily, so ranks can be up to a day old.","Data licensed CC BY 3.0: credit Majestic (majestic.com) when you use it. Not affiliated with or endorsed by Majestic."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"global_rank","label":"Global rank","description":"Rank among all domains in the Majestic Million (1 is best).","group":"Basics","shown":true,"written":false},{"name":"tld_rank","label":"Tld rank","description":"Rank among domains with the same ending.","group":"Basics","shown":true,"written":false},{"name":"domain","label":"Domain","description":"The ranked domain.","group":"Basics","shown":true,"written":false},{"name":"tld","label":"Tld","description":"The domain's ending, such as com or co.uk.","group":"Basics","shown":true,"written":false},{"name":"referring_subnets","label":"Referring subnets","description":"Number of distinct IP subnets that link to the domain.","group":"Basics","shown":true,"written":false},{"name":"referring_ips","label":"Referring ips","description":"Number of distinct IP addresses that link to the domain.","group":"Basics","shown":true,"written":false},{"name":"previous_global_rank","label":"Previous global rank","description":"Global rank on last week's list, when the domain was on it.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"domains","label":"Domains","help":"Domains to look up, such as github.com. Leave empty to list the top ranked domains instead.","example":"github.com, example.org","written":false},{"name":"tld","label":"Tld","help":"Only domains ending in this TLD, such as ca, com or co.uk (no dot).","example":"ca","written":false}]}},"incidents":[]}