Skip to main content
SEMrush logo

Overview

Add SEMrush to any ModuleX agent or workflow. SEO analytics integration: domain overview/keywords/competitors, backlinks, keyword research, traffic analytics, API-units balance. All 17 SEO actions hit api.semrush.com (CSV responses, semicolon separators); the two .Trends traffic actions hit api.semrush.com/analytics/ta/api/v3/ (JSON responses).
Categories: Marketing & Advertising · Data & Analytics · Analytics · Marketing · Research · Auth: API Key · Actions: 19

Authentication

API Key Authentication

Authenticate using your SEMrush API key

Required Credentials

Available Actions

Parameters

string
required
Domain name to analyze
string
Regional database (Default: us)

Response

Parameters

string
required
Domain name to analyze
string
Regional database (e.g. ‘us’, ‘uk’, ‘ca’, ‘de’, ‘fr’) (Default: us)
integer
Maximum number of records to return (Default: 10)

Response

Parameters

string
required
Domain name to analyze
string
Regional database (e.g. ‘us’, ‘uk’, ‘ca’, ‘de’, ‘fr’) (Default: us)
integer
Maximum number of records to return (Default: 10)

Response

Parameters

string
required
Domain name to analyze
string
Regional database (e.g. ‘us’, ‘uk’, ‘ca’, ‘de’, ‘fr’) (Default: us)
integer
Maximum number of records to return (Default: 10)

Response

Parameters

string
required
Keyword to analyze
string
Database to use (Default: us)

Response

Parameters

string
required
Keyword to analyze
string
required
Database to use

Response

Parameters

array
required
Array of keywords (max 100)
string
required
Database to use

Response

Parameters

string
required
Keyword to analyze
string
required
Database to use
integer
Maximum number of results (Default: 10)

Response

Parameters

string
required
Keyword to analyze
string
required
Database to use
integer
Maximum number of results (Default: 10)

Response

Parameters

string
required
Keyword to analyze
string
required
Database to use
integer
Maximum number of results (Default: 10)

Response

Parameters

string
required
Keyword to analyze
string
required
Database to use
integer
Maximum number of results (Default: 10)

Response

Parameters

array
required
Array of keywords (max 100)
string
required
Database to use

Response

Response

Limits & Quotas

  • SEMrush’s main https://api.semrush.com/ endpoint returns semicolon-separated CSV with a header row. The shared _call_csv helper parses it into records: list[dict[str, str]].
  • The two .Trends actions (traffic_summary / traffic_sources) return JSON (or text fallback) — surfaced verbatim on data.
  • batch_keyword_overview and keyword_difficulty are capped at 100 keywords per call (SEMrush’s limit).
  • API errors come back as HTTP 200 with ERROR ... body text — the helper detects this and converts to success=False.
  • Each action carries an API-units cost (10-100 per record); consult SEMrush’s docs.

Nasdaq Data Link

Short.io

Ahrefs