A curated collection of ready-to-use scripts, templates, and guides for AdsPower antidetect browser automation. Copy, paste, run.
Whether you manage 10 accounts or 10,000, this repo gives you production-ready code that works out of the box with AdsPower's Local API.
| Folder | Description | Difficulty |
|---|---|---|
/scripts/batch-create-profiles |
Create hundreds of browser profiles in one command | β Beginner |
/scripts/auto-open-close |
Open, perform tasks, and close browsers automatically | β Beginner |
/scripts/proxy-binding |
Batch bind/update proxies across all profiles | ββ Intermediate |
/scripts/cookie-manager |
Import/export cookies for account warmup | ββ Intermediate |
/scripts/fingerprint-checker |
Auto-open profiles and verify fingerprint on BrowserScan | ββ Intermediate |
/templates/ |
Reusable config templates (proxy, fingerprint, groups) | β Beginner |
/guides/ |
Step-by-step setup guides with screenshots | β Beginner |
- AdsPower installed and running (paid plan with API access)
- Python 3.8+ installed
- Your API Key (AdsPower β Automation β API β Generate)
git clone https://github.com/pencil20388-eng/awesome-adspower-automation.git
cd awesome-adspower-automationpip install -r requirements.txtcp .env.example .env
# Edit .env and paste your API Keypython scripts/auto-open-close/open_and_visit.pyThat's it. Your AdsPower profile opens, visits BrowserScan to verify the fingerprint, and closes automatically.
- Open AdsPower, go to Automation β API
- Check that API status shows Success
- Click Generate to get your API Key
- Copy the key into your
.envfile
Security tip: Never commit your
.envfile. It's already in.gitignore.
Create 100 profiles with randomized fingerprints in under a minute.
# Just edit the number and run
python scripts/batch-create-profiles/create_profiles.py --count 50 --group "My Campaign"Open a profile, navigate to any URL, take a screenshot, close.
python scripts/auto-open-close/open_and_visit.py --profile-id xxx --url "https://www.google.com"Bind proxies from a CSV file to profiles in batch.
python scripts/proxy-binding/bind_proxies.py --csv proxies.csvCSV format:
profile_id,proxy_type,host,port,username,password
h1abc123,http,1.2.3.4,8080,user1,pass1
h2def456,socks5,5.6.7.8,1080,user2,pass2
Open each profile, visit BrowserScan, screenshot the result.
python scripts/fingerprint-checker/check_all.py --group "My Campaign"{
"proxy_type": "http",
"proxy_host": "YOUR_PROXY_HOST",
"proxy_port": "YOUR_PROXY_PORT",
"proxy_user": "YOUR_USERNAME",
"proxy_password": "YOUR_PASSWORD"
}{
"automatic_timezone": "1",
"language": ["en-US", "en"],
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
}- Getting Started with AdsPower API (Zero to Hero) β Complete beginner guide, from installing Python to running your first automation
- Proxy Setup Best Practices β How to choose and configure proxies for multi-account management
- Selenium + AdsPower Integration β Connect Selenium to AdsPower profiles for advanced automation
- Playwright + AdsPower Integration β Use Playwright for faster, more reliable browser automation
- Troubleshooting Common API Issues β Fixes for the most frequent problems
- π AdsPower Official Website
- π Local API Documentation
- π¬ Help Center
- π AdsPower Blog
Found a bug? Have a useful script? PRs are welcome!
- Fork this repo
- Create your branch (
git checkout -b feature/my-script) - Commit your changes (
git commit -m 'Add: new script for XYZ') - Push (
git push origin feature/my-script) - Open a Pull Request
This repository is for educational and legitimate business use only. Always comply with the terms of service of any platform you interact with. The authors are not responsible for any misuse of these tools.
MIT β Use it, modify it, share it.
β If this repo saved you time, give it a star! It helps others find it too.