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

# Backlinks Summary

> Get the backlink profile totals of a domain or page.

# Backlinks Summary

Get the shape of a site's link profile in one row: authority rank, total backlinks, referring domains and root domains, referring IPs and subnets, nofollow share, broken links, spam score and the date links were first seen. Breakdowns show which top-level domains and countries the links come from, which link types and rel attributes dominate, and where on the page links sit. It is the quick read you want before a deeper backlink audit, for a prospect's site, a competitor or your own domain.

```json theme={"dark"}
{
  "target": "notion.so"
}
```

Provide a domain, subdomain or page URL in target. Subdomains are included when target is a domain. Each request costs 10 credits and returns one row.

## Standard Result Fields

Task results use the stable SocQ fields below. Source-specific field names and formats are normalized without inferring or enriching values that the source did not provide. To request a smaller field set, use `fields` for MCP queries, `_result_fields` for typed tools, or `--result-fields` in the CLI. Declared fields remain present when their value is `null`.

| Field | Type | Nullable | Description |
| - | - | - | - |
| `id` | `string` | Yes | The analyzed target, used as the identifier. |
| `platform` | `string` | No | Platform the result belongs to, such as `instagram` or `linkedin`. |
| `resource` | `string` | No | SocQ resource represented by the result, such as `videos` or `comments`. |
| `type` | `string` | No | Category of the result item, such as `video`, `post`, or `comment`. |
| `url` | `string` | Yes | Homepage URL of the target, or the page URL when a page was analyzed. |
| `published_at` | `string` | Yes | Time the source item was published, in ISO 8601 format when available. |
| `collected_at` | `string` | No | Time SocQ collected or processed this result, in ISO 8601 format. |
| `target` | `string` | Yes | Domain, subdomain or page that was analyzed. |
| `rank` | `integer` | Yes | Authority score from 0 to 1000 based on the link profile; higher is stronger. |
| `backlinks_count` | `integer` | Yes | Number of live backlinks pointing to the target. |
| `referring_domains_count` | `integer` | Yes | Number of domains linking to the target. |
| `referring_main_domains_count` | `integer` | Yes | Number of root domains linking to the target, counting subdomains once. |
| `referring_pages_count` | `integer` | Yes | Number of pages linking to the target. |
| `referring_ips_count` | `integer` | Yes | Number of IP addresses hosting the linking domains. |
| `referring_subnets_count` | `integer` | Yes | Number of subnets hosting the linking domains. |
| `nofollow_referring_domains_count` | `integer` | Yes | Number of linking domains whose links are all nofollow. |
| `nofollow_referring_pages_count` | `integer` | Yes | Number of linking pages whose links are nofollow. |
| `broken_backlinks_count` | `integer` | Yes | Number of backlinks pointing to pages on the target that no longer load. |
| `broken_pages_count` | `integer` | Yes | Number of pages on the target that receive links but no longer load. |
| `crawled_pages_count` | `integer` | Yes | Number of pages crawled on the target. |
| `spam_score` | `integer` | Yes | Spam score from 0 to 100; higher means more signs of spam. |
| `first_seen_at` | `string` | Yes | Time the first backlink to the target was found, in ISO 8601 format. |
| `referring_tlds` | `array<object>` | Yes | Top-level domains of the linking sites, largest first. |
| `referring_tlds.name` | `string` | Yes | Top-level domain, such as `com`. |
| `referring_tlds.count` | `integer` | Yes | Number of backlinks in this group. |
| `referring_countries` | `array<object>` | Yes | Countries of the linking sites, largest first. |
| `referring_countries.name` | `string` | Yes | Two-letter country code; empty when unknown. |
| `referring_countries.count` | `integer` | Yes | Number of backlinks in this group. |
| `link_types` | `array<object>` | Yes | Kinds of links pointing to the target, largest first. |
| `link_types.name` | `string` | Yes | Link kind, such as `anchor`, `image` or `redirect`. |
| `link_types.count` | `integer` | Yes | Number of backlinks in this group. |
| `link_attributes` | `array<object>` | Yes | rel attributes found on the links, largest first. |
| `link_attributes.name` | `string` | Yes | rel attribute, such as `nofollow` or `sponsored`. |
| `link_attributes.count` | `integer` | Yes | Number of backlinks in this group. |
| `platform_types` | `array<object>` | Yes | Kinds of sites the links come from, largest first. |
| `platform_types.name` | `string` | Yes | Site kind, such as `blogs`, `news` or `ecommerce`. |
| `platform_types.count` | `integer` | Yes | Number of backlinks in this group. |
| `semantic_locations` | `array<object>` | Yes | Parts of the linking pages where the links sit, largest first. |
| `semantic_locations.name` | `string` | Yes | Page section, such as `article`, `nav` or `footer`; empty when unknown. |
| `semantic_locations.count` | `integer` | Yes | Number of backlinks in this group. |

The following example shows the response format for a completed task. Actual data depends on your query.

## Completed Task Response

```json theme={"dark"}
{
  "code": 200,
  "data": {
    "task_id": "example-seo-backlinks-summary",
    "status": "succeeded",
    "public_id": "seo/backlinks-summary",
    "result_count": 1,
    "credits_amount": 10,
    "results": {
      "limit": 50,
      "next_cursor": null,
      "has_more": false,
      "schema_id": "backlink-summary",
      "schema_version": "1.0",
      "items": [
        {
          "id": "notion.so",
          "platform": "seo",
          "resource": "backlinks-summary",
          "type": "backlink-summary",
          "url": "https://notion.so",
          "published_at": null,
          "collected_at": "2026-11-17T14:43:17.043730Z",
          "target": "notion.so",
          "rank": 634,
          "backlinks_count": 10052197,
          "referring_domains_count": 128955,
          "referring_main_domains_count": 110833,
          "referring_pages_count": 8441052,
          "referring_ips_count": 56804,
          "referring_subnets_count": 26776,
          "nofollow_referring_domains_count": 20463,
          "nofollow_referring_pages_count": 988513,
          "broken_backlinks_count": 1523327,
          "broken_pages_count": 59408,
          "crawled_pages_count": 292556,
          "spam_score": 6,
          "first_seen_at": "2019-01-15T23:01:18Z",
          "referring_tlds": [
            {
              "name": "com",
              "count": 4264250
            },
            {
              "name": "ai",
              "count": 757560
            },
            {
              "name": "me",
              "count": 580658
            },
            {
              "name": "io",
              "count": 418450
            },
            {
              "name": "fm",
              "count": 332609
            }
          ],
          "referring_countries": [
            {
              "name": null,
              "count": 1636733
            },
            {
              "name": "US",
              "count": 963284
            },
            {
              "name": "KR",
              "count": 768685
            },
            {
              "name": "AI",
              "count": 758317
            },
            {
              "name": "JP",
              "count": 757299
            }
          ],
          "link_types": [
            {
              "name": "anchor",
              "count": 8271627
            },
            {
              "name": "image",
              "count": 154183
            },
            {
              "name": "redirect",
              "count": 14476
            },
            {
              "name": "canonical",
              "count": 758
            },
            {
              "name": "alternate",
              "count": 8
            }
          ],
          "link_attributes": [
            {
              "name": "noopener",
              "count": 2870776
            },
            {
              "name": "noreferrer",
              "count": 2844737
            },
            {
              "name": "nofollow",
              "count": 988041
            },
            {
              "name": "external",
              "count": 78186
            },
            {
              "name": "ugc",
              "count": 48080
            }
          ],
          "platform_types": [
            {
              "name": "unknown",
              "count": 4345396
            },
            {
              "name": "organization",
              "count": 2886490
            },
            {
              "name": "ecommerce",
              "count": 874414
            },
            {
              "name": "blogs",
              "count": 568199
            },
            {
              "name": "cms",
              "count": 550189
            }
          ],
          "semantic_locations": [
            {
              "name": "footer",
              "count": 2917529
            },
            {
              "name": null,
              "count": 2484346
            },
            {
              "name": "section",
              "count": 1343288
            },
            {
              "name": "nav",
              "count": 904026
            },
            {
              "name": "article",
              "count": 375205
            }
          ]
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml api-manual/agent-api/agent-api.json POST /v1/seo/backlinks-summary
openapi: 3.1.0
info:
  title: SocQ Agent API
  version: v1-87892a6484c2
  description: Asynchronous social data API generated from the SocQ Capability Registry.
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/seo/backlinks-summary:
    post:
      tags:
        - seo
      summary: Backlinks Summary API
      description: Collect the backlink totals of a domain or page.
      operationId: socq_seo_backlinks_summary
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                callback_url:
                  type: string
                  format: uri
                target:
                  type: string
                  minLength: 1
                  description: >-
                    Domain, subdomain or page URL, such as example.com or
                    https://example.com/blog/.
              required:
                - target
              description: >-
                Provide a domain, subdomain or page URL in target. Subdomains
                are included when target is a domain. The result is one row with
                the link profile totals.
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
        '422':
          description: Input validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentValidationErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
        data:
          type: object
          properties:
            task_id:
              type: string
            status:
              type: string
            created_time:
              type:
                - string
                - 'null'
          required:
            - task_id
            - status
    AgentValidationErrorResponse:
      type: object
      properties:
        code:
          type: integer
          const: 422
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            details:
              type: object
          required:
            - message
            - type
      required:
        - code
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````

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