Use Semrush to query SEO reports for domains, subdomains, URLs, keywords, and backlinks. Choose a regional database and, where supported, a historical month in YYYYMM15 format. Domain vs. Domain compares up to five domains.
Before you start
Requests authenticate with a key query parameter and are billed in API units, which are metered separately from your Semrush subscription — line-based reports such as Backlinks and Referring Domains charge per row returned, so set Limit deliberately. Reports answer as CSV, and this integration decodes them into structured rows for you. Two API behaviours worth knowing: a rejected request comes back with HTTP 200 and a body like ERROR 132 :: API UNITS BALANCE IS ZERO (surfaced here as a normal tool error), and the API may omit a requested column from a response, so treat every field on a row as optional.
Not covered
The Semrush Trends, Projects (Site Audit, Position Tracking), and Listing Management APIs are separate products with their own endpoints and subscriptions, and are not part of this block. Three SEO API reports are also excluded: Comparison by Referring Domains (backlinks_matrix) and Batch Comparison (backlinks_comparison), whose multi-target array parameters do not fit the shared request builder, and Subdomain Organic Pages (subdomain_organic_unique), whose documented response format is inconsistent with every other report.
Use the block
Query the Semrush SEO API for domain, subdomain, and URL traffic overviews, organic and paid keywords, ad and product listing creatives, competitor sets, keyword research, and backlink profiles. Requires a Semrush subscription with API units.
Actions
Semrush Domain Overview
Get the Semrush rank plus organic and paid search totals for a domain in one regional database.
Semrush Domain Overview (All Databases)
Get organic and paid search totals for a domain across every regional Semrush database.
Semrush Domain Overview History
Get the historical trend of a domain rank plus its organic and paid search totals.
Semrush Domain Organic Keywords
List the keywords a domain ranks for in Google organic search, with position, volume, and traffic share.
Semrush Domain Paid Keywords
List the keywords a domain buys in Google Ads, with ad position, copy, and traffic share.
Semrush Domain Ad Copies
List the unique Google Ads creatives a domain runs, with title, description, and keyword count.
Semrush Domain Ad History
List a domain’s past Google Ads placements month by month, with the copy used each time.
Semrush Organic Competitors
List the domains competing with a target domain in Google organic search results.
Semrush Paid Competitors
List the domains competing with a target domain in Google paid search results.
Semrush Domain PLA Keywords
List the keywords that trigger a domain’s product listing ads, with the promoted product and price.
Semrush Domain PLA Copies
List the unique product listing ads a domain runs, with product title, price, and shop name.
Semrush Domain vs. Domain
Compare up to five domains on the keywords they rank for, returning each domain’s position side by side.
Semrush Subdomain Overview
Get the organic and paid search totals for a subdomain in one regional database.
Semrush Subdomain Overview (All Databases)
Get organic and paid search totals for a subdomain across every regional Semrush database.
Semrush Subdomain Overview History
Get the historical trend of a subdomain’s organic and paid search totals.
Semrush Subdomain Organic Keywords
List the keywords a subdomain ranks for in Google organic search.
Semrush Subdomain Paid Keywords
List the keywords a subdomain buys in Google Ads.
Semrush Subdomain Ad Copies
List the unique Google Ads creatives a subdomain runs.
Semrush URL Overview
Get the organic and paid search totals for a single URL in one regional database.
Semrush URL Overview (All Databases)
Get organic and paid search totals for a single URL across every regional Semrush database.
Semrush URL Overview History
Get the historical trend of a URL’s organic and paid search totals.
Semrush URL Organic Keywords
List the keywords a single URL ranks for in Google organic search.
Semrush URL Paid Keywords
List the keywords a single URL is advertised on in Google Ads, with the ad copy used.
Semrush Keyword Overview
Get search volume, CPC, competition, difficulty, and intent for a single keyword.
Semrush Keyword Overview (All Databases)
Get search volume, CPC, and competition for a keyword across every regional Semrush database.
Semrush Batch Keyword Overview
Get search volume, CPC, competition, difficulty, and intent for up to 100 keywords at once.
Semrush Keyword Difficulty
Get the Keyword Difficulty Index for up to 100 keywords at once.
Semrush Related Keywords
Find keywords semantically related to a seed keyword, with volume, difficulty, and relevance.
Semrush Broad Match Keywords
Find broad-match and phrase-match variations of a seed keyword, with volume and difficulty.
Semrush Keyword Questions
Find question-form keywords containing a seed keyword, with volume and difficulty.
Semrush Organic Results
List the domains and URLs ranking in Google organic search results for a keyword.
Semrush Paid Results
List the domains and URLs advertising on a keyword in Google paid search results.
Semrush Keyword Ad History
List which domains advertised on a keyword month by month, with the copy each one used.
Semrush Winners and Losers
List the domains that gained or lost the most organic and paid search visibility in a database.
Semrush Top Domains
List the highest-ranked domains in a regional database by Semrush rank.
Semrush Backlinks Overview
Get the Authority Score and backlink profile totals for a domain, subdomain, or URL.
Semrush Backlinks
List the backlinks pointing at a domain, subdomain, or URL, with source page, anchor, and authority.
Semrush Referring Domains
List the domains linking to a target, with Authority Score, backlink count, and country.
Semrush Referring IPs
List the IP addresses linking to a target, with the domain and backlink counts behind each one.
Semrush Backlink TLD Distribution
Break a target’s backlink profile down by the top-level domain of its referring domains.
Semrush Backlink Country Distribution
Break a target’s backlink profile down by the country of its referring domains.
Semrush Backlink Anchors
List the anchor texts used in backlinks to a target, with domain and backlink counts.
Semrush Indexed Pages
List the pages of a target that attract backlinks, with response code and link counts.
Semrush Backlink Competitors
List domains with a backlink profile similar to the target, ranked by shared referring domains.