> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Referring Domains

> Get the domains linking to a domain or URL — with authority score, trust score, backlinks count, IP, country, and first/last seen

Get the domains linking to a domain or URL — with authority score, trust score, backlinks count, IP, country, and first/last seen.

| | |
| - | - |
| **App** | SEMrush |
| **Operation ID** | `semrush_get_referring_domains` |
| **Type** | Action |
| **Connection** | `semrush` (required) |
| **Credits per run** | Free |
| **Agent / MCP tool** | Yes |

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `target` | string | Yes | - | The domain, subdomain, or URL to list referring domains for (e.g. example.com). |
| `target_type` | string or SelectItem | No | `root_domain` | How to interpret the target: 'root\_domain' (whole domain), 'domain' (subdomain), or 'url' (exact URL). |
| `export_columns` | array of string or SelectableOption | No | - | List of columns to return. Available: domain\_ascore (authority score), domain, backlinks\_num (backlinks count), domain\_trust\_score (trust score), ip, country, first\_seen, last\_seen. |
| `orders` | array of OrderItem | No | - | Sort results by a single column. Only domain\_ascore, backlinks\_num, first\_seen, and last\_seen are sortable. |
| `limit` | integer | No | - | Maximum number of rows to return. |

### OrderItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `field` | string or SelectableOption | Yes | - | The field to sort by. must be one of the current selected metrics or dimensions. |
| `direction` | string | Yes | - | The order to sort by, must be one of 'ASC', 'DESC' |

### SelectItem

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | The value of the selectable item. |
| `label` | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |

### SelectableOption

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `value` | string | Yes | - | |
| `label` | string | Yes | - | |

## Output

**Type**: `List[Dict]`

Returns one row per referring domain with: domainAuthorityScore, domain, backlinks, domainTrustScore, ip, country, firstSeen, lastSeen.

**Fields**: `domainAuthorityScore`, `domain`, `backlinks`, `domainTrustScore`, `ip`, `country`, `firstSeen`, `lastSeen`

**Example**:

```json theme={"dark"}
[
  {
    "domainAuthorityScore": 86,
    "domain": "techcrunch.com",
    "backlinks": 145,
    "domainTrustScore": 82,
    "country": "us"
  }
]
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.