Backlink Audit
Commands and options for backlink audit.
backlink-audit-limits
Read Backlink Audit project allowance.
semrush backlink-audit-limits --helpMCP tool: backlink_audit_limits.
backlink-audit-campaigns
List SEO projects and their Backlink Audit campaign IDs.
semrush backlink-audit-campaigns --helpMCP tool: backlink_audit_campaigns.
backlink-audit-categories
Read native Backlink Audit category choices.
semrush backlink-audit-categories --helpMCP tool: backlink_audit_categories.
backlink-audit-countries
Read native Backlink Audit country choices.
semrush backlink-audit-countries --helpMCP tool: backlink_audit_countries.
backlink-audit-project
Read setup metadata and recommended settings for an SEO project.
semrush backlink-audit-project --helpMCP tool: backlink_audit_project.
| Option | Type | Default | Description |
|---|---|---|---|
--project-id | integer | Required. SEO project ID from project-enable-seo, not the folder ID. |
backlink-audit-scopes
Read valid and permitted Backlink Audit scopes before creating a campaign.
semrush backlink-audit-scopes --helpMCP tool: backlink_audit_scopes.
| Option | Type | Default | Description |
|---|---|---|---|
--project-id | integer | Required. SEO project ID from project-enable-seo, not the folder ID. |
backlink-audit-info
Read Backlink Audit metadata and its userDomainId for an SEO project.
semrush backlink-audit-info --helpMCP tool: backlink_audit_info.
| Option | Type | Default | Description |
|---|---|---|---|
--project-id | integer | Required. SEO project ID from project-enable-seo, not the folder ID. |
backlink-audit-status
Read analysis progress, import status and current campaign metadata.
semrush backlink-audit-status --helpMCP tool: backlink_audit_status.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--background | boolean | false |
backlink-audit-links-summary
Read link counts and toxicity totals.
semrush backlink-audit-links-summary --helpMCP tool: backlink_audit_links_summary.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-domains-summary
Read referring-domain counts and toxicity totals.
semrush backlink-audit-domains-summary --helpMCP tool: backlink_audit_domains_summary.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-anchor-types
Read anchor-type distribution.
semrush backlink-audit-anchor-types --helpMCP tool: backlink_audit_anchor_types.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-rel-summary
Read link-attribute distribution.
semrush backlink-audit-rel-summary --helpMCP tool: backlink_audit_rel_summary.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--by-domain | boolean | false |
backlink-audit-removed-summary
Read removal and disavow totals.
semrush backlink-audit-removed-summary --helpMCP tool: backlink_audit_removed_summary.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-historical-stats
Read historical domain statistics.
semrush backlink-audit-historical-stats --helpMCP tool: backlink_audit_historical_stats.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-authority-history
Read referring-domain authority history.
semrush backlink-audit-authority-history --helpMCP tool: backlink_audit_authority_history.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-domains-history
Read referring-domain count history.
semrush backlink-audit-domains-history --helpMCP tool: backlink_audit_domains_history.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-links-history
Read backlink count history.
semrush backlink-audit-links-history --helpMCP tool: backlink_audit_links_history.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-changes
Read new, broken or lost backlink trends.
semrush backlink-audit-changes --helpMCP tool: backlink_audit_changes.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--list | string | "new" | Values: "new", "broken", "lost". |
--show-diff | boolean | true | |
--with-domains | boolean | true |
backlink-audit-authority-distribution
Read referring-domain authority distribution.
semrush backlink-audit-authority-distribution --helpMCP tool: backlink_audit_authority_distribution.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-link-types
Read backlink-type distribution.
semrush backlink-audit-link-types --helpMCP tool: backlink_audit_link_types.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-anchors
Read anchor distribution.
semrush backlink-audit-anchors --helpMCP tool: backlink_audit_anchors.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--anchor-types | array | ["all"] | |
--limit | integer | 100 |
backlink-audit-top-domains
Read top referring domains.
semrush backlink-audit-top-domains --helpMCP tool: backlink_audit_top_domains.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--limit | integer | 100 | |
--only-toxic | boolean | false |
backlink-audit-recommendations
Read campaign recommendations without marking them read.
semrush backlink-audit-recommendations --helpMCP tool: backlink_audit_recommendations.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. |
backlink-audit-create
Create and immediately start a Backlink Audit. Defaults to no recurring updates or notification email.
semrush backlink-audit-create --helpMCP tool: backlink_audit_create.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--project-id | integer | Required. SEO project ID from project-enable-seo, not the folder ID. | |
--scope | string | "root" | Values: "root", "both", "www", "nonwww". |
--brands | array | ||
--categories | array | ||
--countries | array | ||
--recrawl | string | "never" | Values: "never", "1week", "2weeks", "1month". |
--recrawl-notify | boolean | false | Email notifications for recurring audit updates. |
--recrawl-majestic | boolean | false | Refresh connected Majestic data during recurring updates. |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-configure
Change only supplied Backlink Audit settings, preserving omitted settings and integrations.
semrush backlink-audit-configure --helpMCP tool: backlink_audit_configure.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--brands | array | ||
--categories | array | ||
--countries | array | ||
--recrawl | string | Values: "never", "1week", "2weeks", "1month". | |
--recrawl-notify | boolean | Email notifications for recurring audit updates. | |
--recrawl-majestic | boolean | Refresh connected Majestic data during recurring updates. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-disavow-export
Export the disavow TXT file and mark its entries exported in Semrush. Does not upload to Google.
semrush backlink-audit-disavow-export --helpMCP tool: backlink_audit_disavow_export.
Use --confirm to send the change or --dry-run to preview it.
Pass --output <path> to save the file. Existing files are not overwritten. MCP returns an artifact resource.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--format | string | "txt" | Values: "txt". |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-links
Read the paginated audit table with native backlink filters and domain grouping.
semrush backlink-audit-links --helpMCP tool: backlink_audit_links.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--authority-min | integer / null | null | |
--authority-max | integer / null | null | |
--anchor-types | array | [] | |
--category-id | integer / null | null | |
--is-new | boolean / null | null | |
--target-error | boolean / null | null | |
--link-type | string / null | null | |
--query | string | "" | |
--query-mode | string / null | null | |
--rel | string / null | null | |
--toxic-markers | array | [] | |
--toxic-type | string / null | null | |
--mode | string | "for-review" | Values: "all", "for-review", "whitelist", "to-remove", "disavow", "new", "broken", "lost". |
--by-domain | boolean | true | |
--source | string / null | null | |
--page | integer | 0 | |
--page-size | integer | 50 | |
--range-days | integer | ||
--completely | boolean | false |
backlink-audit-links-count
Count backlinks matching the audit table filters.
semrush backlink-audit-links-count --helpMCP tool: backlink_audit_links_count.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--authority-min | integer / null | null | |
--authority-max | integer / null | null | |
--anchor-types | array | [] | |
--category-id | integer / null | null | |
--is-new | boolean / null | null | |
--target-error | boolean / null | null | |
--link-type | string / null | null | |
--query | string | "" | |
--query-mode | string / null | null | |
--rel | string / null | null | |
--toxic-markers | array | [] | |
--toxic-type | string / null | null | |
--mode | string | "for-review" | Values: "all", "for-review", "whitelist", "to-remove", "disavow", "new", "broken", "lost". |
--by-domain | boolean | true | |
--source | string / null | null | |
--page | integer | 0 | |
--page-size | integer | 50 | |
--range-days | integer | ||
--completely | boolean | false |
backlink-audit-link-categories
Read categories present in the audited backlink profile.
semrush backlink-audit-link-categories --helpMCP tool: backlink_audit_link_categories.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. |
backlink-audit-disavow
Read paginated disavow domain and URL entries.
semrush backlink-audit-disavow --helpMCP tool: backlink_audit_disavow.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--query | string / null | null | |
--status | integer / null | null | |
--source | string / null | null | |
--type | string / null | null | |
--descending | boolean | true | |
--page | integer | 0 | |
--page-size | integer | 50 |
backlink-audit-disavow-count
Count disavow entries matching the selected filters.
semrush backlink-audit-disavow-count --helpMCP tool: backlink_audit_disavow_count.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--query | string / null | null | |
--status | integer / null | null | |
--source | string / null | null | |
--type | string / null | null |
backlink-audit-disavow-counters
Read disavow workflow counters with optional target-page selection.
semrush backlink-audit-disavow-counters --helpMCP tool: backlink_audit_disavow_counters.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null |
backlink-audit-disavow-import
Import an existing disavow TXT file into Semrush. Can remove prior imported entries absent from the file; imported entries are marked disavowed. Does not upload to Google.
semrush backlink-audit-disavow-import --helpMCP tool: backlink_audit_disavow_import.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--contents-file | file or stdin | Required. Native disavow TXT contents. Import queues parsing; use backlink-audit-status to inspect completion. | |
--filename | string | "semrush-disavow.txt" | Disavow upload filename, ending in .txt. |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. |
backlink-audit-move-domains
Move selected referring domains to a Semrush review, whitelist, remove or disavow list. Does not contact websites or upload to Google.
semrush backlink-audit-move-domains --helpMCP tool: backlink_audit_move_domains.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--ids | array | Required. Native row id values from the corresponding grouped or individual audit table, not urlHash values. | |
--list | string | Required. Values: "for-review", "whitelist", "to-remove", "disavow". | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-move-links
Move selected individual backlinks to a Semrush review, whitelist, remove or disavow list. Does not contact websites or upload to Google.
semrush backlink-audit-move-links --helpMCP tool: backlink_audit_move_links.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--ids | array | Required. Native row id values from the corresponding grouped or individual audit table, not urlHash values. | |
--list | string | Required. Values: "for-review", "whitelist", "to-remove", "disavow". | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-move-networks
Move selected link networks to a Semrush review, whitelist, remove or disavow list. Does not contact websites or upload to Google.
semrush backlink-audit-move-networks --helpMCP tool: backlink_audit_move_networks.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--ids | array | Required. Native linkNetworkId values. | |
--list | string | Required. Values: "for-review", "whitelist", "to-remove", "disavow". | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-disavow-move
Move a disavow item and its associated backlinks back to a Semrush review, whitelist or remove list. Does not update Google.
semrush backlink-audit-disavow-move --helpMCP tool: backlink_audit_disavow_move.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--list | string | Required. Values: "for-review", "whitelist", "to-remove". | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
--item-id | integer | Required. Native numeric id from backlink-audit-disavow, not a backlink row id. |
backlink-audit-disavow-delete
Delete a selected item from the Semrush disavow list. Does not update Google.
semrush backlink-audit-disavow-delete --helpMCP tool: backlink_audit_disavow_delete.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
--item-id | integer | Required. Native numeric id from backlink-audit-disavow, not a backlink row id. |
backlink-audit-disavow-clear
Clear explicitly selected manual, file-imported or Disavow Tool-imported items from the Semrush list. Manual links return to Audit and Lost & Found; does not update Google.
semrush backlink-audit-disavow-clear --helpMCP tool: backlink_audit_disavow_clear.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
--with-manual | boolean | false | Move manually added links back to Audit and Lost & Found. |
--with-file | boolean | false | Remove items imported from a disavow file. |
--with-gdt | boolean | false | Remove items imported from the Google Disavow Tool. |
backlink-audit-target-pages
Read the native Target Pages table, including active/new/broken/lost counts and connected GA metrics.
semrush backlink-audit-target-pages --helpMCP tool: backlink_audit_target_pages.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--query | string | "" | |
--query-mode | string / null | null | |
--by-domain | boolean | true | Count backlinks grouped by referring domain; false counts individual backlinks. |
--target-error | boolean / null | null | |
--labels | array | [] | |
--is-new | boolean | false | |
--sort-field | string | "active" | Values: "active", "new", "broken", "lost", "ga_users", "ga_users_perc", "ga_new_users", "ga_new_users_perc". |
--descending | boolean | true | |
--page | integer | 0 | |
--page-size | integer | 50 |
backlink-audit-target-pages-count
Count Target Pages matching the same native filters.
semrush backlink-audit-target-pages-count --helpMCP tool: backlink_audit_target_pages_count.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--query | string | "" | |
--query-mode | string / null | null | |
--by-domain | boolean | true | Count backlinks grouped by referring domain; false counts individual backlinks. |
--target-error | boolean / null | null | |
--labels | array | [] | |
--is-new | boolean | false |
backlink-audit-tags
Read campaign target-page labels.
semrush backlink-audit-tags --helpMCP tool: backlink_audit_tags.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. |
backlink-audit-tag-counts
Read target-page counts for each campaign label.
semrush backlink-audit-tag-counts --helpMCP tool: backlink_audit_tag_counts.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. |
backlink-audit-target-tag-add
Add a label to a target URL in this campaign.
semrush backlink-audit-target-tag-add --helpMCP tool: backlink_audit_target_tag_add.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--label | string | Required. | |
--target-url | string | Required. Native target URL from the Target Pages table. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-target-tag-remove
Remove a label from a selected target URL, preserving other label associations.
semrush backlink-audit-target-tag-remove --helpMCP tool: backlink_audit_target_tag_remove.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--label | string | Required. | |
--target-url | string | Required. Native target URL from the Target Pages table. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-tag-delete
Delete a label and all its associations in this campaign.
semrush backlink-audit-tag-delete --helpMCP tool: backlink_audit_tag_delete.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--label | string | Required. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-comments
Read referring-domain comments by native numeric comment IDs.
semrush backlink-audit-comments --helpMCP tool: backlink_audit_comments.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--ids | array | Required. |
backlink-audit-comment-save
Create or replace a referring-domain comment in this campaign.
semrush backlink-audit-comment-save --helpMCP tool: backlink_audit_comment_save.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--domain | string | Required. Native referring-domain source value, not its backlink row ID. | |
--comment | string | Required. Comment text; use comment-delete to clear a saved comment. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-comment-delete
Delete a selected referring-domain comment.
semrush backlink-audit-comment-delete --helpMCP tool: backlink_audit_comment_delete.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--comment-id | integer | Required. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-rerun
Rerun a ready audit when the native account allowance permits it; preserves recurring settings.
semrush backlink-audit-rerun --helpMCP tool: backlink_audit_rerun.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
backlink-audit-export
Export the filtered current backlink table as native CSV. Starts one job and waits for its file; uses your existing account access.
semrush backlink-audit-export --helpMCP tool: backlink_audit_export.
Pass --output <path> to save the file. Existing files are not overwritten. MCP returns an artifact resource.
| Option | Type | Default | Description |
|---|---|---|---|
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. | |
--target-url-hash | string / null | null | |
--target-url-path | string / null | null | |
--authority-min | integer / null | null | |
--authority-max | integer / null | null | |
--anchor-types | array | [] | |
--category-id | integer / null | null | |
--is-new | boolean / null | null | |
--target-error | boolean / null | null | |
--link-type | string / null | null | |
--query | string | "" | |
--query-mode | string / null | null | |
--rel | string / null | null | |
--toxic-markers | array | [] | |
--toxic-type | string / null | null | |
--mode | string | "for-review" | Values: "all", "for-review", "whitelist", "to-remove", "disavow", "new", "broken", "lost". |
--by-domain | boolean | true | |
--source | string / null | null | |
--range-days | integer | ||
--completely | boolean | false | |
--format | string | "csv" | Values: "csv". |
backlink-audit-import
Import a CSV of source URLs and start native backlink crawling. Requires a ready, unlocked audit; an import cannot be stopped after commit.
semrush backlink-audit-import --helpMCP tool: backlink_audit_import.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--contents-file | file or stdin | Required. Native CSV containing source URLs in its first column. Sent unchanged; files with no importable URLs are refused before commit. | |
--filename | string | "semrush-backlinks.csv" | CSV upload filename ending in .csv. |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request without sending it. |
--audit-id | integer | Required. Backlink Audit userDomainId returned by backlink-audit-info. |
backlink-audit-replace-scope
Replace a ready audit with a fresh scope and retain its settings. Permanently discards the old audit's analysis and starts new analysis.
semrush backlink-audit-replace-scope --helpMCP tool: backlink_audit_replace_scope.
Use --confirm to send the change or --dry-run to preview it.
| Option | Type | Default | Description |
|---|---|---|---|
--project-id | integer | Required. SEO project ID from project-enable-seo, not the folder ID. | |
--scope | string | Required. Values: "root", "both", "www", "nonwww". | |
--confirm | boolean | false | Confirm this account mutation. |
--dry-run | boolean | false | Print the request plan; current settings are loaded only during execution. |