Fetches backlinks for a specified domain or URL as a semicolon-delimited CSV string (parse with `sep=';'`); allows customization of columns, sorting, and filtering. Consumes Semrush API credits per request. Ensure `display_limit` surpasses `display_offset` when an offset is used…
targetRequiredstringThe target for which to retrieve backlink data. This can be a root domain, a subdomain, or a specific URL.
target_typeRequiredstringThe 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).
display_sortstringColumn and order for sorting backlink results.
display_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)`. For large domains, use conservative values and apply `display_filter` to avoid oversized responses.
display_filterarrayFilters 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_columnsarrayColumns 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.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
API key connection. Risk level 2 of 5.
Free Action