# Domains and backlinks

> Size up any domain, yours or a competitor's. Traffic, ranked keywords, top pages, SERP competitors, and the link profile.

Source: https://docs.indexzero.site/tools/domains-and-backlinks



All six tools **cost credits**. All take an optional `domain`; when omitted they analyse the project's own domain, so the same call compares a competitor by adding one argument. Backlink tools are market-independent and take no location or language.

## `get_domain_overview` [#get_domain_overview]

A domain's organic footprint: estimated traffic, ranking keyword count, traffic value, and how its rankings spread across position buckets. The fastest way to size up a competitor.

| Argument       | Type    | Required | Default        |
| -------------- | ------- | -------- | -------------- |
| `projectId`    | string  | yes      |                |
| `domain`       | string  | no       | project domain |
| `locationCode` | integer | no       | project market |
| `languageCode` | string  | no       | project market |

**Returns:** organic keyword count, estimated monthly organic traffic, estimated traffic value in USD per month, and a distribution of rankings by position bucket.

## `get_ranked_keywords` [#get_ranked_keywords]

Every keyword a domain already ranks for, with its position, search volume, and the ranking URL. Use it to find a competitor's winners or your own near-misses.

| Argument       | Type               | Required | Default        |
| -------------- | ------------------ | -------- | -------------- |
| `projectId`    | string             | yes      |                |
| `domain`       | string             | no       | project domain |
| `locationCode` | integer            | no       | project market |
| `languageCode` | string             | no       | project market |
| `limit`        | integer, 1 to 1000 | no       | 100            |

## `get_domain_top_pages` [#get_domain_top_pages]

The pages driving a domain's organic traffic, ranked by estimated traffic. Shows what content actually works for a competitor.

Arguments are the same as `get_ranked_keywords`.

## `find_serp_competitors` [#find_serp_competitors]

Domains that rank alongside you across a set of keywords, with how many keywords they intersect on and their average position. Identifies real search competitors rather than assumed business ones. The comparison anchor is the project, so there is no `domain` argument.

| Argument       | Type                      | Required | Default        | Meaning                                                                        |
| -------------- | ------------------------- | -------- | -------------- | ------------------------------------------------------------------------------ |
| `projectId`    | string                    | yes      |                |                                                                                |
| `keywords`     | string\[], 1 to 200 items | yes      |                | Keywords to find shared competitors for. More keywords give a sharper picture. |
| `locationCode` | integer                   | no       | project market |                                                                                |
| `languageCode` | string                    | no       | project market |                                                                                |
| `limit`        | integer, 1 to 200         | no       | 50             |                                                                                |

**Returns:** domain, intersections, average position, keyword count, and estimated traffic per competitor.

## `get_backlinks_overview` [#get_backlinks_overview]

Summary of a domain's backlink profile: total backlinks, referring domains, rank, broken links, and recent new and lost movement. Includes an Ahrefs domain rating when available, at no extra cost.

| Argument    | Type   | Required | Default        |
| ----------- | ------ | -------- | -------------- |
| `projectId` | string | yes      |                |
| `domain`    | string | no       | project domain |

## `get_backlinks_profile` [#get_backlinks_profile]

The rows behind the summary: individual links, referring domains, or the most-linked pages. Use `get_backlinks_overview` first for totals, then this to inspect.

| Argument    | Type                                             | Required | Default        | Meaning                                                                            |
| ----------- | ------------------------------------------------ | -------- | -------------- | ---------------------------------------------------------------------------------- |
| `projectId` | string                                           | yes      |                |                                                                                    |
| `domain`    | string                                           | no       | project domain |                                                                                    |
| `view`      | `backlinks`, `referring_domains`, or `top_pages` | no       | `backlinks`    | Which slice to return: individual links, linking sites, or your most-linked pages. |
| `limit`     | integer, 1 to 1000                               | no       | 100            |                                                                                    |

Columns depend on the view; each row of the backlinks view carries a spam score.
