Tranco Rank: Check
if response.status_code == 200 and response.text.strip(): print(f"Tranco rank: response.text.strip()") else: print(f"domain not in top 1M Tranco list") Download the latest top 1 million list:
"google.com": 1, "facebook.com": 4, "yourdomain.com": null
curl https://tranco-list.eu/rank/example.com tranco rank check
12345 If the domain is not in the top 1 million, the response is empty.
Response:
Here is proper, detailed content about performing a , including what Tranco is, why it matters, how to check a rank, and how to interpret the results. What is Tranco? Tranco is a research-oriented top website ranking list. It was created to address reproducibility issues with commercial rankings (like Alexa, Quantcast, or SimilarWeb) by providing a stable, transparent, and methodology-driven list of the top 1 million domains.
import requests domain = "example.com" response = requests.get(f"https://tranco-list.eu/rank/domain") if response
wget https://tranco-list.eu/download/YYYYMMDD/full.gz gunzip full.gz grep -n "example.com" full (The line number is the rank.) For bulk queries, Tranco offers a lightweight API (no authentication required for moderate use):

