How to bulk get data from Ahrefs Batch Analysis 2.0 without having an API subscription
Instruction
- Download the Tampermonkey extension:
- Chrome
- Mozilla (we use for collective work from one account, so the script is customized for it, but it should work in chrome too)
- Install this script into it - https://github.com/sc00d/Ahrefs-Batch-Analysis-2.0-Export-to-CSV-without-API-KEY/blob/main/README.md
- Disable the request to save files (in mozilla) - so you don't have to click «Save» every time.
- Open it up https://app.ahrefs.com/v2-batch-analysis/ In the lower right corner insert domains and click start. The script will take 50 domains, send them for analysis, and save the results as CSV files.
- We combine the final upload into one file using a Bat file (for Windows).
- Profit!
The data is parsed from the interface, rather than using an upload from Ahrefs to a file, so the format is different.
What's that for?
I have tasks for which I need to collect data from Ahrefs for a large number of domains. Previously used by this script, but it stopped working for me because I lost access to the old Batch Analysis. So I rewrote it a little less than completely and share my solution.
❗️Скрипт is for informative purposes only. The author is not responsible for blocking of accounts or any other problems that may arise.
The author himself has sparred 12k domains without problems for educational purposes. Tested on Mozilla 129.0.1 (64x)