Company Domain Authority API: Rank by Sector and Country

See how a company's official website ranks against peers in its industry and country, with referring subnets and recent rank change.

115,157 company and organisation website records: Wikidata entity (QID, name, industry, country) joined to the Majestic Million rank, referring subnets and rank change of its official domain, with the rank among companies of the same industry and country. Embedded data, pay per record.

Query the full dataset (API, CSV, JSON)

At a glance

Official source
Rank data: Majestic Million (https://majestic.com/reports/majestic-million), Creative Commons Attribution 3.0 Unported, (c) Majestic. Company, industry, country and official-website data: Wikidata (https://www.wikidata.org), CC0 1.0. Derived fields (rank_delta, ref_subnets_delta, site_scope, is_primary_domain, main_industry, rank_in_industry, rank_in_country and the ranked-domain counts) computed by the Actor publisher.
Licence
CC BY 3.0 (Majestic Million) + CC0 (Wikidata)
Snapshot
2026-11-16 (Wikidata read 2026-11-16; Majestic file last modified 2026-11-15T06:00Z)
Coverage
Two open files read on their hosts and joined on the registrable domain. (1) Majestic Million, https://downloads.majestic.com/majestic_million.csv, 1,000,000 domains, last modified 2026-11-15T06:00Z, licence Creative Commons Attribution 3.0 (attribution to Majestic required: this Actor keeps it in every record and in this README); fields GlobalRank, TldRank, RefSubNets, RefIPs and the previous-value columns (the file does not state the period they cover: rank_delta is a change between two Majestic snapshots of unstated spacing). (2) Wikidata, official website (P856), industry (P452), country (P17), country ISO code (P297) and English label, CC0 1.0: the list of entities with a website was read from the public SPARQL endpoint (https://query.wikidata.org/sparql, identified User-Agent, one request per minute as the service requires) on 2026-11-16 for the entities that are an instance (P31, direct) of business, public company, enterprise, company, subsidiary, privately held company, conglomerate, multinational corporation, bank, airline, corporation, organization or nonprofit organization, plus every entity that has an industry (P452) and a website; their labels, industries and countries were then read from the Wikidata API (wbgetentities) in batches of 50. Entities that are instances of a sub-class of those classes without an industry are NOT included (no P279 traversal: the endpoint times out). Entities that are human beings are excluded (157 entities), so no natural person appears. HOW THE JOIN WORKS: each website URL is reduced to its registrable domain (scheme, www, port and path removed, then the longest suffix found in the Majestic list; a bare public suffix such as co.uk is never a domain). 342,763 Wikidata entities have a website; 113,747 of them (33.2 percent) have a domain in the Majestic top million, and those are the records of this Actor (113,590 entities after the exclusions, 93,239 distinct domains, 115,157 records). The other entities have no ranked domain and are not in the data; 1,261 website URLs were refused because they are pages of a platform (social network, blog host, code host): a company page on such a platform does not carry the rank of the platform. AMBIGUITIES ARE WRITTEN, NOT HIDDEN: one record per (entity, domain) pair. 8,074 domains are shared by more than one entity (domain_entity_count; a parent company, its subsidiaries, brands, labs and branches often share one site, the largest group has 690 entities); 1,244 entities have more than one ranked domain (company_domain_count; is_primary_domain marks the best one, preferring a domain root). site_scope tells whether the official website is the root of the domain ('domain_root') or a page or sub-domain of it ('page_or_subdomain': the rank is then the rank of the whole domain, not of that page). RANKS: rank_in_industry and rank_in_country exist only for the primary domain of an entity when site_scope is domain_root; they rank DISTINCT domains (entities sharing a domain share the rank), among the entities of the same industry (main_industry = the industry of the entity that has the most ranked domains, so the widest peer group) or the same country (first country by Wikidata identifier when an entity has several; the full list is in countries). industry_ranked_domains and country_ranked_domains give the size of the peer group. rank_delta = prev_global_rank - global_rank (positive = the domain rose in the Majestic ranking); Majestic marks domains new to its list with a previous rank of -1: those give prev_global_rank, rank_delta and ref_subnets_delta null. SPOT CHECK against the raw Majestic file of 2026-11-15 (global rank, referring subnets, previous rank): microsoft.com 10, 257,642, 10 (rank_delta 0); toyota.com 2,850, 7,374, 2,870 (rank_delta 20); nestle.com 4,262, 5,601, 4,278 (rank_delta 16). The records of Microsoft (Q2283), Toyota Motor Sales U.S.A. (Q7830838) and Nestle (Q160746) carry these same values. LIMITS: Majestic ranks count referring subnets of web links, not traffic or visits; the entity-to-domain link depends on what Wikidata contributors recorded, so a company missing from Wikidata or with another site recorded is absent or mismatched; 13,492 entities have no English label (company_name null); industry is filled for 47,244 entities and country for 99,745 only; an industry label is Wikidata's own and the sets of peers are uneven (an entity tagged with several industries counts in each). Data is as of the snapshot, not live.

Who uses it

What you can query

Fields

FieldTypeDescription
qidstringWikidata entity identifier of the company or organisation (e.g. Q160746).
company_namestringEnglish Wikidata label of the entity, null if it has none.
domainstringRegistrable domain of the official website, as in the Majestic Million list.
official_websitestringOfficial website URL recorded in Wikidata (property P856).
site_scopestringdomain_root if the official website is the root of the domain, page_or_subdomain if it is a page or sub-domain of it.
tldstringTop-level domain.
global_rankintegerMajestic Million global rank of the domain (1 = best).
tld_rankintegerMajestic rank of the domain within its TLD.
ref_subnetsintegerNumber of distinct IP subnets of the sites linking to the domain (Majestic RefSubNets).
ref_ipsintegerNumber of distinct IPs of the sites linking to the domain (Majestic RefIPs).
prev_global_rankintegerMajestic previous global rank (PrevGlobalRank; the file does not state the period it covers), null if the domain was new.
rank_deltaintegerprev_global_rank minus global_rank: positive = rose, negative = fell, null if there is no previous rank.
ref_subnets_deltaintegerref_subnets minus the previous ref_subnets, null if there is no previous value.
industriesarrayWikidata industries (property P452) of the entity, English labels, null if none.
industries_textstringThe industries joined with semicolons, for text search.
main_industrystringThe industry used for rank_in_industry: among the entity's industries, the one with the most ranked domains.
rank_in_industryintegerRank of the domain among the domains of the main industry (1 = most authoritative); null unless this is the primary domain root of the entity.
industry_ranked_domainsintegerNumber of distinct domains ranked in the main industry, null when rank_in_industry is null.
countrystringFirst Wikidata country (property P17) of the entity, null if none.
country_codestringISO 3166-1 alpha-2 code of that country, null if unknown.
countriesarrayAll Wikidata countries of the entity, null if none.
countries_textstringThe countries joined with semicolons, for text search.
rank_in_countryintegerRank of the domain among the domains of the first country (1 = most authoritative); null unless this is the primary domain root of the entity.
country_ranked_domainsintegerNumber of distinct domains ranked in that country, null when rank_in_country is null.
is_primary_domainbooleanTrue for the best domain of the entity (a domain root first, then the best Majestic rank).
company_domain_countintegerNumber of ranked domains this entity has in the data (1 = unambiguous).
domain_entity_countintegerNumber of entities that share this domain in the data (1 = the domain belongs to this entity alone).
wikidata_urlstringWikidata page of the entity, to check the link.

Quick start

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient('<YOUR_APIFY_TOKEN>')
run = client.actor('phonic_lily/company-domain-authority-wikidata').call(run_input={'countryCodes': ['CH'], 'siteScopes': ['domain_root'], 'sortBy': 'globalRank', 'maxResults': 10})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)

HTTP:

curl -X POST 'https://api.apify.com/v2/acts/phonic_lily~company-domain-authority-wikidata/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' -d '{"countryCodes": ["CH"], "siteScopes": ["domain_root"], "sortBy": "globalRank", "maxResults": 10}'

FAQ

Where does the Company Domain Authority: Rank by Sector and Country data come from?

Rank data: Majestic Million (https://majestic.com/reports/majestic-million), Creative Commons Attribution 3.0 Unported, (c) Majestic. Company, industry, country and official-website data: Wikidata (https://www.wikidata.org), CC0 1.0. Derived fields (rank_delta, ref_subnets_delta, site_scope, is_primary_domain, main_industry, rank_in_industry, rank_in_country and the ranked-domain counts) computed by the Actor publisher. Two open files read on their hosts and joined on the registrable domain. (1) Majestic Million, https://downloads.majestic.com/majestic_million.csv, 1,000,000 domains, last modified 2026-11-15T06:00Z, licence Creative Commons Attribution 3.0 (attribution to Majestic required: this Actor keeps it in every record and in this README); fields GlobalRank, TldRank, RefSubNets, RefIPs and the previous-value columns (the file does not state the period they cover: rank_delta is a change between two Majestic snapshots of unstated spacing). (2) Wikidata, official website (P856), industry (P452), country (P17), country ISO code (P297) and English label, CC0 1.0: the list of entities with a website was read from the public SPARQL endpoint (https://query.wikidata.org/sparql, identified User-Agent, one request per minute as the service requires) on 2026-11-16 for the entities that are an instance (P31, direct) of business, public company, enterprise, company, subsidiary, privately held company, conglomerate, multinational corporation, bank, airline, corporation, organization or nonprofit organization, plus every entity that has an industry (P452) and a website; their labels, industries and countries were then read from the Wikidata API (wbgetentities) in batches of 50. Entities that are instances of a sub-class of those classes without an industry are NOT included (no P279 traversal: the endpoint times out). Entities that are human beings are excluded (157 entities), so no natural person appears. HOW THE JOIN WORKS: each website URL is reduced to its registrable domain (scheme, www, port and path removed, then the longest suffix found in the Majestic list; a bare public suffix such as co.uk is never a domain). 342,763 Wikidata entities have a website; 113,747 of them (33.2 percent) have a domain in the Majestic top million, and those are the records of this Actor (113,590 entities after the exclusions, 93,239 distinct domains, 115,157 records). The other entities have no ranked domain and are not in the data; 1,261 website URLs were refused because they are pages of a platform (social network, blog host, code host): a company page on such a platform does not carry the rank of the platform. AMBIGUITIES ARE WRITTEN, NOT HIDDEN: one record per (entity, domain) pair. 8,074 domains are shared by more than one entity (domain_entity_count; a parent company, its subsidiaries, brands, labs and branches often share one site, the largest group has 690 entities); 1,244 entities have more than one ranked domain (company_domain_count; is_primary_domain marks the best one, preferring a domain root). site_scope tells whether the official website is the root of the domain ('domain_root') or a page or sub-domain of it ('page_or_subdomain': the rank is then the rank of the whole domain, not of that page). RANKS: rank_in_industry and rank_in_country exist only for the primary domain of an entity when site_scope is domain_root; they rank DISTINCT domains (entities sharing a domain share the rank), among the entities of the same industry (main_industry = the industry of the entity that has the most ranked domains, so the widest peer group) or the same country (first country by Wikidata identifier when an entity has several; the full list is in countries). industry_ranked_domains and country_ranked_domains give the size of the peer group. rank_delta = prev_global_rank - global_rank (positive = the domain rose in the Majestic ranking); Majestic marks domains new to its list with a previous rank of -1: those give prev_global_rank, rank_delta and ref_subnets_delta null. SPOT CHECK against the raw Majestic file of 2026-11-15 (global rank, referring subnets, previous rank): microsoft.com 10, 257,642, 10 (rank_delta 0); toyota.com 2,850, 7,374, 2,870 (rank_delta 20); nestle.com 4,262, 5,601, 4,278 (rank_delta 16). The records of Microsoft (Q2283), Toyota Motor Sales U.S.A. (Q7830838) and Nestle (Q160746) carry these same values. LIMITS: Majestic ranks count referring subnets of web links, not traffic or visits; the entity-to-domain link depends on what Wikidata contributors recorded, so a company missing from Wikidata or with another site recorded is absent or mismatched; 13,492 entities have no English label (company_name null); industry is filled for 47,244 entities and country for 99,745 only; an industry label is Wikidata's own and the sets of peers are uneven (an entity tagged with several industries counts in each). Data is as of the snapshot, not live.

What can I filter on?

Company name or domain contains; Industry contains; Country contains; Exact domains (e.g. nestle.com); Wikidata IDs (e.g. Q160746); Country codes (ISO 3166-1 alpha-2, e.g. CH, US); Site scope (domain_root, page_or_subdomain); TLDs (e.g. com, fr); Min Majestic rank (1 = best) / Max Majestic rank (1 = best); Min rank in industry / Max rank in industry (1 = most authoritative); Min rank in country / Max rank in country (1 = most authoritative); Min rank change / Max rank change; Min referring subnets / Max referring subnets.

How much does it cost?

The full dataset is an API on Apify, paid per result returned; the current price is on https://apify.com/phonic_lily/company-domain-authority-wikidata.

How recent is the data?

Snapshot of 2026-11-16 (Wikidata read 2026-11-16; Majestic file last modified 2026-11-15T06:00Z) from the official source.

Open data on the cost of living and taxes by country: Global Cost Data.

Publisher: Henri Bousquet, adminglobalcostdata@gmail.com. Data from official public sources; source and licence are stated in every record.