A simple API to get a website's Tranco ranking.
/api/rank.json?domain=redirect2.me
- gets the result for a single domain/api/multiple.json?domains=redirect2.me,resolve.rs
- gets the results for multiple domains
Pass a callback
parameter for JSONP.
Pass an apikey
parameter with a contact email if you would like to be notified if the API changes.
I'm currently running it at siterank.redirect2.me. You are welcome to use it for light, non-commercial purposes. For heavy or commercial use, please run your own copy.
I reserve the right to return "unfortunate" results if abused.
The only thing that is tranco-specific is the loader. It should be easy to adapt to another list.
- eest/tranco-list-api - blog post
- WangYihang/tranco-go-package - CLI and Go package