Semrush

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.

Usage Instructions

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.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
overviewjsonOrganic and paid search overview for the domain
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget

Semrush Domain Overview (All Databases)

Get organic and paid search totals for a domain across every regional Semrush database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringNoRegional database code to restrict the report to, for example us
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example rk_asc, or_desc, or ot_desc

Output

ParameterTypeDescription
databasesarrayOne row of domain totals per regional database
↳ databasestringRegional database the row belongs to
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget
↳ plaKeywordsnumberKeywords used for product listing ads
↳ plaUniquesnumberNumber of unique product listing ads

Semrush Domain Overview History

Get the historical trend of a domain rank plus its organic and paid search totals.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDailybooleanNoReturn daily data points for the last 31 days instead of monthly ones
displaySortstringNoSort order, for example dt_desc or dt_asc

Output

ParameterTypeDescription
historyarrayHistorical data points, in the requested sort order
↳ datestringData collection date in YYYYMMDD or YYYYMM format
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget

Semrush Domain Organic Keywords

List the keywords a domain ranks for in Google organic search, with position, volume, and traffic share.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displayDailybooleanNoReturn daily data points for the last 31 days instead of monthly ones
displaySortstringNoSort order, for example tr_desc, po_asc, or nq_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayOrganic keywords the domain ranks for
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ previousPositionnumberPosition held at the previous data collection
↳ positionDifferencenumberChange between the previous and the current position
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ urlstringURL of the ranking or advertised page
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ trafficnumberEstimated traffic driven by this keyword
↳ trafficCostnumberShare of the traffic cost of the target attributed to this keyword
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Domain Paid Keywords

List the keywords a domain buys in Google Ads, with ad position, copy, and traffic share.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example po_asc, tr_desc, or nq_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayPaid keywords the domain bids on
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ previousPositionnumberPosition held at the previous data collection
↳ positionDifferencenumberChange between the previous and the current position
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ urlstringURL of the ranking or advertised page
↳ visibleUrlstringDisplay URL shown in the ad
↳ titlestringAd or product title
↳ descriptionstringAd text
↳ trafficnumberEstimated traffic driven by this keyword
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ trafficCostnumberEstimated traffic cost attributed to this keyword
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword

Semrush Domain Ad Copies

List the unique Google Ads creatives a domain runs, with title, description, and keyword count.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example pc_desc
displayFilterstringNoSemrush display_filter expression, for example +|Tt|Co|sale

Output

ParameterTypeDescription
adsarrayUnique ad creatives the domain runs
↳ titlestringAd or product title
↳ descriptionstringAd text
↳ visibleUrlstringDisplay URL shown in the ad
↳ urlstringURL of the ranking or advertised page
↳ numberOfKeywordsnumberNumber of keywords the ad runs on

Semrush Domain Ad History

List a domain past Google Ads placements month by month, with the copy used each time.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example dt_desc
displayFilterstringNoSemrush display_filter expression, for example +|Ph|Co|shoes

Output

ParameterTypeDescription
adsarrayHistorical ad placements, one row per keyword and month
↳ keywordstringKeyword phrase
↳ datestringData collection date in YYYYMMDD or YYYYMM format
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ searchVolumenumberAverage monthly searches for the keyword
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ urlstringURL of the ranking or advertised page
↳ titlestringAd or product title
↳ descriptionstringAd text
↳ visibleUrlstringDisplay URL shown in the ad

Semrush Organic Competitors

List the domains competing with a target domain in Google organic search results.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example np_desc or cr_desc

Output

ParameterTypeDescription
competitorsarrayCompeting domains ranked by competitor relevance
↳ domainstringDomain name
↳ competitorRelevancenumberCompetition level based on the total keyword count of each domain
↳ commonKeywordsnumberKeywords both domains rank for in the top 100 organic results
↳ organicKeywordsnumberKeywords this competing domain ranks for in the Google top 100 organic results
↳ organicTrafficnumberTraffic this competing domain gets from the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of this competing domain organic keywords
↳ paidKeywordsnumberKeywords this competing domain is buying in Google Ads

Semrush Paid Competitors

List the domains competing with a target domain in Google paid search results.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example np_desc or cr_desc

Output

ParameterTypeDescription
competitorsarrayCompeting advertisers ranked by competitor relevance
↳ domainstringDomain name
↳ competitorRelevancenumberCompetition level based on the total keyword count of each domain
↳ commonKeywordsnumberKeywords both domains rank for in the top 100 organic results
↳ paidKeywordsnumberKeywords this competing domain is buying in Google Ads
↳ paidTrafficnumberTraffic this competing domain gets from paid search results
↳ paidCostnumberEstimated monthly Google Ads budget of this competing domain
↳ organicKeywordsnumberKeywords this competing domain ranks for in the Google top 100 organic results

Semrush Domain PLA Keywords

List the keywords that trigger a domain product listing ads, with the promoted product and price.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example nq_desc or po_asc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayProduct listing ad keywords for the domain
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ previousPositionnumberPosition held at the previous data collection
↳ positionDifferencenumberChange between the previous and the current position
↳ searchVolumenumberAverage monthly searches for the keyword
↳ shopNamestringName of the shop running the product listing ad
↳ urlstringURL of the ranking or advertised page
↳ titlestringAd or product title
↳ productPricenumberPrice of the promoted product
↳ timestampnumberUnix timestamp of the data point

Semrush Domain PLA Copies

List the unique product listing ads a domain runs, with product title, price, and shop name.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainstringYesDomain to analyze, for example example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination

Output

ParameterTypeDescription
adsarrayUnique product listing ads the domain runs
↳ titlestringAd or product title
↳ productPricenumberPrice of the promoted product
↳ shopNamestringName of the shop running the product listing ad
↳ urlstringURL of the ranking or advertised page

Semrush Domain vs. Domain

Compare up to five domains on the keywords they rank for, returning each domain position side by side.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
domainsstringYesComma-separated list of up to five domains to compare
databasestringYesRegional database code, for example us, uk, de, or fr
competitionTypestringNoWhich keyword set to compare: or for organic or ad for paid
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example nq_desc or cp_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
domainsarrayThe compared domains, in the order their positions appear
keywordsarrayKeywords with each compared domain position
↳ keywordstringKeyword phrase
↳ positionsjsonPosition of each compared domain, keyed by domain, where 0 means not ranked
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)

Semrush Subdomain Overview

Get the organic and paid search totals for a subdomain in one regional database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
subdomainstringYesSubdomain to analyze, for example blog.example.com
databasestringYesRegional database code, for example us, uk, de, or fr
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
overviewjsonOrganic and paid search overview for the subdomain
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget

Semrush Subdomain Overview (All Databases)

Get organic and paid search totals for a subdomain across every regional Semrush database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
subdomainstringYesSubdomain to analyze, for example blog.example.com
databasestringNoRegional database code to restrict the report to, for example us
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example rk_asc or ot_desc

Output

ParameterTypeDescription
databasesarrayOne row of subdomain totals per regional database
↳ databasestringRegional database the row belongs to
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget
↳ plaKeywordsnumberKeywords used for product listing ads
↳ plaUniquesnumberNumber of unique product listing ads

Semrush Subdomain Overview History

Get the historical trend of a subdomain organic and paid search totals.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
subdomainstringYesSubdomain to analyze, for example blog.example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDailybooleanNoReturn daily data points for the last 31 days instead of monthly ones
displaySortstringNoSort order, for example dt_desc or dt_asc

Output

ParameterTypeDescription
historyarrayHistorical data points, in the requested sort order
↳ datestringData collection date in YYYYMMDD or YYYYMM format
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget

Semrush Subdomain Organic Keywords

List the keywords a subdomain ranks for in Google organic search.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
subdomainstringYesSubdomain to analyze, for example blog.example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displayDailybooleanNoReturn daily data points for the last 31 days instead of monthly ones
displaySortstringNoSort order, for example tr_desc, po_asc, or nq_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayOrganic keywords the subdomain ranks for
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ previousPositionnumberPosition held at the previous data collection
↳ positionDifferencenumberChange between the previous and the current position
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ urlstringURL of the ranking or advertised page
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ trafficnumberEstimated traffic driven by this keyword
↳ trafficCostnumberShare of the traffic cost of the target attributed to this keyword
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Subdomain Paid Keywords

List the keywords a subdomain buys in Google Ads.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
subdomainstringYesSubdomain to analyze, for example blog.example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example po_asc, tr_desc, or nq_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayPaid keywords the subdomain bids on
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ previousPositionnumberPosition held at the previous data collection
↳ positionDifferencenumberChange between the previous and the current position
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ urlstringURL of the ranking or advertised page
↳ visibleUrlstringDisplay URL shown in the ad
↳ titlestringAd or product title
↳ descriptionstringAd text
↳ trafficnumberEstimated traffic driven by this keyword
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ trafficCostnumberEstimated traffic cost attributed to this keyword
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword

Semrush Subdomain Ad Copies

List the unique Google Ads creatives a subdomain runs.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
subdomainstringYesSubdomain to analyze, for example blog.example.com
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example pc_desc
displayFilterstringNoSemrush display_filter expression, for example +|Tt|Co|sale

Output

ParameterTypeDescription
adsarrayUnique ad creatives the subdomain runs
↳ titlestringAd or product title
↳ descriptionstringAd text
↳ visibleUrlstringDisplay URL shown in the ad
↳ urlstringURL of the ranking or advertised page
↳ numberOfKeywordsnumberNumber of keywords the ad runs on

Semrush URL Overview

Get the organic and paid search totals for a single URL in one regional database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
urlstringYesFull URL to analyze, for example https://example.com/pricing
databasestringYesRegional database code, for example us, uk, de, or fr
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
overviewjsonOrganic and paid search overview for the URL
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget

Semrush URL Overview (All Databases)

Get organic and paid search totals for a single URL across every regional Semrush database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
urlstringYesFull URL to analyze, for example https://example.com/pricing
databasestringNoRegional database code to restrict the report to, for example us
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example rk_asc or ot_desc

Output

ParameterTypeDescription
databasesarrayOne row of URL totals per regional database
↳ databasestringRegional database the row belongs to
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget
↳ plaKeywordsnumberKeywords used for product listing ads
↳ plaUniquesnumberNumber of unique product listing ads

Semrush URL Overview History

Get the historical trend of a URL organic and paid search totals.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
urlstringYesFull URL to analyze, for example https://example.com/pricing
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDailybooleanNoReturn daily data points for the last 31 days instead of monthly ones
displaySortstringNoSort order, for example dt_desc or dt_asc

Output

ParameterTypeDescription
historyarrayHistorical data points, in the requested sort order
↳ datestringData collection date in YYYYMMDD or YYYYMM format
↳ ranknumberSemrush popularity rating of the target, based on organic traffic
↳ organicKeywordsnumberKeywords bringing users via the Google top 100 organic results
↳ organicTrafficnumberTraffic brought via the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of the organic keywords
↳ paidKeywordsnumberKeywords the target is buying in Google Ads
↳ paidTrafficnumberTraffic brought via paid search results
↳ paidCostnumberEstimated monthly Google Ads budget

Semrush URL Organic Keywords

List the keywords a single URL ranks for in Google organic search.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
urlstringYesFull URL to analyze, for example https://example.com/pricing
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example tr_desc, po_asc, or nq_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayOrganic keywords the URL ranks for
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ previousPositionnumberPosition held at the previous data collection
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ trafficnumberEstimated traffic driven by this keyword
↳ trafficCostnumberEstimated traffic cost attributed to this keyword
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush URL Paid Keywords

List the keywords a single URL is advertised on in Google Ads, with the ad copy used.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
urlstringYesFull URL to analyze, for example https://example.com/pricing
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example tr_desc, po_asc, or nq_desc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayPaid keywords the URL is advertised on
↳ keywordstringKeyword phrase
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ trafficnumberEstimated traffic driven by this keyword
↳ trafficPercentnumberShare of the traffic to the target driven by this keyword
↳ trafficCostnumberEstimated traffic cost attributed to this keyword
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ trendsarrayRelative search interest over the last 12 months
↳ titlestringAd or product title
↳ descriptionstringAd text

Semrush Keyword Overview

Get search volume, CPC, competition, difficulty, and intent for a single keyword.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
overviewjsonKeyword metrics in the selected database
↳ keywordstringKeyword phrase
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Keyword Overview (All Databases)

Get search volume, CPC, and competition for a keyword across every regional Semrush database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringNoRegional database code to restrict the report to, for example us

Output

ParameterTypeDescription
databasesarrayOne row of keyword metrics per regional database
↳ datestringData collection date in YYYYMMDD or YYYYMM format
↳ databasestringRegional database the row belongs to
↳ keywordstringKeyword phrase
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)

Semrush Batch Keyword Overview

Get search volume, CPC, competition, difficulty, and intent for up to 100 keywords at once.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasesstringYesSemicolon-separated list of keywords, for example ebay;seo
databasestringYesRegional database code, for example us, uk, de, or fr
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
keywordsarrayKeyword metrics, one row per submitted keyword
↳ keywordstringKeyword phrase
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Keyword Difficulty

Get the Keyword Difficulty Index for up to 100 keywords at once.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasesstringYesSemicolon-separated list of keywords, for example ebay;seo
databasestringYesRegional database code, for example us, uk, de, or fr

Output

ParameterTypeDescription
keywordsarrayKeyword difficulty scores, one row per submitted keyword
↳ keywordstringKeyword phrase
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)

Find keywords semantically related to a seed keyword, with volume, difficulty, and relevance.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example nq_desc or kd_asc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayRelated keyword ideas for the seed keyword
↳ keywordstringKeyword phrase
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ relatedRelevancenumberRelevance of the result keyword to the seed keyword
↳ keywordSerpFeaturesarrayIDs of all SERP features triggered by the keyword
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Broad Match Keywords

Find broad-match and phrase-match variations of a seed keyword, with volume and difficulty.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example nq_desc or kd_asc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayBroad match keyword variations of the seed keyword
↳ keywordstringKeyword phrase
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ keywordSerpFeaturesarrayIDs of all SERP features triggered by the keyword
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Keyword Questions

Find question-form keywords containing a seed keyword, with volume and difficulty.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example nq_desc or kd_asc
displayFilterstringNoSemrush display_filter expression, for example +|Nq|Gt|1000

Output

ParameterTypeDescription
keywordsarrayQuestion keywords containing the seed keyword
↳ keywordstringKeyword phrase
↳ searchVolumenumberAverage monthly searches for the keyword
↳ cpcnumberAverage cost per click in USD (Google Ads)
↳ competitionnumberCompetitive density of advertisers bidding on the keyword (0-1)
↳ numberOfResultsnumberTotal organic results returned for the keyword
↳ keywordDifficultynumberEstimated difficulty of ranking for the keyword (0-100)
↳ intentsarrayKeyword intents: 0 commercial, 1 informational, 2 navigational, 3 transactional
↳ trendsarrayRelative search interest over the last 12 months

Semrush Organic Results

List the domains and URLs ranking in Google organic search results for a keyword.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
resultsarrayRanking pages for the keyword, in SERP order
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ positionTypestringWhether the position is a regular organic result or a SERP feature
↳ domainstringDomain name
↳ urlstringURL of the ranking or advertised page
↳ keywordSerpFeaturesarrayIDs of all SERP features triggered by the keyword
↳ serpFeaturesarrayIDs of the SERP features the domain appears in for the keyword

Semrush Paid Results

List the domains and URLs advertising on a keyword in Google paid search results.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format

Output

ParameterTypeDescription
resultsarrayAdvertisers appearing for the keyword
↳ domainstringDomain name
↳ urlstringURL of the ranking or advertised page
↳ visibleUrlstringDisplay URL shown in the ad

Semrush Keyword Ad History

List which domains advertised on a keyword month by month, with the copy each one used.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
phrasestringYesKeyword to analyze
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination

Output

ParameterTypeDescription
adsarrayHistorical advertisers for the keyword, one row per domain and month
↳ domainstringDomain name
↳ datestringData collection date in YYYYMMDD or YYYYMM format
↳ positionnumberPosition in the Google top 100 results, where 0 means not ranked
↳ urlstringURL of the ranking or advertised page
↳ titlestringAd or product title
↳ descriptionstringAd text
↳ visibleUrlstringDisplay URL shown in the ad

Semrush Winners and Losers

List the domains that gained or lost the most organic and paid search visibility in a database.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displaySortstringNoSort order, for example om_desc or tm_desc

Output

ParameterTypeDescription
domainsarrayDomains ranked by change in search visibility
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of this domain, based on organic traffic
↳ organicKeywordsnumberKeywords this domain ranks for in the Google top 100 organic results
↳ organicTrafficnumberTraffic this domain gets from the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of this domain organic keywords
↳ paidKeywordsnumberKeywords this domain is buying in Google Ads
↳ paidTrafficnumberTraffic this domain gets from paid search results
↳ paidCostnumberEstimated monthly Google Ads budget of this domain
↳ organicKeywordsDifferencenumberChange in organic keyword count since the previous month
↳ organicTrafficDifferencenumberChange in organic traffic since the previous month
↳ organicCostDifferencenumberChange in organic cost since the previous month
↳ paidKeywordsDifferencenumberChange in paid keyword count since the previous month
↳ paidTrafficDifferencenumberChange in paid traffic since the previous month
↳ paidCostDifferencenumberChange in paid cost since the previous month

Semrush Top Domains

List the highest-ranked domains in a regional database by Semrush rank.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
databasestringYesRegional database code, for example us, uk, de, or fr
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displayDatestringNoHistorical month in YYYYMM15 format
displayFilterstringNoSemrush display_filter expression, for example +|Or|Gt|100000

Output

ParameterTypeDescription
domainsarrayTop-ranked domains in the database
↳ domainstringDomain name
↳ ranknumberSemrush popularity rating of this domain, based on organic traffic
↳ organicKeywordsnumberKeywords this domain ranks for in the Google top 100 organic results
↳ organicTrafficnumberTraffic this domain gets from the Google top 100 organic results
↳ organicCostnumberEstimated Google Ads price of this domain organic keywords
↳ paidKeywordsnumberKeywords this domain is buying in Google Ads
↳ paidTrafficnumberTraffic this domain gets from paid search results
↳ paidCostnumberEstimated monthly Google Ads budget of this domain

Get the Authority Score and backlink profile totals for a domain, subdomain, or URL.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain

Output

ParameterTypeDescription
overviewjsonBacklink profile totals for the target
↳ authorityScorenumberSemrush Authority Score (0-100)
↳ totalnumberTotal number of backlinks
↳ domainsNumnumberNumber of referring domains
↳ urlsNumnumberNumber of referring URLs
↳ ipsNumnumberNumber of referring IPs
↳ ipClassCNumnumberNumber of referring class C subnets
↳ followsNumnumberNumber of followed backlinks
↳ nofollowsNumnumberNumber of nofollow backlinks
↳ sponsoredNumnumberNumber of backlinks marked rel="sponsored"
↳ ugcNumnumberNumber of backlinks marked rel="ugc"
↳ textsNumnumberNumber of text backlinks
↳ imagesNumnumberNumber of image backlinks
↳ formsNumnumberNumber of form backlinks
↳ framesNumnumberNumber of frame backlinks

List the backlinks pointing at a domain, subdomain, or URL, with source page, anchor, and authority.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example page_ascore_desc or last_seen_desc
displayFilterstringNoSemrush display_filter expression, for example +|type||newlink

Output

ParameterTypeDescription
backlinksarrayBacklinks pointing at the target
↳ pageAuthorityScorenumberAuthority Score of the source page
↳ sourceTitlestringTitle of the linking page
↳ sourceUrlstringURL of the linking page
↳ targetUrlstringURL the backlink points to
↳ anchorstringAnchor text of the backlink
↳ nofollowstringRaw rel="nofollow" flag as returned by the API
↳ externalLinksNumnumberExternal links on the source page
↳ internalLinksNumnumberInternal links on the source page
↳ firstSeennumberUnix timestamp when the link was first seen
↳ lastSeennumberUnix timestamp when the link was last seen

Semrush Referring Domains

List the domains linking to a target, with Authority Score, backlink count, and country.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example backlinks_num_desc or domain_ascore_desc
displayFilterstringNoSemrush display_filter expression, for example +|zone||com

Output

ParameterTypeDescription
domainsarrayDomains linking to the target
↳ domainAuthorityScorenumberAuthority Score of the referring domain
↳ domainstringDomain name
↳ backlinksNumnumberNumber of backlinks
↳ ipstringIP address
↳ countrystringCountry of the referring domain
↳ firstSeennumberUnix timestamp when the link was first seen
↳ lastSeennumberUnix timestamp when the link was last seen

Semrush Referring IPs

List the IP addresses linking to a target, with the domain and backlink counts behind each one.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example domains_num_desc or backlinks_num_desc

Output

ParameterTypeDescription
ipsarrayIP addresses linking to the target
↳ ipstringIP address
↳ countrystringCountry of the referring domain
↳ domainsNumnumberNumber of referring domains
↳ backlinksNumnumberNumber of backlinks
↳ firstSeennumberUnix timestamp when the link was first seen
↳ lastSeennumberUnix timestamp when the link was last seen

Break a target backlink profile down by the top-level domain of its referring domains.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example domains_num_desc or backlinks_num_desc

Output

ParameterTypeDescription
zonesarrayReferring domain and backlink counts per top-level domain
↳ zonestringTop-level domain zone
↳ domainsNumnumberNumber of referring domains
↳ backlinksNumnumberNumber of backlinks

Break a target backlink profile down by the country of its referring domains.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example domains_num_desc or backlinks_num_desc

Output

ParameterTypeDescription
countriesarrayReferring domain and backlink counts per country
↳ countrystringCountry of the referring domain
↳ domainsNumnumberNumber of referring domains
↳ backlinksNumnumberNumber of backlinks

List the anchor texts used in backlinks to a target, with domain and backlink counts.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example backlinks_num_desc or domains_num_desc

Output

ParameterTypeDescription
anchorsarrayAnchor text distribution for the backlink profile
↳ anchorstringAnchor text of the backlink
↳ domainsNumnumberNumber of referring domains
↳ backlinksNumnumberNumber of backlinks
↳ firstSeennumberUnix timestamp when the link was first seen
↳ lastSeennumberUnix timestamp when the link was last seen

Semrush Indexed Pages

List the pages of a target that attract backlinks, with response code and link counts.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination
displaySortstringNoSort order, for example domains_num_desc or backlinks_num_desc

Output

ParameterTypeDescription
pagesarrayIndexed pages of the target and the links they attract
↳ sourceUrlstringURL of the linking page
↳ sourceTitlestringTitle of the linking page
↳ responseCodenumberHTTP status code the page returned when last crawled
↳ backlinksNumnumberNumber of backlinks
↳ domainsNumnumberNumber of referring domains
↳ lastSeennumberUnix timestamp when the link was last seen
↳ externalLinksNumnumberExternal links on the source page
↳ internalLinksNumnumberInternal links on the source page

List domains with a backlink profile similar to the target, ranked by shared referring domains.

Input

ParameterTypeRequiredDescription
apiKeystringYesSemrush API key
targetstringYesRoot domain, subdomain, or URL to analyze
targetTypestringNoScope of the target: root_domain, domain, or url. Defaults to root_domain
limitnumberNoMaximum number of rows to return, capped at 100,000
offsetnumberNoNumber of rows to skip, for pagination

Output

ParameterTypeDescription
competitorsarrayDomains with backlink profiles similar to the target
↳ authorityScorenumberSemrush Authority Score (0-100)
↳ domainstringDomain name
↳ similaritynumberBacklink profile similarity to the target
↳ commonRefdomainsnumberReferring domains shared with the target
↳ domainsNumnumberNumber of referring domains
↳ backlinksNumnumberNumber of backlinks