Get categories
Retrieves categories and their 0-1 confidence ratings for a specified domain, subdomain, or url, with results sorted by rating.
Get categories profile
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.
Get competitor data
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 val…
Get competitors in organic search
Use to get a domain's organic search competitors from semrush as a semicolon-separated string; `display date` requires 'yyyymm15' format if used.
Get competitors in paid search
Retrieves a list of a domain's competitors in paid search results from a specified regional database.
Get domain ad history
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 h…
Get domain organic pages
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.
Get domain organic search keywords
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.
Get domain organic subdomains
Retrieves a report on subdomains of a given domain that rank in google's top 100 organic search results for a specified regional database.
Get domain paid search keywords
Fetches keywords driving paid search traffic to a specified, existing domain using a supported semrush regional database.
Get PLA search keywords for a domain
Retrieves product listing ad (pla) search keywords for a specified domain from a semrush regional database.
Compare domains
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.
Get historical data
Retrieves monthly historical backlink and referring domain data for a specified root domain, returned as a time series string with newest records first.
Get indexed pages
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-analyza…
Get keyword difficulty
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.
Keyword overview all databases
Fetches a keyword overview from semrush for a specified phrase, including metrics like search volume, cpc, and competition.
Get keyword overview for one database
Fetches a keyword summary for a specified phrase from a chosen regional database.
Get keywords ads history
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, …
Get organic results
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 (d…
Get paid search results
Fetches domains ranking in google's paid search results (adwords) for a specified keyword and regional database.
Phrase questions
Fetches question-format keywords semantically related to a given query phrase for a specified regional database, aiding in understanding user search intent and discovering conten…
Get PLA competitors
Retrieves domains competing with a specified domain in google's product listing ads (pla) from a given semrush regional database.
Get PLA copies
Fetches product listing ad (pla) copies that semrush observed for a domain in google's paid search results.
Get referring domains
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).
Get referring domains by country
Generates a csv report detailing the geographic distribution of referring domains (by country, determined via ip address) for a specified, publicly accessible target.
Referring i ps
Fetches ip addresses that are sources of backlinks for a specified target domain, root domain, or url.
Find related keywords
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 '…
Get TLD distribution
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.