Get web ranks for the websites in a Freemius account
- Freemius account
- Similarweb account (create an API key in the settings)
cdinto the folder where you want to install the repo
git clone https://github.com/sweetcode-com/frank.git
- Create a
.envfile (copy the
.env.examplefile) and fill in all settings
If the repo was updated after your first install use
git pull to get the current version.
How to use
The app will output a csv file under the
output folder. It will contain all domains and ranks for which Similarweb provided a rank.
Don’t expect ranks for all domains. In my tests Similarweb only had ranks for approximately 25% of the domains for my plugin.
By default the app will only filter for installs that are marked active (the plugin is in active use). You can change this in the code if you want to query other types:
With thousands of domains, retrieving all ranks can be slow. Similar web has a 10 requests per second rate limit.
The monthly free API limit is at 5’000 calls per month: https://support.similarweb.com/hc/en-us/articles/4414317910929-Website-DigitalRank-API. If the website is not yet ranked by Similarweb, the API call doesn’t count against the monthly API limit.
The app will read the existing file and only update domains that are not in the file yet. If you want to re-run all domains, simply delete the file and run the app.
The plugin has been tested with node v18.4.0
Before anything else, make sure that you are running a current version of node
With the following command you should be able update to the newest version
npm update -g npm