SEMrush API

Provides programmatic access to SEMrush's SEO database for keyword rankings, organic traffic estimates, backlink profiles, competitor keyword gaps, and SERP data across 140+ countries.

Evaluated Mar 06, 2026 (0d ago) vcurrent
Homepage ↗ Other seo keyword-research backlinks competitor-analysis traffic-analytics serp
⚙ Agent Friendliness
56
/ 100
Can an agent use this?
🔒 Security
73
/ 100
Is it safe for agents?
⚡ Reliability
78
/ 100
Does it work consistently?

Score Breakdown

⚙ Agent Friendliness

MCP Quality
--
Documentation
78
Error Messages
72
Auth Simplicity
90
Rate Limits
68

🔒 Security

TLS Enforcement
100
Auth Strength
70
Scope Granularity
55
Dep. Hygiene
78
Secret Handling
65

API key is passed as a URL query parameter, which risks exposure in server logs and browser history. No IP allowlisting or key rotation mechanism documented.

⚡ Reliability

Uptime/SLA
78
Version Stability
82
Breaking Changes
80
Error Recovery
72
AF Security Reliability

Best When

An agent needs to enrich content briefs or competitive analyses with keyword volume, difficulty, and traffic estimates at scale without manual SEMrush UI interaction.

Avoid When

Query volume will exceed plan unit limits daily or the use case requires real-time SERP data fresher than SEMrush's update cycle.

Use Cases

  • Fetch keyword difficulty and search volume data to prioritize content production queues
  • Pull competitor organic keyword lists to identify content gap opportunities
  • Monitor daily rank changes for a target domain's keyword portfolio
  • Retrieve backlink profiles to audit link-building campaigns
  • Automate domain traffic and authority metrics for client SEO reporting dashboards

Not For

  • Real-time SERP scraping (data is cached and updated periodically, not live)
  • Small-budget projects — API unit costs add up quickly for high-volume queries
  • Paid advertising creative or bidding automation (use Google Ads API instead)

Interface

REST API
Yes
GraphQL
No
gRPC
No
MCP Server
No
SDK
Yes
Webhooks
No

Authentication

Methods: api_key
OAuth: No Scopes: No

Single API key passed as a query parameter (`key=`). No OAuth or token refresh needed. Keys are scoped per SEMrush account; all endpoints share one key.

Pricing

Model: subscription
Free tier: No
Requires CC: Yes

Units are the billing currency — each API request costs a variable number of units depending on endpoint and rows returned. Unit budgets reset daily.

Agent Metadata

Pagination
offset
Idempotent
Full
Retry Guidance
Not documented

Known Gotchas

  • Responses default to `|`-delimited plain text, not JSON — agents must request `export_format=json` explicitly on supported endpoints
  • Unit cost per request is not returned in the response; agents cannot track spend without external accounting
  • Some endpoints return `ERROR 50 :: NOTHING FOUND` as a 200 OK, requiring content inspection to detect empty results
  • Daily unit quotas reset at midnight UTC, not the account's local timezone — scheduling matters for high-volume agents
  • Database selection (`database=us` etc.) silently affects result relevance; defaulting to 'us' for non-US domains returns misleading data

Alternatives

Full Evaluation Report

Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for SEMrush API.

$99

Scores are editorial opinions as of 2026-03-06.

5173
Packages Evaluated
26151
Need Evaluation
173
Need Re-evaluation
Community Powered