NAiOS IconNAiOS Logo
Contacto
Contacto

Suscríbete a la newsletter

Novedades de IA y de producto. Sin spam, puedes darte de baja cuando quieras.

Consejo: usa tu email de empresa para una respuesta más relevante.

Comprobando seguridad…
NAiOS Icon
NAiOS Logo

El primer integrador de IA para empresas reales. Conecta todas tus herramientas de IA de forma segura y escalable.

+34 695482054info@naios.netinfo@netretina.ai
LinkedInNAiOS AcademyNetretina.AiContact UsX

Plataforma

  • Características
  • Integraciones
  • Planes y precios

Empresa

  • Sobre nosotros
  • Blog
  • Contacto

Compliance

  • Reglamento Europeo de IA
  • Transparencia de IA

Legal

  • Aviso legal
  • Política de privacidad
  • Términos y condiciones
  • Política de cookies
  • Devoluciones

© 2026 NAiOS. Todos los derechos reservados.

Un producto de Netretina.Ai

    Volver al catálogo

    Semrush

    semrush

    Semrush is a popular SEO tool suite that specializes in keyword research, competitor analysis, and Google Ad campaign optimization.

    SEO & AI VisibilityMarketingAnalyticsWeb del proveedor
    Acciones
    36
    Triggers
    0
    Autenticación
    —
    OAuth gestionado
    No
    Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

    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ón

    Retrieves 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

    • domainstringObligatorio

      Domain name to investigate for ad copies.

    • databasestringObligatorioenum

      Regional database code.

      usukcarudefresitbrauarbe+134
    • display_sortstringenum

      Sort order for results by ad position.

      pc_ascpc_desc
    • display_limitinteger

      Maximum number of ad copies to return.

    • export_decodeintegerenum

      Set 1 for decoded response, 0 for URL-encoded.

      01
    • export_escapeintegerenum

      Set 1 to wrap report columns in double quotation marks ("), 0 for unescaped.

      01
    • display_filterstring[]

      Ad components to filter on. Supported: Tt (Ad Title), Ds (Ad Description), Vu (Visible URL).

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      String containing the ad copies report, typically CSV-like.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get anchor textsSEMRUSH_ANCHORSAcción

    Use 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

    • targetstringObligatorio

      Domain, root domain, or URL to analyze for its backlink anchor texts.

    • target_typestringObligatorioenum

      Specifies if the 'target' is a 'root_domain', 'domain', or 'url'.

      root_domaindomainurl
    • display_sortstringenum

      Sorting 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_desc
    • display_limitinteger

      Maximum number of anchor text entries to return.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      Anchor text report data as a CSV-formatted string.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get authority score profileSEMRUSH_AUTHORITY_SCORE_PROFILEAcción

    Retrieves 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

    • targetstringObligatorio

      The 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_typestringObligatorioenum

      Specifies 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

    • datastringObligatorio

      A 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.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get backlinksSEMRUSH_BACKLINKSAcción

    Fetches 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

    • targetstringObligatorio

      The target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.

    • target_typestringObligatorioenum

      The 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_domaindomainurl
    • display_sortstringenum

      Column and order for sorting backlink results.

      page_ascore_ascpage_ascore_desclast_seen_asclast_seen_descfirst_seen_ascfirst_seen_desc
    • display_limitinteger

      Maximum 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_offsetinteger

      Number 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

    • datastringObligatorio

      A CSV-formatted string of backlink data; columns are determined by `export_columns` or API defaults.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Backlinks overviewSEMRUSH_BACKLINKS_OVERVIEWAcción

    Provides 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

    • targetstringObligatorio

      The domain (e.g., 'example.com'), subdomain (e.g., 'blog.example.com'), or URL (e.g., 'https://example.com/page') for backlink analysis.

    • target_typestringObligatorioenum

      The type of the `target` (e.g., 'root_domain', 'domain', 'url').

      root_domaindomainurl
    • export_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

    • datastringObligatorio

      CSV formatted string with the backlinks overview. Columns are determined by `export_columns`; each row represents a backlink.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Batch comparisonSEMRUSH_BATCH_COMPARISONAcción

    Compares backlink profiles for multiple specified targets (domains, subdomains, or urls) to analyze and compare link-building efforts.

    Parámetros de entrada

    • targetsstring[]Obligatorio

      A list of target domains, subdomains, or URLs for which to retrieve backlink comparison data.

    • target_typesstring[]Obligatorio

      Specifies 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

    • datastringObligatorio

      Batch comparison data as a raw string, typically JSON formatted. The structure is determined by the requested 'export_columns' and 'targets'.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Batch keyword overviewSEMRUSH_BATCH_KEYWORD_OVERVIEWAcción

    Fetches 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

    • phrasestringObligatorio

      Up to 100 keywords to analyze, separated by newline characters ('\n'). For a single keyword, no newline character is needed.

    • databasestringObligatorioenum

      The 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+134
    • display_datestring

      Date in "YYYYMM15" format for past month data (e.g., "20231215"); uses most recent data if omitted.

    • export_decodeintegerenum

      Set to 0 for URL-encoded response, or 1 for plain text (non-converted) response.

      01
    • export_escapeintegerenum

      Set to 1 to wrap report columns in double quotation marks ("), or 0 to disable.

      01
    • export_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

    • dataobjectObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Broad match keywordSEMRUSH_BROAD_MATCH_KEYWORDAcción

    Fetches 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

    • phrasestringObligatorio

      Keyword, phrase, or expression to investigate for broad matches and alternative search queries.

    • databasestringObligatorioenum

      Regional database for keyword research (e.g., 'us' for United States, 'gb' for United Kingdom).

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date in "YYYYMM15" format (e.g., "20231215") for historical data. If omitted or empty, most recent data is returned.

    • display_sortstringenum

      Column and order to sort results (e.g., 'nq_desc' for Search Volume descending).

      nq_ascnq_desccp_asccp_descco_ascco_descnr_ascnr_desckd_asckd_desc
    • display_limitinteger

      Maximum number of results. The API interprets a value of 0 as the default (10,000). Max: 100,000.

    • export_decodeintegerenum

      If 1 (default), returns a raw text response; 0 for a URL-encoded string.

      01
    • export_escapeintegerenum

      If 1 (default), wraps CSV columns in double quotes; 0 disables. Applies if output is CSV-like.

      01
    • display_filterstring[]

      Filter conditions for results, from predefined criteria. Behavior depends on API interpretation of these values.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      The API response data, typically in a text/CSV format, containing the broad match keyword report.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get categoriesSEMRUSH_CATEGORIESAcción

    Retrieves categories and their 0-1 confidence ratings for a specified domain, subdomain, or url, with results sorted by rating.

    Parámetros de entrada

    • targetstringObligatorio

      Domain, subdomain, or URL to analyze for category information.

    • target_typestringObligatorioenum

      Type of the target being analyzed.

      root_domaindomainurl
    • display_limitinteger

      Maximum results to return. Note: if set to 0 (the field's default), the API service will default to returning 10,000 lines.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      Text-based table or CSV-formatted string with categories and their 0-1 confidence ratings for the target, sorted by rating descending.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get categories profileSEMRUSH_CATEGORIES_PROFILEAcción

    Retrieves 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

    • targetstringObligatorio

      The target URL, domain, or root domain for which to retrieve categories profile data.

    • target_typestringObligatorioenum

      Type of the target.

      root_domaindomainurl
    • display_limitinteger

      Maximum results to return. If 0 (default), 10,000 lines are returned. Max: 1,000,000.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      The 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.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get competitor dataSEMRUSH_COMPETITORSAcción

    Retrieves 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

    • targetstringObligatorio

      The domain, subdomain, or URL to analyze for competitors.

    • target_typestringObligatorioenum

      Type of the target: 'root_domain', 'domain', or 'url'.

      root_domaindomainurl
    • display_sortstringenum

      Sort order for the competitors list.

      common_backlinks_num_asccommon_backlinks_num_desccommon_referring_domains_num_asccommon_referring_domains_num_desc
    • display_limitinteger

      Maximum number of competitors to return.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      Competitor data in CSV string format, with columns determined by the `export_columns` request parameter.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get competitors in organic searchSEMRUSH_COMPETITORS_IN_ORGANIC_SEARCHAcción

    Use 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

    • domainstringObligatorio

      Domain to investigate (e.g., 'example.com').

    • databasestringObligatorioenum

      Regional database for analysis (e.g., 'us', 'gb'). See Semrush docs for all databases.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Snapshot date for data retrieval in 'YYYYMM15' format (e.g., '20231015'); defaults to latest period if omitted.

    • display_sortstringenum

      Sort column and order. Defaults to common keywords, descending.

      np_ascnp_desccr_asccr_desc
    • display_limitinteger

      Maximum results to return. Use with `display_offset` for >100,000 results.

    • export_decodeintegerenum

      Set to 0 for URL-encoded response, 1 for no URL-encoding.

      01
    • export_escapeintegerenum

      Set to 1 to wrap output values in double quotes, 0 to disable.

      01
    • display_offsetinteger

      Number 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

    • datastringObligatorio

      Competitor data as a string, typically semicolon-separated values. Format affected by `export_decode` and `export_escape`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get competitors in paid searchSEMRUSH_COMPETITORS_IN_PAID_SEARCHAcción

    Retrieves a list of a domain's competitors in paid search results from a specified regional database.

    Parámetros de entrada

    • domainstringObligatorio

      Domain name to investigate (e.g., 'example.com').

    • databasestringObligatorioenum

      Regional database to query. For available databases, see Semrush API documentation.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date for data retrieval (YYYYMM15 for monthly). If unspecified, API uses latest daily ranking data.

    • display_sortstringenum

      Sort column and order. Default: 'np_desc' (Common Paid Keywords, descending). Options: 'np_asc', 'np_desc', 'cr_asc', 'cr_desc'.

      np_ascnp_desccr_asccr_desc
    • display_limitinteger

      Maximum number of results. The API typically returns up to 100,000 per request; use with `display_offset` to retrieve more.

    • export_decodeintegerenum

      Set to 1 for a decoded response; 0 for a URL-encoded string.

      01
    • export_escapeintegerenum

      Set to 1 to wrap columns in double quotes ("); 0 to disable.

      01
    • display_offsetinteger

      Number 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

    • datastringObligatorio

      The API response data, typically in a CSV-like string format.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get domain ad historySEMRUSH_DOMAIN_AD_HISTORYAcción

    Retrieves 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

    • domainstringObligatorio

      Website name (e.g., 'example.com') to investigate.

    • databasestringObligatorioenum

      Regional database to use (e.g., 'us'). Link: https://developer.semrush.com/api/v3/analytics/basic-docs/#databases

      usukcarudefresitbrauarbe+134
    • display_sortstringenum

      Sort order for results: `cv_asc` (Costs % ascending), `cv_desc` (Costs % descending).

      cv_asccv_desc
    • display_limitinteger

      Number 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_escapeintegerenum

      If 1, wraps report columns in double quotation marks ("); if 0, no escaping.

      01
    • display_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_offsetinteger

      Number 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

    • datastringObligatorio

      Raw text response from the API containing the domain advertising history, typically CSV-like, format determined by `export_columns` and `export_escape`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get domain organic pagesSEMRUSH_DOMAIN_ORGANIC_PAGESAcción

    Fetches 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

    • domainstringObligatorio

      Domain name to analyze (e.g., 'example.com').

    • databasestringObligatorioenum

      Regional database for analysis (e.g., 'us', 'gb', 'de'). See Semrush API docs for full list.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date for historical data report in YYYYMM15 format (e.g., '20231015'). If omitted, uses most recent data.

    • display_sortstringenum

      Column and order for sorting results (e.g., 'pc_desc' for traffic share descending).

      pc_ascpc_desctg_asctg_desctr_asctr_descsr_ascsr_descst_ascst_desc
    • display_limitinteger

      Maximum number of results to return. For more than 100,000, use with `display_offset`.

    • export_decodeintegerenum

      Set to 0 for URL-encoded response, 1 for decoded (non-converted) response.

      01
    • export_escapeintegerenum

      Set to 1 to wrap report columns in double quotation marks ("), 0 to disable.

      01
    • display_filterstring[]

      Columns from `DomainOrganicPagesFilterType` to filter results by. If empty, no column-specific filters are applied.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      Report data as a string (typically CSV), structured by `export_columns` and `export_decode` settings.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get domain organic search keywordsSEMRUSH_DOMAIN_ORGANIC_SEARCH_KEYWORDSAcción

    Retrieves 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

    • domainstringObligatorio

      The domain name (e.g., example.com) to investigate for organic search keywords.

    • databasestringObligatorioenum

      The regional database to query (e.g., 'us', 'uk', 'de').

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date for keyword data: 'YYYYMM15' for monthly historical, 'YYYYMMDD' for daily (e.g., '20231015', '20231120'). Shows latest daily ranking changes if unspecified.

    • display_sortstringenum

      Column 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+8
    • display_dailyinteger

      Set to 1 for daily updates on position changes (last 31 days), or 0 for monthly results. Requires `display_positions` if set to 1.

    • display_limitinteger

      Number 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_escapeintegerenum

      Set to 1 to wrap report columns in double quotation marks ("); 0 to disable.

      01
    • display_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_offsetinteger

      Number 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_positionsstringenum

      Filter keywords by position changes in Google's top 100: 'new', 'lost', 'rise', or 'fall'.

      newlostrisefall
    • display_positions_typestringenum

      Type of ranking positions: 'organic' (standard), 'all' (includes SERP features), or 'serp_features' (domain ranks in SERP features).

      organicallserp_features

    Parámetros de salida

    • datastringObligatorio

      The organic search keyword data for the specified domain, typically returned in a text-based format (e.g., CSV).

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get domain organic subdomainsSEMRUSH_DOMAIN_ORGANIC_SUBDOMAINSAcción

    Retrieves 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

    • domainstringObligatorio

      Domain name to analyze (e.g., 'example.com').

    • databasestringObligatorioenum

      Regional database to query (e.g., 'us', 'gb'). Refer to Semrush API documentation for a complete list.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date for report generation in YYYYMM15 format (e.g., '20231015'). If not provided, latest available data is used.

    • display_sortstringenum

      Column and order for sorting results (e.g., 'pc_desc' sorts by keyword count descending).

      pc_ascpc_desctg_asctg_desctr_asctr_descsr_ascsr_descst_ascst_desc
    • display_limitinteger

      Number of results to return. For fetching over 100,000 results, `display_offset` should be used and `display_limit` may need appropriate adjustment.

    • export_decodeintegerenum

      Specifies if response data is URL-decoded (`1` for decoded, `0` for URL-encoded string).

      01
    • export_escapeintegerenum

      Specifies if CSV columns are wrapped in double quotes (`1` to enable, `0` to disable).

      01
    • display_offsetinteger

      Number 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

    • datastringObligatorio

      The report data, typically in a CSV-like plain text format, detailing the organic subdomains, their keywords, and traffic metrics.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get domain paid search keywordsSEMRUSH_DOMAIN_PAID_SEARCH_KEYWORDSAcción

    Fetches keywords driving paid search traffic to a specified, existing domain using a supported semrush regional database.

    Parámetros de entrada

    • domainstringObligatorio

      Domain name to investigate.

    • databasestringObligatorioenum

      Regional database to query.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date for data retrieval (YYYYMM15 for monthly, YYYYMMDD for daily). Latest data if unspecified.

    • display_sortstringenum

      Column and order for sorting results.

      po_ascpo_desctg_asctg_desctr_asctr_desctc_asctc_descnq_ascnq_desc
    • display_limitinteger

      Maximum number of keywords to return. Use with `display_offset` for pagination.

    • export_decodeintegerenum

      Set to 0 for URL-encoded response; 1 for non-URL-encoded response.

      01
    • export_escapeintegerenum

      Set to 1 to wrap report columns in double quotation marks ("); 0 to disable.

      01
    • display_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_offsetinteger

      Number 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_positionsstringenum

      Filter keywords by ranking status ('new', 'lost', 'rise', 'fall') in Google's top 100 paid search results.

      newlostrisefall

    Parámetros de salida

    • datastringObligatorio

      Report data as a string, typically CSV. Structure depends on `export_columns` and `export_escape`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get PLA search keywords for a domainSEMRUSH_DOMAIN_PLA_SEARCH_KEYWORDSAcción

    Retrieves product listing ad (pla) search keywords for a specified domain from a semrush regional database.

    Parámetros de entrada

    • domainstringObligatorio

      Domain name (e.g., 'example.com') to investigate for PLA search keywords.

    • databasestringObligatorioenum

      Semrush regional database to query (e.g., 'us', 'gb', 'ca').

      usukcarudefresitbrauarbe+134
    • display_sortstringenum

      Column and order for sorting results (e.g., 'po_desc' for position descending).

      po_ascpo_descnq_ascnq_descpr_ascpr_desc
    • display_limitinteger

      Maximum 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_decodeintegerenum

      If 1, decodes URL-encoded response data; if 0, returns data as a raw URL-encoded string.

      01
    • export_escapeintegerenum

      If 1, wraps report column values in double quotes (e.g., "value"); 0 disables wrapping.

      01
    • display_filterstring[]

      Column names (e.g., 'Ph', 'Tt') for filtering results. Filtering logic is Semrush API-specific; refer to their documentation for details.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      PLA search keywords data from Semrush, typically a raw string in CSV-like format. Structure and content depend on `export_columns` and other request parameters.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Compare domainsSEMRUSH_DOMAIN_VS_DOMAINAcción

    Analyzes 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

    • domainsstringObligatorio

      A 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).

    • databasestringObligatorioenum

      Regional database for the query. Refer to `DatabaseEnum` or SEMrush documentation for a complete list.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Report date in YYYYMM15 format (e.g., '20231015') for historical/current data. Latest data used if omitted.

    • display_sortstringenum

      Sorting criteria: 'columnName_direction' (e.g., 'p0_desc'). See `DomainVsDomainSortOrder` for options.

      p0_ascp0_descp1_ascp1_descp2_ascp2_descp3_ascp3_descp4_ascp4_descnq_ascnq_desc+6
    • display_limitinteger

      Maximum number of keywords to return. Use with `display_offset` for pagination of large datasets (up to 100,000 results per call is typical).

    • export_decodeintegerenum

      Controls if the response is URL-decoded. 1: decode response; 0: return URL-encoded string.

      01
    • export_escapeintegerenum

      Controls if special characters in output are escaped. 1: escape (columns wrapped in \"\"); 0: no escaping.

      01
    • display_filterstring[]

      List of column codes from `DomainVsDomainFilterType` to filter results. Behavior is API-specific.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      The 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`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get historical dataSEMRUSH_HISTORICAL_DATAAcción

    Retrieves 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

    • targetstringObligatorio

      The root domain URL (e.g., 'example.com') for which to retrieve historical backlink data.

    • target_typestringObligatorio

      The type of target. Must be 'root_domain' for this action.

    • display_limitinteger

      Maximum number of historical data records (lines) to return. If 0 (default), the API backend uses 10,000. Max: 1,000,000.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      String of historical data: each line is a monthly record (Unix timestamp, requested metrics), sorted newest to oldest. Columns depend on `export_columns`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get indexed pagesSEMRUSH_INDEXED_PAGESAcción

    Retrieves 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

    • targetstringObligatorio

      Target URL, domain, or root domain for which to retrieve indexed pages data.

    • target_typestringObligatorioenum

      Type of the target.

      root_domaindomainurl
    • display_sortstringenum

      Sorting criteria for the results.

      backlinks_num_ascbacklinks_num_descdomains_num_ascdomains_num_desclast_seen_asclast_seen_desc
    • display_limitinteger

      Maximum number of results to return.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      A string containing the report data, typically in a CSV-like format, listing indexed pages and their selected attributes.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get keyword difficultySEMRUSH_KEYWORD_DIFFICULTYAcción

    Determines 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

    • phrasestringObligatorio

      The keyword or keyword phrase to analyze for difficulty.

    • databasestringObligatorioenum

      The 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+134
    • export_escapeintegerenum

      Set to 1 to wrap output columns in double quotes ("), or 0 to disable.

      01
    • export_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

    • datastringObligatorio

      The raw keyword difficulty report data, typically in CSV format, as returned by the Semrush API.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Keyword overview all databasesSEMRUSH_KEYWORD_OVERVIEW_ALL_DATABASESAcción

    Fetches a keyword overview from semrush for a specified phrase, including metrics like search volume, cpc, and competition.

    Parámetros de entrada

    • phrasestringObligatorio

      Keyword or keyword phrase to investigate.

    • databasestringenum

      Regional database to query (e.g., 'us', 'gb'); if omitted, data is retrieved from all regional databases.

      usukcarudefresitbrauarbe+134
    • export_decodeinteger

      Set to 1 for a URL-decoded response, 0 for URL-encoded.

    • export_escapeintegerenum

      Set to 1 to wrap output columns in double quotes, 0 to disable.

      01
    • export_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

    • dataobjectObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get keyword overview for one databaseSEMRUSH_KEYWORD_OVERVIEW_ONE_DATABASEAcción

    Fetches a keyword summary for a specified phrase from a chosen regional database.

    Parámetros de entrada

    • phrasestringObligatorio

      The keyword or keyword phrase to investigate.

    • databasestringObligatorioenum

      A 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+134
    • display_datestring

      Optional. 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_decodeintegerenum

      If set to 0, the response will be a URL-encoded string. If set to 1 (default), the response will not be URL-encoded.

      01
    • export_escapeintegerenum

      If set to 1 (default), the report’s columns will be wrapped in double quotation marks ("). Set to 0 to disable.

      01
    • export_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

    • dataobjectObligatorio

      Data from the action execution

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get keywords ads historySEMRUSH_KEYWORDS_ADS_HISTORYAcción

    Fetches 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

    • phrasestringObligatorio

      Keyword or phrase for historical advertising data analysis.

    • databasestringObligatorioenum

      Regional database to query.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Specifies a past month for data retrieval, formatted as 'YYYYMM15'. If omitted, returns most recent period's data.

    • display_limitinteger

      Maximum number of results (lines) to return.

    • export_decodeintegerenum

      Set to 1 for a non-URL-encoded response, 0 for URL-encoded.

      01
    • export_escapeintegerenum

      Set to 1 to wrap output columns in double quotes, 0 to disable.

      01
    • display_offsetinteger

      Number 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

    • datastringObligatorio

      Raw report data string, typically CSV-like, with keyword ads history. Structure depends on API output and `export_escape`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get organic resultsSEMRUSH_ORGANIC_RESULTSAcción

    Retrieves 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

    • phrasestringObligatorio

      Keyword or phrase to get Google's top 100 organic search results for.

    • databasestringObligatorioenum

      Regional database to query (e.g., 'us' for United States).

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date in 'YYYYMM15' format (e.g., '20231215') for historical data of a past month; day must be '15'. Omit for most recent data.

    • display_limitinteger

      Maximum number of results. API defaults to 10,000 if set to 0 or omitted by client. Max is 100,000.

    • export_decodeintegerenum

      Set to 1 for a plain URL-decoded response string, 0 for URL-encoded.

      01
    • export_escapeintegerenum

      Set to 1 to wrap output columns in double quotation marks ("), 0 to not wrap.

      01
    • display_offsetinteger

      Number 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_typestringenum

      Type 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

    • datastringObligatorio

      Raw API response string, typically semicolon-separated values with CR+LF line endings. Structure depends on `export_escape` and `export_columns`.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get paid search resultsSEMRUSH_PAID_RESULTSAcción

    Fetches domains ranking in google's paid search results (adwords) for a specified keyword and regional database.

    Parámetros de entrada

    • phrasestringObligatorio

      Keyword or phrase to analyze for paid search results.

    • databasestringObligatorioenum

      Semrush regional database code (e.g., 'us' for United States, 'gb' for United Kingdom).

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date in YYYYMM15 format (e.g., '20231215') for historical data of a specific month; if omitted, returns most recent data.

    • display_limitinteger

      Maximum number of results to return.

    • export_decodeintegerenum

      Set to 0 for URL-encoded response data, or 1 to preserve special characters (non-URL-encoded).

      01
    • export_escapeintegerenum

      Set to 1 to wrap report columns in double quotes, or 0 to disable.

      01
    • display_offsetinteger

      Number 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

    • datastringObligatorio

      API response data, usually a CSV-formatted string listing domains in paid search results.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Phrase questionsSEMRUSH_PHRASE_QUESTIONSAcción

    Fetches 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

    • phrasestringObligatorio

      Keyword or phrase to investigate for related questions.

    • databasestringObligatorioenum

      Semrush regional database (e.g., 'us', 'gb'). See Semrush documentation for the full list.

      usukcarudefresitbrauarbe+134
    • display_sortstringenum

      Column and order for sorting results (e.g., 'nq_desc' for descending by Nq).

      nq_ascnq_desccp_asccp_descco_ascco_descnr_ascnr_desckd_asckd_desc
    • display_limitinteger

      Maximum number of results to return.

    • export_decodeintegerenum

      Set to 0 for URL-encoded response data; 1 for unconverted data.

      01
    • export_escapeintegerenum

      Set to 1 to wrap report columns in double quotation marks ("); 0 to disable.

      01
    • display_filterstring[]

      Column identifiers (from `PhraseQuestionsFilterType`) for filtering; refer to Semrush API documentation for behavior.

    • display_offsetinteger

      Number of results to skip for pagination.

    • export_columnsstring[]

      Columns from `PhraseQuestionsExportColumns` to include in the report.

    Parámetros de salida

    • datastringObligatorio

      Report data as CSV-like plain text, containing the requested phrase questions.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get PLA competitorsSEMRUSH_PLA_COMPETITORSAcción

    Retrieves domains competing with a specified domain in google's product listing ads (pla) from a given semrush regional database.

    Parámetros de entrada

    • domainstringObligatorio

      The domain name of the website to investigate (e.g., 'example.com').

    • databasestringObligatorioenum

      The Semrush regional database to query (e.g., 'us', 'uk', 'ca').

      usukcarudefresitbrauarbe+134
    • display_sortstringenum

      Specifies 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_desc
    • display_limitinteger

      The maximum number of results to return in the response. Use with `display_offset` for comprehensive data retrieval.

    • export_decodeintegerenum

      Determines if the response string is URL-encoded. Set to 0 for URL-encoded output, 1 for a non-converted (raw) string.

      01
    • export_escapeintegerenum

      Controls whether report columns are wrapped in double quotation marks. Set to 1 to enable wrapping, 0 to disable.

      01
    • display_offsetinteger

      The 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

    • datastringObligatorio

      The competitor data, typically in a CSV-like string format, based on the export parameters.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get PLA copiesSEMRUSH_PLA_COPIESAcción

    Fetches product listing ad (pla) copies that semrush observed for a domain in google's paid search results.

    Parámetros de entrada

    • domainstringObligatorio

      Domain to investigate for PLA copies.

    • databasestringObligatorioenum

      Regional database to query (e.g., 'us', 'gb', 'de').

      usukcarudefresitbrauarbe+134
    • display_sortstringenum

      Sort order for results. 'pr' is Price, 'pc' is Position Change.

      pr_ascpr_descpc_ascpc_desc
    • display_limitinteger

      Number 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_decodeintegerenum

      If 0, response is URL-encoded; 1 for decoded response.

      01
    • export_escapeintegerenum

      If 1, wraps report columns in double quotes ("); 0 disables.

      01
    • display_filterstring[]

      Columns to filter on ('Tt': Title, 'Pr': Price). Filter conditions depend on API implementation.

    • display_offsetinteger

      Results 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

    • datastringObligatorio

      PLA copies data, usually a CSV-formatted string. Columns depend on the `export_columns` request parameter.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get referring domainsSEMRUSH_REFERRING_DOMAINSAcción

    Retrieves 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

    • targetstringObligatorio

      The target URL, domain, or root domain to analyze for referring domains.

    • target_typestringObligatorioenum

      Type of the `target`.

      root_domaindomainurl
    • display_sortstringenum

      Column and order for sorting results.

      domain_ascore_ascdomain_ascore_descbacklinks_num_ascbacklinks_num_desclast_seen_asclast_seen_descfirst_seen_ascfirst_seen_desc
    • display_limitinteger

      Maximum 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_offsetinteger

      Number 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

    • datastringObligatorio

      The referring domains report data, typically as a text-based format (e.g., CSV string).

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get referring domains by countrySEMRUSH_REFERRING_DOMAINS_BY_COUNTRYAcción

    Generates 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

    • targetstringObligatorio

      Domain, subdomain, or URL to analyze for its referring domains by country.

    • target_typestringObligatorioenum

      Specifies the type of the provided target.

      root_domaindomainurl
    • display_sortstringenum

      Sorting order for the results.

      domains_num_ascdomains_num_descbacklinks_num_ascbacklinks_num_desc
    • display_limitinteger

      Maximum number of results to return.

    • display_offsetinteger

      Number of initial results to skip.

    • export_columnsstring[]

      Columns to include in the report.

    Parámetros de salida

    • datastringObligatorio

      CSV-formatted report data; each row represents a country and its referring domain statistics.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Referring i psSEMRUSH_REFERRING_I_PSAcción

    Fetches ip addresses that are sources of backlinks for a specified target domain, root domain, or url.

    Parámetros de entrada

    • targetstringObligatorio

      The target URL, domain, or root domain for which to retrieve referring IPs data.

    • target_typestringObligatorioenum

      The type of target to analyze. Choose 'root_domain' for the main domain, 'domain' for a specific subdomain, or 'url' for a particular URL.

      root_domaindomainurl
    • display_sortstringenum

      The 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_desc
    • display_limitinteger

      The 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_offsetinteger

      The 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

    • datastringObligatorio

      A string containing the referring IPs report data, typically in CSV format.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Find related keywordsSEMRUSH_RELATED_KEYWORDSAcción

    Call 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

    • phrasestringObligatorio

      Keyword or phrase to find related terms for.

    • databasestringObligatorioenum

      Regional database code (e.g., 'us', 'gb') for targeting data. See Semrush docs for full list.

      usukcarudefresitbrauarbe+134
    • display_datestring

      Date ('YYYYMM15') for historical data from a specific past month. Omit for most recent.

    • display_sortstringenum

      Sort 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+2
    • display_limitinteger

      Maximum number of related keywords to return.

    • export_decodeintegerenum

      If 0, returns URL-encoded string; if 1, returns plain text (typically CSV).

      01
    • export_escapeintegerenum

      If 1, wraps CSV columns in double quotes; 0 disables.

      01
    • display_filterstring[]

      Filters results by column types (e.g., Ph, Nq, Wc). See `RelatedKeywordsFilterType`. For complex filters, direct API use may be needed.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      API response data. Typically CSV, but URL-encoded if `export_decode` in request was 0.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not

    Get TLD distributionSEMRUSH_TLD_DISTRIBUTIONAcción

    Fetches 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

    • targetstringObligatorio

      The 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_typestringObligatorioenum

      Type of the target being analyzed.

      root_domaindomainurl
    • display_sortstringenum

      Sorting criteria for the TLD distribution results.

      domains_num_ascdomains_num_descbacklinks_num_ascbacklinks_num_desc
    • display_limitinteger

      Maximum number of results to return. If 0 is provided, the default limit of 10,000 will be applied.

    • display_offsetinteger

      Number 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

    • datastringObligatorio

      The 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.

    • errorstring

      Error if any occurred during the execution of the action

    • successfulbooleanObligatorio

      Whether or not the action execution was successful or not