SEMrush API
SEMrush API grants programmatic access to the premier digital marketing intelligence platform, covering SEO, SEM, advertising, and backlinks.
✓ JS Rendering✓ CAPTCHA BypassResidential Proxies
📊 Pros & Cons
✅ Pros
- ▶Access to the full SEMrush dataset: organic search, paid advertising (Google Ads), and backlinks
- ▶Free account tier with 2,500 monthly rows for platform evaluation
- ▶Over 40 distinct API endpoints covering comprehensive competitive intelligence
⚠️ Cons
- ▶Full commercial API access requires Business or custom Enterprise subscription tiers
- ▶Strict rate limits and unit consumption costs on standard subscription plans
🎯 Best For
Digital marketing agencies and SaaS builders needing comprehensive competitor research, PPC history, and SEO metrics in their apps.
🐍 Python Code Example
python
import requests
api_key = 'YOUR_SEMRUSH_KEY'
url = f'https://api.semrush.com/?type=domain_ranks&key={api_key}&export_columns=Dn,Rk,Or,Ot,Oc&domain=example.com'
res = requests.get(url)
print('SEMrush Rank:', res.status_code)🧩 Supported SDKs & Languages
PythonJavaPHPREST API Integration