Semrush
semrushSemrush is a popular SEO tool suite that specializes in keyword research, competitor analysis, and Google Ad campaign optimization.
Acciones disponibles (36)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Get ad copiesSEMRUSH_ADS_COPIESAcciónRetrieves unique ad copies semrush has observed for a specified domain from a regional database, detailing ads seen in google's paid search results.
SEMRUSH_ADS_COPIESAcciónRetrieves unique ad copies semrush has observed for a specified domain from a regional database, detailing ads seen in google's paid search results.
Parámetros de entrada
domainstringObligatorioDomain name to investigate for ad copies.
databasestringObligatorioenumRegional database code.
usukcarudefresitbrauarbe+134display_sortstringenumSort order for results by ad position.
pc_ascpc_descdisplay_limitintegerMaximum number of ad copies to return.
export_decodeintegerenumSet 1 for decoded response, 0 for URL-encoded.
01export_escapeintegerenumSet 1 to wrap report columns in double quotation marks ("), 0 for unescaped.
01display_filterstring[]Ad components to filter on. Supported: Tt (Ad Title), Ds (Ad Description), Vu (Visible URL).
display_offsetintegerNumber of initial ad copies to skip for pagination.
export_columnsstring[]Columns to include. If omitted, all are returned. Available: Ph (Keyword phrase), Un (Unique ad identifier), Tt (Ad Title), Ds (Ad Description), Vu (Visible URL), Ur (Destination URL), Pc (Ad Position), Ts (Timestamp last seen).
Parámetros de salida
datastringObligatorioString containing the ad copies report, typically CSV-like.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get anchor textsSEMRUSH_ANCHORSAcciónUse this action to get a csv report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or url.
SEMRUSH_ANCHORSAcciónUse this action to get a csv report of anchor texts for backlinks pointing to a specified, publicly accessible domain, root domain, or url.
Parámetros de entrada
targetstringObligatorioDomain, root domain, or URL to analyze for its backlink anchor texts.
target_typestringObligatorioenumSpecifies if the 'target' is a 'root_domain', 'domain', or 'url'.
root_domaindomainurldisplay_sortstringenumSorting criteria for the report; defaults to `domains_num_desc` (most referring domains first).
domains_num_ascdomains_num_descbacklinks_num_ascbacklinks_num_descfirst_seen_ascfirst_seen_desclast_seen_asclast_seen_descdisplay_limitintegerMaximum number of anchor text entries to return.
display_offsetintegerNumber of anchor text entries to skip for pagination.
export_columnsstring[]Columns to include in the report; defaults to all available columns if omitted.
Parámetros de salida
datastringObligatorioAnchor text report data as a CSV-formatted string.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get authority score profileSEMRUSH_AUTHORITY_SCORE_PROFILEAcciónRetrieves the authority score (as) profile for a specified target, showing the count of referring domains that link to the target for each as value from 0 to 100.
SEMRUSH_AUTHORITY_SCORE_PROFILEAcciónRetrieves the authority score (as) profile for a specified target, showing the count of referring domains that link to the target for each as value from 0 to 100.
Parámetros de entrada
targetstringObligatorioThe target entity (URL, domain, or root domain) for which to retrieve the Authority Score profile. For example, 'example.com', 'https://example.com/blog', or 'blog.example.com'.
target_typestringObligatorioenumSpecifies the type of the `target`. Valid options are 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'blog.example.com', which can be a subdomain), or 'url' (a specific page like 'https://example.com/article').
root_domaindomainurl
Parámetros de salida
datastringObligatorioA string (typically JSON formatted) representing the Authority Score profile. This data details the distribution of referring domains by their Authority Score (0-100), showing the count of domains for each score value that link to the target.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get backlinksSEMRUSH_BACKLINKSAcciónFetches backlinks for a specified domain or url as a csv-formatted string, allowing customization of columns, sorting, and filtering; ensure `display limit` surpasses `display offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.
SEMRUSH_BACKLINKSAcciónFetches backlinks for a specified domain or url as a csv-formatted string, allowing customization of columns, sorting, and filtering; ensure `display limit` surpasses `display offset` when an offset is used, and note the `urlanchor` filter may have limitations for targets with extensive backlinks.
Parámetros de entrada
targetstringObligatorioThe target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.
target_typestringObligatorioenumThe type of the specified target. Must be one of 'root_domain' (e.g., 'example.com'), 'domain' (e.g., 'sub.example.com', includes subdomains), or 'url' (a specific page address).
root_domaindomainurldisplay_sortstringenumColumn and order for sorting backlink results.
page_ascore_ascpage_ascore_desclast_seen_asclast_seen_descfirst_seen_ascfirst_seen_descdisplay_limitintegerMaximum number of backlinks to retrieve. If set to 0, it defaults to 10,000. The actual number returned is `max(0, display_limit - display_offset)`.
display_filterstring[]Filters to apply for refining backlink results (e.g., `['newlink']` for new, `['lostlink']` for lost).
display_offsetintegerNumber of initial backlinks to skip. To get N backlinks after offset O, set `display_offset` to O and `display_limit` to O+N.
export_columnsstring[]Columns to include in the exported backlink data. Defaults to all available columns if not specified. An empty list may result in API-specific default columns or an error.
Parámetros de salida
datastringObligatorioA CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Backlinks overviewSEMRUSH_BACKLINKS_OVERVIEWAcciónProvides a csv-formatted summary of backlinks, including authority score and link type breakdowns, for a specified and publicly accessible domain, root domain, or url.
SEMRUSH_BACKLINKS_OVERVIEWAcciónProvides a csv-formatted summary of backlinks, including authority score and link type breakdowns, for a specified and publicly accessible domain, root domain, or url.
Parámetros de entrada
targetstringObligatorioThe domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.
target_typestringObligatorioenumThe type of the `target` (e.g., 'root_domain', 'domain', 'url').
root_domaindomainurlexport_columnsstring[]Specifies columns for the CSV output. If omitted, all columns from `ExportColumns` are included. For available column names, see the `ExportColumns` enum.
Parámetros de salida
datastringObligatorioCSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch comparisonSEMRUSH_BATCH_COMPARISONAcciónCompares backlink profiles for multiple specified targets (domains, subdomains, or urls) to analyze and compare link-building efforts.
SEMRUSH_BATCH_COMPARISONAcciónCompares backlink profiles for multiple specified targets (domains, subdomains, or urls) to analyze and compare link-building efforts.
Parámetros de entrada
targetsstring[]ObligatorioA list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.
target_typesstring[]ObligatorioSpecifies the type for each corresponding target in 'targets'. Ensure this list aligns with 'targets' in order and count for accurate processing.
export_columnsstring[]Specific columns to include in the report. Defaults to all columns. An empty list may result in specific API behavior, like returning a default or minimal set of columns.
Parámetros de salida
datastringObligatorioBatch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Batch keyword overviewSEMRUSH_BATCH_KEYWORD_OVERVIEWAcciónFetches a keyword overview report from a semrush regional database for up to 100 keywords, providing metrics like search volume, cpc, and keyword difficulty.
SEMRUSH_BATCH_KEYWORD_OVERVIEWAcciónFetches a keyword overview report from a semrush regional database for up to 100 keywords, providing metrics like search volume, cpc, and keyword difficulty.
Parámetros de entrada
phrasestringObligatorioUp to 100 keywords to analyze, separated by newline characters ('\n'). For a single keyword, no newline character is needed.
databasestringObligatorioenumThe Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'de'). Refer to Semrush API documentation for a full list of available databases.
usukcarudefresitbrauarbe+134display_datestringDate in "YYYYMM15" format for past month data (e.g., "20231215"); uses most recent data if omitted.
export_decodeintegerenumSet to 0 for URL-encoded response, or 1 for plain text (non-converted) response.
01export_escapeintegerenumSet to 1 to wrap report columns in double quotation marks ("), or 0 to disable.
01export_columnsstring[]Specific columns for the report (e.g., Ph, Nq); defaults to all if omitted. Available columns: - Ph: Keyword/Phrase analyzed. - Nq: Search Volume (avg. monthly queries). - Cp: Cost-Per-Click (avg. CPC). - Co: Competition level of advertisers. - Nr: Number of URLs in organic results. - Td: Search volume trend (last 12 months). - In: Searcher intent (informational, navigational, commercial, transactional). - Kd: Keyword Difficulty score.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Broad match keywordSEMRUSH_BROAD_MATCH_KEYWORDAcciónFetches broad match keywords for a given phrase; `display sort` and `display filter` parameters are defined but currently not utilized by the api call.
SEMRUSH_BROAD_MATCH_KEYWORDAcciónFetches broad match keywords for a given phrase; `display sort` and `display filter` parameters are defined but currently not utilized by the api call.
Parámetros de entrada
phrasestringObligatorioKeyword, phrase, or expression to investigate for broad matches and alternative search queries.
databasestringObligatorioenumRegional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).
usukcarudefresitbrauarbe+134display_datestringDate in "YYYYMM15" format (e.g., "20231215") for historical data. If omitted or empty, most recent data is returned.
display_sortstringenumColumn and order to sort results (e.g., 'nq_desc' for Search Volume descending).
nq_ascnq_desccp_asccp_descco_ascco_descnr_ascnr_desckd_asckd_descdisplay_limitintegerMaximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.
export_decodeintegerenumIf 1 (default), returns a raw text response; 0 for a URL-encoded string.
01export_escapeintegerenumIf 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.
01display_filterstring[]Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.
display_offsetintegerNumber of results to skip from the beginning of the list for pagination.
export_columnsstring[]Specific columns to include in the report (e.g., 'Ph' for Phrase). If not specified, all default columns are returned.
Parámetros de salida
datastringObligatorioThe API response data, typically in a text/CSV format, containing the broad match keyword report.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get categoriesSEMRUSH_CATEGORIESAcciónRetrieves categories and their 0-1 confidence ratings for a specified domain, subdomain, or url, with results sorted by rating.
SEMRUSH_CATEGORIESAcciónRetrieves categories and their 0-1 confidence ratings for a specified domain, subdomain, or url, with results sorted by rating.
Parámetros de entrada
targetstringObligatorioDomain, subdomain, or URL to analyze for category information.
target_typestringObligatorioenumType of the target being analyzed.
root_domaindomainurldisplay_limitintegerMaximum results to return. Note: if set to 0 (the field's default), the API service will default to returning 10,000 lines.
display_offsetintegerNumber of initial results to skip. To maintain desired fetched records after offset, increase `display_limit` by this value.
export_columnsstring[]List of columns for the output. Defaults to all available columns if this list is empty or not provided.
Parámetros de salida
datastringObligatorioText-based table or CSV-formatted string with categories and their 0-1 confidence ratings for the target, sorted by rating descending.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get categories profileSEMRUSH_CATEGORIES_PROFILEAcciónRetrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.
SEMRUSH_CATEGORIES_PROFILEAcciónRetrieves a profile of content categories from referring domains for a specified target, analyzing its first 10,000 referring domains and sorting results by domain count.
Parámetros de entrada
targetstringObligatorioThe target URL, domain, or root domain for which to retrieve categories profile data.
target_typestringObligatorioenumType of the target.
root_domaindomainurldisplay_limitintegerMaximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.
display_offsetintegerNumber of initial results to skip; `display_limit` should be `offset + desired_results` (e.g., for 100 results from 51st, `display_offset=50`, `display_limit=150`).
export_columnsstring[]Columns to include in the report; defaults to all available columns.
Parámetros de salida
datastringObligatorioThe categories profile data, returned as a text string, typically in CSV format. Each line details a category and the count of referring domains in that category which link to the queried target.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get competitor dataSEMRUSH_COMPETITORSAcciónRetrieves a customizable csv report of competitors for a specified target (root domain, domain, or url) based on shared backlinks or referring domains, ensuring the target is valid and its type is correctly specified.
SEMRUSH_COMPETITORSAcciónRetrieves a customizable csv report of competitors for a specified target (root domain, domain, or url) based on shared backlinks or referring domains, ensuring the target is valid and its type is correctly specified.
Parámetros de entrada
targetstringObligatorioThe domain, subdomain, or URL to analyze for competitors.
target_typestringObligatorioenumType of the target: 'root_domain', 'domain', or 'url'.
root_domaindomainurldisplay_sortstringenumSort order for the competitors list.
common_backlinks_num_asccommon_backlinks_num_desccommon_referring_domains_num_asccommon_referring_domains_num_descdisplay_limitintegerMaximum number of competitors to return.
display_offsetintegerNumber of results to skip for pagination.
export_columnsstring[]Columns to include in the CSV report; defaults to all available columns if empty or omitted.
Parámetros de salida
datastringObligatorioCompetitor data in CSV string format, with columns determined by the `export_columns` request parameter.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get competitors in organic searchSEMRUSH_COMPETITORS_IN_ORGANIC_SEARCHAcciónUse to get a domain's organic search competitors from semrush as a semicolon-separated string; `display date` requires 'yyyymm15' format if used.
SEMRUSH_COMPETITORS_IN_ORGANIC_SEARCHAcciónUse to get a domain's organic search competitors from semrush as a semicolon-separated string; `display date` requires 'yyyymm15' format if used.
Parámetros de entrada
domainstringObligatorioDomain to investigate (e.g., 'example.com').
databasestringObligatorioenumRegional database for analysis (e.g., 'us', 'gb'). See Semrush docs for all databases.
usukcarudefresitbrauarbe+134display_datestringSnapshot date for data retrieval in 'YYYYMM15' format (e.g., '20231015'); defaults to latest period if omitted.
display_sortstringenumSort column and order. Defaults to common keywords, descending.
np_ascnp_desccr_asccr_descdisplay_limitintegerMaximum results to return. Use with `display_offset` for >100,000 results.
export_decodeintegerenumSet to 0 for URL-encoded response, 1 for no URL-encoding.
01export_escapeintegerenumSet to 1 to wrap output values in double quotes, 0 to disable.
01display_offsetintegerNumber of initial results to skip; for pagination with `display_limit`.
export_columnsstring[]Data columns to include; defaults to all. See `CompetitorsInOrganicSearchExportColumns` for codes.
Parámetros de salida
datastringObligatorioCompetitor data as a string, typically semicolon-separated values. Format affected by `export_decode` and `export_escape`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get competitors in paid searchSEMRUSH_COMPETITORS_IN_PAID_SEARCHAcciónRetrieves a list of a domain's competitors in paid search results from a specified regional database.
SEMRUSH_COMPETITORS_IN_PAID_SEARCHAcciónRetrieves a list of a domain's competitors in paid search results from a specified regional database.
Parámetros de entrada
domainstringObligatorioDomain name to investigate (e.g., 'example.com').
databasestringObligatorioenumRegional database to query. For available databases, see Semrush API documentation.
usukcarudefresitbrauarbe+134display_datestringDate for data retrieval (YYYYMM15 for monthly). If unspecified, API uses latest daily ranking data.
display_sortstringenumSort column and order. Default: 'np_desc' (Common Paid Keywords, descending). Options: 'np_asc', 'np_desc', 'cr_asc', 'cr_desc'.
np_ascnp_desccr_asccr_descdisplay_limitintegerMaximum number of results. The API typically returns up to 100,000 per request; use with `display_offset` to retrieve more.
export_decodeintegerenumSet to 1 for a decoded response; 0 for a URL-encoded string.
01export_escapeintegerenumSet to 1 to wrap columns in double quotes ("); 0 to disable.
01display_offsetintegerNumber of results to skip. The sum of `display_limit` and `display_offset` must not exceed 4,000,000.
export_columnsstring[]Columns for the report. Defaults to all. Options: Dn (Domain Name), Cr (Competition Level), Np (Common Paid Keywords), Ad (Paid Keywords), At (Paid Search Traffic), Ac (Paid Search Traffic Cost), Or (Common Organic Keywords).
Parámetros de salida
datastringObligatorioThe API response data, typically in a CSV-like string format.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get domain ad historySEMRUSH_DOMAIN_AD_HISTORYAcciónRetrieves a domain's 12-month advertising history from semrush (keywords bid on, ad positions, ad copy) for ppc strategy and competitor analysis; most effective when the domain has ad history in the selected database.
SEMRUSH_DOMAIN_AD_HISTORYAcciónRetrieves a domain's 12-month advertising history from semrush (keywords bid on, ad positions, ad copy) for ppc strategy and competitor analysis; most effective when the domain has ad history in the selected database.
Parámetros de entrada
domainstringObligatorioWebsite name (e.g., 'example.com') to investigate.
databasestringObligatorioenumRegional database to use (e.g., 'us'). Link: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases
usukcarudefresitbrauarbe+134display_sortstringenumSort order for results: `cv_asc` (Costs % ascending), `cv_desc` (Costs % descending).
cv_asccv_descdisplay_limitintegerNumber of results for the current request (typically up to 100k). For larger datasets, use with `display_offset`. Cumulative `display_limit` with offset should not exceed 4,000,000.
export_escapeintegerenumIf 1, wraps report columns in double quotation marks ("); if 0, no escaping.
01display_filterstring[]Filters using column identifiers (e.g., `Ph`). Semrush's API may expect `+Column|Operator|Value` format (e.g., `+Ph|Ct|semrush`); consult Semrush documentation. Simplified filterable columns available: Ph (Keyword), Nq (Num. keywords), Cp (CPC), Tr (Traffic %).
display_offsetintegerNumber of initial results to skip for pagination. When fetching beyond 100k, `display_limit` might need to reflect `current_offset + desired_rows_for_this_page` per Semrush guidance.
export_columnsstring[]Data columns to include (e.g., `Ph`, `Dt`). If unspecified, all columns are returned. An empty list may error. Available: Ph (Keyword), Dt (Date), Po (Position), Cp (CPC), Nq (Num. keywords), Tr (Traffic %), Ur (URL), Tt (Ad Title), Ds (Ad Description), Vu (Volume), Cv (Costs %).
Parámetros de salida
datastringObligatorioRaw text response from the API containing the domain advertising history, typically CSV-like, format determined by `export_columns` and `export_escape`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get domain organic pagesSEMRUSH_DOMAIN_ORGANIC_PAGESAcciónFetches a report on a domain's unique organic pages ranking in google's top 100 search results, with options for specifying database, date, columns, sorting, and filtering.
SEMRUSH_DOMAIN_ORGANIC_PAGESAcciónFetches a report on a domain's unique organic pages ranking in google's top 100 search results, with options for specifying database, date, columns, sorting, and filtering.
Parámetros de entrada
domainstringObligatorioDomain name to analyze (e.g., 'example.com').
databasestringObligatorioenumRegional database for analysis (e.g., 'us', 'gb', 'de'). See Semrush API docs for full list.
usukcarudefresitbrauarbe+134display_datestringDate for historical data report in YYYYMM15 format (e.g., '20231015'). If omitted, uses most recent data.
display_sortstringenumColumn and order for sorting results (e.g., 'pc_desc' for traffic share descending).
pc_ascpc_desctg_asctg_desctr_asctr_descsr_ascsr_descst_ascst_descdisplay_limitintegerMaximum number of results to return. For more than 100,000, use with `display_offset`.
export_decodeintegerenumSet to 0 for URL-encoded response, 1 for decoded (non-converted) response.
01export_escapeintegerenumSet to 1 to wrap report columns in double quotation marks ("), 0 to disable.
01display_filterstring[]Columns from `DomainOrganicPagesFilterType` to filter results by. If empty, no column-specific filters are applied.
display_offsetintegerNumber of results to skip (for pagination with `display_limit`).
export_columnsstring[]Columns to include in the report. If omitted, all columns from `DomainOrganicPagesExportColumns` are returned.
Parámetros de salida
datastringObligatorioReport data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get domain organic search keywordsSEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDSAcciónRetrieves organic search keywords for a domain from a specified semrush regional database; `display positions` must be set if `display daily=1` for daily updates.
SEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDSAcciónRetrieves organic search keywords for a domain from a specified semrush regional database; `display positions` must be set if `display daily=1` for daily updates.
Parámetros de entrada
domainstringObligatorioThe domain name (e.g., example.com) to investigate for organic search keywords.
databasestringObligatorioenumThe regional database to query (e.g., 'us', 'uk', 'de').
usukcarudefresitbrauarbe+134display_datestringDate for keyword data: 'YYYYMM15' for monthly historical, 'YYYYMMDD' for daily (e.g., '20231015', '20231120'). Shows latest daily ranking changes if unspecified.
display_sortstringenumColumn and order for sorting results (e.g., 'po_desc' for position descending).
po_ascpo_desctg_asctg_desctr_asctr_desctc_asctc_descnq_ascnq_descco_ascco_desc+8display_dailyintegerSet to 1 for daily updates on position changes (last 31 days), or 0 for monthly results. Requires `display_positions` if set to 1.
display_limitintegerNumber of results. When `display_offset` is used, this specifies the CUMULATIVE count from the start. Semrush may have per-call limits; use pagination for large datasets.
export_escapeintegerenumSet to 1 to wrap report columns in double quotation marks ("); 0 to disable.
01display_filterstring[]List of column codes from `DomainOrganicSearchKeywordsFilterType` for filtering (e.g., 'Ph', 'Ur'). For complex filter syntax like 'Ph|Cn|semrush', refer to Semrush API documentation.
display_offsetintegerNumber of initial results to skip for pagination. When used, `display_limit` should be `display_offset` + number of rows for the current page.
export_columnsstring[]Data columns to include. If omitted, all columns from `DomainOrganicSearchKeywordsExportColumns` are requested.
display_positionsstringenumFilter keywords by position changes in Google's top 100: 'new', 'lost', 'rise', or 'fall'.
newlostrisefalldisplay_positions_typestringenumType of ranking positions: 'organic' (standard), 'all' (includes SERP features), or 'serp_features' (domain ranks in SERP features).
organicallserp_features
Parámetros de salida
datastringObligatorioThe organic search keyword data for the specified domain, typically returned in a text-based format (e.g., CSV).
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get domain organic subdomainsSEMRUSH_DOMAIN_ORGANIC_SUBDOMAINSAcciónRetrieves a report on subdomains of a given domain that rank in google's top 100 organic search results for a specified regional database.
SEMRUSH_DOMAIN_ORGANIC_SUBDOMAINSAcciónRetrieves a report on subdomains of a given domain that rank in google's top 100 organic search results for a specified regional database.
Parámetros de entrada
domainstringObligatorioDomain name to analyze (e.g., 'example.com').
databasestringObligatorioenumRegional database to query (e.g., 'us', 'gb'). Refer to Semrush API documentation for a complete list.
usukcarudefresitbrauarbe+134display_datestringDate for report generation in YYYYMM15 format (e.g., '20231015'). If not provided, latest available data is used.
display_sortstringenumColumn and order for sorting results (e.g., 'pc_desc' sorts by keyword count descending).
pc_ascpc_desctg_asctg_desctr_asctr_descsr_ascsr_descst_ascst_descdisplay_limitintegerNumber of results to return. For fetching over 100,000 results, `display_offset` should be used and `display_limit` may need appropriate adjustment.
export_decodeintegerenumSpecifies if response data is URL-decoded (`1` for decoded, `0` for URL-encoded string).
01export_escapeintegerenumSpecifies if CSV columns are wrapped in double quotes (`1` to enable, `0` to disable).
01display_offsetintegerNumber of initial results to skip for pagination. When using `display_offset`, `display_limit` might need to be increased by the `display_offset` value.
export_columnsstring[]Specific columns for the report (e.g., Ur, Pc, Tr). If omitted, a default set is returned. Consult Semrush API documentation for column definitions.
Parámetros de salida
datastringObligatorioThe report data, typically in a CSV-like plain text format, detailing the organic subdomains, their keywords, and traffic metrics.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get domain paid search keywordsSEMRUSH_DOMAIN_PAID_SEARCH_KEYWORDSAcciónFetches keywords driving paid search traffic to a specified, existing domain using a supported semrush regional database.
SEMRUSH_DOMAIN_PAID_SEARCH_KEYWORDSAcciónFetches keywords driving paid search traffic to a specified, existing domain using a supported semrush regional database.
Parámetros de entrada
domainstringObligatorioDomain name to investigate.
databasestringObligatorioenumRegional database to query.
usukcarudefresitbrauarbe+134display_datestringDate for data retrieval (YYYYMM15 for monthly, YYYYMMDD for daily). Latest data if unspecified.
display_sortstringenumColumn and order for sorting results.
po_ascpo_desctg_asctg_desctr_asctr_desctc_asctc_descnq_ascnq_descdisplay_limitintegerMaximum number of keywords to return. Use with `display_offset` for pagination.
export_decodeintegerenumSet to 0 for URL-encoded response; 1 for non-URL-encoded response.
01export_escapeintegerenumSet to 1 to wrap report columns in double quotation marks ("); 0 to disable.
01display_filterstring[]Filters to apply using a specific format string: '[+/-]|[column_code]|[operator]|[value]'. Refer to Semrush API documentation for detailed filter syntax and available fields.
display_offsetintegerNumber of results to skip for pagination. If used, `display_limit` should be increased by this value; total `display_limit` (inclusive of offset) must not exceed 4,000,000.
export_columnsstring[]Columns to include in the report. All columns returned if unspecified. See `DomainPaidSearchKeywordsExportColumns` for options.
display_positionsstringenumFilter keywords by ranking status ('new', 'lost', 'rise', 'fall') in Google's top 100 paid search results.
newlostrisefall
Parámetros de salida
datastringObligatorioReport data as a string, typically CSV. Structure depends on `export_columns` and `export_escape`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PLA search keywords for a domainSEMRUSH_DOMAIN_PLA_SEARCH_KEYWORDSAcciónRetrieves product listing ad (pla) search keywords for a specified domain from a semrush regional database.
SEMRUSH_DOMAIN_PLA_SEARCH_KEYWORDSAcciónRetrieves product listing ad (pla) search keywords for a specified domain from a semrush regional database.
Parámetros de entrada
domainstringObligatorioDomain name (e.g., 'example.com') to investigate for PLA search keywords.
databasestringObligatorioenumSemrush regional database to query (e.g., 'us', 'gb', 'ca').
usukcarudefresitbrauarbe+134display_sortstringenumColumn and order for sorting results (e.g., 'po_desc' for position descending).
po_ascpo_descnq_ascnq_descpr_ascpr_descdisplay_limitintegerMaximum number of results to return. For pagination with `display_offset`, `display_limit` might need to be `desired_count + display_offset`. Semrush may return up to 100,000 lines per call if `display_offset` is not used.
export_decodeintegerenumIf 1, decodes URL-encoded response data; if 0, returns data as a raw URL-encoded string.
01export_escapeintegerenumIf 1, wraps report column values in double quotes (e.g., "value"); 0 disables wrapping.
01display_filterstring[]Column names (e.g., 'Ph', 'Tt') for filtering results. Filtering logic is Semrush API-specific; refer to their documentation for details.
display_offsetintegerNumber of results to skip from the beginning of the report, for pagination.
export_columnsstring[]Specific data columns to include in the report (e.g., 'Ph' for Keyword, 'Ur' for Landing Page URL, 'Tt' for Ad Title). If not specified, all available columns are requested.
Parámetros de salida
datastringObligatorioPLA search keywords data from Semrush, typically a raw string in CSV-like format. Structure and content depend on `export_columns` and other request parameters.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Compare domainsSEMRUSH_DOMAIN_VS_DOMAINAcciónAnalyzes keyword rankings by comparing up to five domains to find common, unique, or gap keywords, using specified organic/paid types and comparison logic in the `domains` string.
SEMRUSH_DOMAIN_VS_DOMAINAcciónAnalyzes keyword rankings by comparing up to five domains to find common, unique, or gap keywords, using specified organic/paid types and comparison logic in the `domains` string.
Parámetros de entrada
domainsstringObligatorioA URL-encoded string specifying the domains to compare and the comparison logic, separated by the '|' symbol. Each domain entry follows the format: <sign>|<type>|<domain>. Up to five domains can be compared. <sign>: Operation type (+, -, *, /). <type>: Keyword type ('or' for organic, 'ad' for paid). <domain>: The domain name. Examples of combinations: • Shared keywords: *|or|<your_domain>|*|or|<domain2>|*|or|<domain3> • All keywords: *|or|<your_domain>|+|or|<domain2>|+|or|<domain3> • Unique keywords for your domain: *|or|<your_domain>|-|or|<domain2>|-|or|<domain3> • Untapped keywords (keywords in others, not yours): *|or|<domain2>|+|or|<domain3>|-|or|<your_domain> • Missing keywords (keywords in common among others, not yours): *|or|<domain2>|*|or|<domain3>|-|or|<your_domain> • Keywords exclusive to one domain: *|or|<your_domain>|/|or|<domain2>|/|or|<domain3> (API only).
databasestringObligatorioenumRegional database for the query. Refer to `DatabaseEnum` or SEMrush documentation for a complete list.
usukcarudefresitbrauarbe+134display_datestringReport date in YYYYMM15 format (e.g., '20231015') for historical/current data. Latest data used if omitted.
display_sortstringenumSorting criteria: 'columnName_direction' (e.g., 'p0_desc'). See `DomainVsDomainSortOrder` for options.
p0_ascp0_descp1_ascp1_descp2_ascp2_descp3_ascp3_descp4_ascp4_descnq_ascnq_desc+6display_limitintegerMaximum number of keywords to return. Use with `display_offset` for pagination of large datasets (up to 100,000 results per call is typical).
export_decodeintegerenumControls if the response is URL-decoded. 1: decode response; 0: return URL-encoded string.
01export_escapeintegerenumControls if special characters in output are escaped. 1: escape (columns wrapped in \"\"); 0: no escaping.
01display_filterstring[]List of column codes from `DomainVsDomainFilterType` to filter results. Behavior is API-specific.
display_offsetintegerNumber of initial results to skip for pagination with `display_limit`. For instance, `display_offset=10000` and `display_limit=10000` retrieves results 10,001-20,000.
export_columnsstring[]Columns to include in the report. All default columns are returned if empty. See `DomainVsDomainExportColumns` for codes.
Parámetros de salida
datastringObligatorioThe API response data, typically a string in a table-like format (e.g., CSV-like with lines separated by newlines and columns by semicolons). The structure and encoding depend on parameters like `export_columns`, `export_escape`, and `export_decode`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get historical dataSEMRUSH_HISTORICAL_DATAAcciónRetrieves monthly historical backlink and referring domain data for a specified root domain, returned as a time series string with newest records first.
SEMRUSH_HISTORICAL_DATAAcciónRetrieves monthly historical backlink and referring domain data for a specified root domain, returned as a time series string with newest records first.
Parámetros de entrada
targetstringObligatorioThe root domain URL (e.g., 'example.com') for which to retrieve historical backlink data.
target_typestringObligatorioThe type of target. Must be 'root_domain' for this action.
display_limitintegerMaximum number of historical data records (lines) to return. If 0 (default), the API backend uses 10,000. Max: 1,000,000.
display_offsetintegerNumber of initial records to skip in the results.
export_columnsstring[]Specifies data columns for the report. Defaults to all: `date`, `backlinks_num`, `domains_num`, `score`.
Parámetros de salida
datastringObligatorioString of historical data: each line is a monthly record (Unix timestamp, requested metrics), sorted newest to oldest. Columns depend on `export_columns`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get indexed pagesSEMRUSH_INDEXED_PAGESAcciónRetrieves a list of indexed pages from semrush for a specified `target` (root domain, domain, or url) and `target type`, ensuring `target` is publicly accessible, semrush-analyzable, and correctly matches `target type`.
SEMRUSH_INDEXED_PAGESAcciónRetrieves a list of indexed pages from semrush for a specified `target` (root domain, domain, or url) and `target type`, ensuring `target` is publicly accessible, semrush-analyzable, and correctly matches `target type`.
Parámetros de entrada
targetstringObligatorioTarget URL, domain, or root domain for which to retrieve indexed pages data.
target_typestringObligatorioenumType of the target.
root_domaindomainurldisplay_sortstringenumSorting criteria for the results.
backlinks_num_ascbacklinks_num_descdomains_num_ascdomains_num_desclast_seen_asclast_seen_descdisplay_limitintegerMaximum number of results to return.
display_offsetintegerNumber of initial results to skip. Note: When using `display_offset`, the `display_limit` should be the desired number of results plus the `display_offset` (e.g., for 100 results after skipping 50, set `display_offset=50`, `display_limit=150`).
export_columnsstring[]Specific columns for the report; defaults to all available columns if omitted.
Parámetros de salida
datastringObligatorioA string containing the report data, typically in a CSV-like format, listing indexed pages and their selected attributes.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get keyword difficultySEMRUSH_KEYWORD_DIFFICULTYAcciónDetermines the keyword difficulty (kd) score (0-100, higher means greater difficulty) for a given phrase in a specific semrush regional database to assess its seo competitiveness.
SEMRUSH_KEYWORD_DIFFICULTYAcciónDetermines the keyword difficulty (kd) score (0-100, higher means greater difficulty) for a given phrase in a specific semrush regional database to assess its seo competitiveness.
Parámetros de entrada
phrasestringObligatorioThe keyword or keyword phrase to analyze for difficulty.
databasestringObligatorioenumThe Semrush regional database to use for the analysis (e.g., 'us', 'gb', 'ca'). Refer to the Semrush API documentation for a complete list of valid database codes: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases.
usukcarudefresitbrauarbe+134export_escapeintegerenumSet to 1 to wrap output columns in double quotes ("), or 0 to disable.
01export_columnsstring[]Specifies columns to include in the output (e.g., 'Ph' for Phrase, 'Kd' for Keyword Difficulty). Uses all available columns if omitted.
Parámetros de salida
datastringObligatorioThe raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Keyword overview all databasesSEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASESAcciónFetches a keyword overview from semrush for a specified phrase, including metrics like search volume, cpc, and competition.
SEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASESAcciónFetches a keyword overview from semrush for a specified phrase, including metrics like search volume, cpc, and competition.
Parámetros de entrada
phrasestringObligatorioKeyword or keyword phrase to investigate.
databasestringenumRegional database to query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.
usukcarudefresitbrauarbe+134export_decodeintegerSet to 1 for a URL-decoded response, 0 for URL-encoded.
export_escapeintegerenumSet to 1 to wrap output columns in double quotes, 0 to disable.
01export_columnsstring[]Specific columns for the report (e.g., 'Ph', 'Nq', 'Cp'). Defaults to all columns, including Date (Dt), Database (Db), Phrase (Ph), Search Volume (Nq), CPC (Cp), Competition (Co), Number of Results (Nr), Intent (In), and Keyword Difficulty (Kd).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get keyword overview for one databaseSEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASEAcciónFetches a keyword summary for a specified phrase from a chosen regional database.
SEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASEAcciónFetches a keyword summary for a specified phrase from a chosen regional database.
Parámetros de entrada
phrasestringObligatorioThe keyword or keyword phrase to investigate.
databasestringObligatorioenumA regional database code (e.g., 'us' for United States, 'gb' for United Kingdom). Refer to Semrush documentation for a comprehensive list of available databases (https://developer.semrush.com/api/v3/analytics/basic-docs/#databases).
usukcarudefresitbrauarbe+134display_datestringOptional. Date in "YYYYMM15" format (e.g., "20231215" for December 2023) to retrieve data for a specific past month. If omitted or empty, the most recent data is returned.
export_decodeintegerenumIf set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.
01export_escapeintegerenumIf set to 1 (default), the report’s columns will be wrapped in double quotation marks ("). Set to 0 to disable.
01export_columnsstring[]A list of specific columns to include in the report. If omitted, all available columns are returned by default. Available columns: Ph (Keyword phrase), Nq (Monthly search volume), Cp (Cost Per Click in USD), Co (Competition level of advertisers, 0 to 1), Nr (Number of URLs in organic search results), Td (Search trend over the last 12 months), In (Searcher intent types like informational, navigational, commercial, transactional), Kd (Keyword difficulty score, 0 to 100).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get keywords ads historySEMRUSH_KEYWORDS_ADS_HISTORYAcciónFetches a historical report (last 12 months) of domains advertising on a specified keyword in google ads, optionally for a specific month ('yyyymm15') or the most recent period, returning raw csv-like data.
SEMRUSH_KEYWORDS_ADS_HISTORYAcciónFetches a historical report (last 12 months) of domains advertising on a specified keyword in google ads, optionally for a specific month ('yyyymm15') or the most recent period, returning raw csv-like data.
Parámetros de entrada
phrasestringObligatorioKeyword or phrase for historical advertising data analysis.
databasestringObligatorioenumRegional database to query.
usukcarudefresitbrauarbe+134display_datestringSpecifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.
display_limitintegerMaximum number of results (lines) to return.
export_decodeintegerenumSet to 1 for a non-URL-encoded response, 0 for URL-encoded.
01export_escapeintegerenumSet to 1 to wrap output columns in double quotes, 0 to disable.
01display_offsetintegerNumber of results to skip for pagination.
export_columnsstring[]Specific columns to include. If omitted or empty, all columns are returned. See `KeywordsAdsHistoryExportColumns`.
Parámetros de salida
datastringObligatorioRaw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get organic resultsSEMRUSH_ORGANIC_RESULTSAcciónRetrieves up to 100,000 domains and urls from google's top 100 organic search results for a keyword and region, returning a raw string; use `display date` in 'yyyymm15' format (day must be '15') for historical data.
SEMRUSH_ORGANIC_RESULTSAcciónRetrieves up to 100,000 domains and urls from google's top 100 organic search results for a keyword and region, returning a raw string; use `display date` in 'yyyymm15' format (day must be '15') for historical data.
Parámetros de entrada
phrasestringObligatorioKeyword or phrase to get Google's top 100 organic search results for.
databasestringObligatorioenumRegional database to query (e.g., 'us' for United States).
usukcarudefresitbrauarbe+134display_datestringDate in 'YYYYMM15' format (e.g., '20231215') for historical data of a past month; day must be '15'. Omit for most recent data.
display_limitintegerMaximum number of results. API defaults to 10,000 if set to 0 or omitted by client. Max is 100,000.
export_decodeintegerenumSet to 1 for a plain URL-decoded response string, 0 for URL-encoded.
01export_escapeintegerenumSet to 1 to wrap output columns in double quotation marks ("), 0 to not wrap.
01display_offsetintegerNumber of initial results to skip for pagination. Use with `display_limit` for results beyond the initial fetch.
export_columnsstring[]List of column codes to include. See `ExportColumnsEnum` for codes. Defaults to all columns if omitted.
positions_typestringenumType of search results: 'organic' for traditional results, or 'all' to include SERP Features. If 'all', 'Pt' column indicates SERP feature code or '-1' for organic.
organicall
Parámetros de salida
datastringObligatorioRaw API response string, typically semicolon-separated values with CR+LF line endings. Structure depends on `export_escape` and `export_columns`.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get paid search resultsSEMRUSH_PAID_RESULTSAcciónFetches domains ranking in google's paid search results (adwords) for a specified keyword and regional database.
SEMRUSH_PAID_RESULTSAcciónFetches domains ranking in google's paid search results (adwords) for a specified keyword and regional database.
Parámetros de entrada
phrasestringObligatorioKeyword or phrase to analyze for paid search results.
databasestringObligatorioenumSemrush regional database code (e.g., 'us' for United States, 'gb' for United Kingdom).
usukcarudefresitbrauarbe+134display_datestringDate in YYYYMM15 format (e.g., '20231215') for historical data of a specific month; if omitted, returns most recent data.
display_limitintegerMaximum number of results to return.
export_decodeintegerenumSet to 0 for URL-encoded response data, or 1 to preserve special characters (non-URL-encoded).
01export_escapeintegerenumSet to 1 to wrap report columns in double quotes, or 0 to disable.
01display_offsetintegerNumber of results to skip from the beginning, for pagination.
export_columnsstring[]List of column codes to include (e.g., `Dn` for Domain, `Ur` for URL, `Vu` for a context-specific value). Defaults to all (`Dn`, `Ur`, `Vu`) if omitted.
Parámetros de salida
datastringObligatorioAPI response data, usually a CSV-formatted string listing domains in paid search results.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Phrase questionsSEMRUSH_PHRASE_QUESTIONSAcciónFetches question-format keywords semantically related to a given query phrase for a specified regional database, aiding in understanding user search intent and discovering content ideas.
SEMRUSH_PHRASE_QUESTIONSAcciónFetches question-format keywords semantically related to a given query phrase for a specified regional database, aiding in understanding user search intent and discovering content ideas.
Parámetros de entrada
phrasestringObligatorioKeyword or phrase to investigate for related questions.
databasestringObligatorioenumSemrush regional database (e.g., 'us', 'gb'). See Semrush documentation for the full list.
usukcarudefresitbrauarbe+134display_sortstringenumColumn and order for sorting results (e.g., 'nq_desc' for descending by Nq).
nq_ascnq_desccp_asccp_descco_ascco_descnr_ascnr_desckd_asckd_descdisplay_limitintegerMaximum number of results to return.
export_decodeintegerenumSet to 0 for URL-encoded response data; 1 for unconverted data.
01export_escapeintegerenumSet to 1 to wrap report columns in double quotation marks ("); 0 to disable.
01display_filterstring[]Column identifiers (from `PhraseQuestionsFilterType`) for filtering; refer to Semrush API documentation for behavior.
display_offsetintegerNumber of results to skip for pagination.
export_columnsstring[]Columns from `PhraseQuestionsExportColumns` to include in the report.
Parámetros de salida
datastringObligatorioReport data as CSV-like plain text, containing the requested phrase questions.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PLA competitorsSEMRUSH_PLA_COMPETITORSAcciónRetrieves domains competing with a specified domain in google's product listing ads (pla) from a given semrush regional database.
SEMRUSH_PLA_COMPETITORSAcciónRetrieves domains competing with a specified domain in google's product listing ads (pla) from a given semrush regional database.
Parámetros de entrada
domainstringObligatorioThe domain name of the website to investigate (e.g., 'example.com').
databasestringObligatorioenumThe Semrush regional database to query (e.g., 'us', 'uk', 'ca').
usukcarudefresitbrauarbe+134display_sortstringenumSpecifies the sorting criteria for the results. Options include sorting by 'Np' (Number of PLA Keywords) or 'Cr' (Common Keywords count), in 'asc' (ascending) or 'desc' (descending) order.
np_ascnp_desccr_asccr_descdisplay_limitintegerThe maximum number of results to return in the response. Use with `display_offset` for comprehensive data retrieval.
export_decodeintegerenumDetermines if the response string is URL-encoded. Set to 0 for URL-encoded output, 1 for a non-converted (raw) string.
01export_escapeintegerenumControls whether report columns are wrapped in double quotation marks. Set to 1 to enable wrapping, 0 to disable.
01display_offsetintegerThe starting position of the results to fetch, effectively skipping this number of initial results. Used for pagination when `display_limit` is less than the total number of available results.
export_columnsstring[]Specifies which data columns to include in the report. Available column codes: 'Dn' (Domain Name), 'Cr' (Common Keywords), 'Np' (Number of PLA Keywords), 'Sh' (PLA Keywords), 'Ad' (Number of PLA Ads), 'At' (PLA Ad Titles), 'Ac' (PLA Ad Copies), 'Or' (Organic Keywords).
Parámetros de salida
datastringObligatorioThe competitor data, typically in a CSV-like string format, based on the export parameters.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PLA copiesSEMRUSH_PLA_COPIESAcciónFetches product listing ad (pla) copies that semrush observed for a domain in google's paid search results.
SEMRUSH_PLA_COPIESAcciónFetches product listing ad (pla) copies that semrush observed for a domain in google's paid search results.
Parámetros de entrada
domainstringObligatorioDomain to investigate for PLA copies.
databasestringObligatorioenumRegional database to query (e.g., 'us', 'gb', 'de').
usukcarudefresitbrauarbe+134display_sortstringenumSort order for results. 'pr' is Price, 'pc' is Position Change.
pr_ascpr_descpc_ascpc_descdisplay_limitintegerNumber of results to return. Up to 100,000 results can be retrieved in a single call without offset. For more, use with `display_offset`.
export_decodeintegerenumIf 0, response is URL-encoded; 1 for decoded response.
01export_escapeintegerenumIf 1, wraps report columns in double quotes ("); 0 disables.
01display_filterstring[]Columns to filter on ('Tt': Title, 'Pr': Price). Filter conditions depend on API implementation.
display_offsetintegerResults to skip. When used, `display_limit` should be `display_offset` + (number of results per page, up to 100k), not exceeding 4,000,000 total for `display_limit`.
export_columnsstring[]Specific columns for the report. If empty or omitted, all columns are returned. Available: 'Tt' (Title), 'Pr' (Price), 'Ur' (URL), 'Pc' (Position Change), 'Un' (Number of Keywords), 'Ts' (Timestamp).
Parámetros de salida
datastringObligatorioPLA copies data, usually a CSV-formatted string. Columns depend on the `export_columns` request parameter.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get referring domainsSEMRUSH_REFERRING_DOMAINSAcciónRetrieves a report as a text string (e.g., csv) listing domains that link to a target, with options to filter by type (not value).
SEMRUSH_REFERRING_DOMAINSAcciónRetrieves a report as a text string (e.g., csv) listing domains that link to a target, with options to filter by type (not value).
Parámetros de entrada
targetstringObligatorioThe target URL, domain, or root domain to analyze for referring domains.
target_typestringObligatorioenumType of the `target`.
root_domaindomainurldisplay_sortstringenumColumn and order for sorting results.
domain_ascore_ascdomain_ascore_descbacklinks_num_ascbacklinks_num_desclast_seen_asclast_seen_descfirst_seen_ascfirst_seen_descdisplay_limitintegerMaximum number of referring domains to return. A value of 0 is also treated as 10,000.
display_filterstring[]Filter types to apply (e.g., 'newdomain', 'country'). This specifies the *types* of filters, not the filter values themselves (e.g., a specific country code).
display_offsetintegerNumber of initial results to skip. Consider adjusting `display_limit` if using an offset.
export_columnsstring[]Columns to include in the report. All available columns are returned if empty.
Parámetros de salida
datastringObligatorioThe referring domains report data, typically as a text-based format (e.g., CSV string).
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get referring domains by countrySEMRUSH_REFERRING_DOMAINS_BY_COUNTRYAcciónGenerates a csv report detailing the geographic distribution of referring domains (by country, determined via ip address) for a specified, publicly accessible target.
SEMRUSH_REFERRING_DOMAINS_BY_COUNTRYAcciónGenerates a csv report detailing the geographic distribution of referring domains (by country, determined via ip address) for a specified, publicly accessible target.
Parámetros de entrada
targetstringObligatorioDomain, subdomain, or URL to analyze for its referring domains by country.
target_typestringObligatorioenumSpecifies the type of the provided target.
root_domaindomainurldisplay_sortstringenumSorting order for the results.
domains_num_ascdomains_num_descbacklinks_num_ascbacklinks_num_descdisplay_limitintegerMaximum number of results to return.
display_offsetintegerNumber of initial results to skip.
export_columnsstring[]Columns to include in the report.
Parámetros de salida
datastringObligatorioCSV-formatted report data; each row represents a country and its referring domain statistics.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Referring i psSEMRUSH_REFERRING_I_PSAcciónFetches ip addresses that are sources of backlinks for a specified target domain, root domain, or url.
SEMRUSH_REFERRING_I_PSAcciónFetches ip addresses that are sources of backlinks for a specified target domain, root domain, or url.
Parámetros de entrada
targetstringObligatorioThe target URL, domain, or root domain for which to retrieve referring IPs data.
target_typestringObligatorioenumThe type of target to analyze. Choose 'root_domain' for the main domain, 'domain' for a specific subdomain, or 'url' for a particular URL.
root_domaindomainurldisplay_sortstringenumThe column and order by which to sort the results. For example, 'backlinks_num_desc' sorts by the number of backlinks in descending order.
domains_num_ascdomains_num_descbacklinks_num_ascbacklinks_num_descfirst_seen_ascfirst_seen_desclast_seen_asclast_seen_descdisplay_limitintegerThe maximum number of referring IPs to return in the response. If set to 0 or not specified, the default is 10,000. When using `display_offset`, this limit applies to the number of results *after* the offset.
display_offsetintegerThe number of results to skip from the beginning of the list. If this parameter is used, the `display_limit` value might need to be adjusted to retrieve the desired number of results after the offset. For instance, to get results 101-200, set `display_offset` to 100 and `display_limit` to 100.
export_columnsstring[]A list of columns to include in the report. If not specified, all default columns will be returned. Available columns: 'ip', 'country', 'domains_num', 'backlinks_num', 'first_seen', 'last_seen'.
Parámetros de salida
datastringObligatorioA string containing the referring IPs report data, typically in CSV format.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find related keywordsSEMRUSH_RELATED_KEYWORDSAcciónCall this to find related keywords (including synonyms and variations) for a target phrase in a specific regional database; `display date` (if used for historical data) must be 'yyyymm15' for a past month.
SEMRUSH_RELATED_KEYWORDSAcciónCall this to find related keywords (including synonyms and variations) for a target phrase in a specific regional database; `display date` (if used for historical data) must be 'yyyymm15' for a past month.
Parámetros de entrada
phrasestringObligatorioKeyword or phrase to find related terms for.
databasestringObligatorioenumRegional database code (e.g., 'us', 'gb') for targeting data. See Semrush docs for full list.
usukcarudefresitbrauarbe+134display_datestringDate ('YYYYMM15') for historical data from a specific past month. Omit for most recent.
display_sortstringenumSort order for results (e.g., `nq_desc` for search volume descending). See `RelatedKeywordsSortOrder`.
nq_ascnq_desccp_asccp_descco_ascco_descnr_ascnr_desctd_asctd_descin_ascin_desc+2display_limitintegerMaximum number of related keywords to return.
export_decodeintegerenumIf 0, returns URL-encoded string; if 1, returns plain text (typically CSV).
01export_escapeintegerenumIf 1, wraps CSV columns in double quotes; 0 disables.
01display_filterstring[]Filters results by column types (e.g., Ph, Nq, Wc). See `RelatedKeywordsFilterType`. For complex filters, direct API use may be needed.
display_offsetintegerNumber of initial entries to skip, for pagination.
export_columnsstring[]Specifies data columns to include. Available (from `ExportColumnsEnum`): Ph (Keyword text), Nq (Search Volume), Cp (Competitive Density 0-1), Co (CPC in USD), Nr (Number of Results), Td (Trend 12mo), Rr (Relatedness score), Fk (SERP Features), In (Search Intent 0-Nav,1-Com,2-Info,3-Trans), Kd (Keyword Difficulty 0-100).
Parámetros de salida
datastringObligatorioAPI response data. Typically CSV, but URL-encoded if `export_decode` in request was 0.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get TLD distributionSEMRUSH_TLD_DISTRIBUTIONAcciónFetches a report on the top-level domain (tld) distribution of referring domains for a specified target, useful for analyzing geographic or categorical backlink diversity.
SEMRUSH_TLD_DISTRIBUTIONAcciónFetches a report on the top-level domain (tld) distribution of referring domains for a specified target, useful for analyzing geographic or categorical backlink diversity.
Parámetros de entrada
targetstringObligatorioThe target for which to retrieve TLD distribution data. This can be a root domain (e.g., 'example.com'), a subdomain (e.g., 'blog.example.com'), or a specific URL (e.g., 'https://example.com/path').
target_typestringObligatorioenumType of the target being analyzed.
root_domaindomainurldisplay_sortstringenumSorting criteria for the TLD distribution results.
domains_num_ascdomains_num_descbacklinks_num_ascbacklinks_num_descdisplay_limitintegerMaximum number of results to return. If 0 is provided, the default limit of 10,000 will be applied.
display_offsetintegerNumber of results to skip from the start. For Semrush API compatibility when using offset, `display_limit` may need to be `desired_limit + offset`.
export_columnsstring[]Columns to include in the report. If omitted or empty, all columns (`zone`, `domains_num`, `backlinks_num`) are returned.
Parámetros de salida
datastringObligatorioThe TLD distribution report data, returned as a string. This string is typically in a structured text format (e.g., CSV-like) where each line represents a TLD and its metrics, based on the `export_columns` requested.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not