repositorypackage
0.0.0-20241212194343-92aa6ad04d5a
Repository: https://github.com/redirect2me/siterank.git
Documentation: pkg.go.dev
# README
Site Rank API 
A simple API to get a website's Tranco ranking.
APIs
/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.
Using
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.
Other lists
The only thing that is tranco-specific is the loader. It should be easy to adapt to another list.
Alternatives
- eest/tranco-list-api - blog post
- WangYihang/tranco-go-package - CLI and Go package