import requests domains = ["google.com", "facebook.com", "yourdomain.com"] response = requests.post( "https://tranco-list.eu/api/ranks", json="domains": domains ) print(response.json())
12345 If the domain is not in the top 1 million, the response is empty.
curl https://tranco-list.eu/rank/example.com tranco rank check
Response:
import requests domain = "example.com" response = requests.get(f"https://tranco-list.eu/rank/domain") import requests domains = ["google
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.
"google.com": 1, "facebook.com": 4, "yourdomain.com": null Tranco is a research-oriented top website ranking list
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: