---
title: "Store the site's internal-linking health reading."
method: POST
path: "/link-density"
---

# Store the site's internal-linking health reading.

`POST /link-density`

## Request

- Base URL: `https://app.seomatic.ai/api/v1`
- URL: `https://app.seomatic.ai/api/v1/link-density`
- Auth: HTTP bearer

A coarse internal-linking-health snapshot: how many posts were sampled and how many internal links they contain. One row per workspace, latest wins. Counts only, never content or URLs.

## Request body

- object
  - `site` string
  - `scanned` integer: Posts sampled (must be >= 1 to store).
  - `internal_links` integer: Internal links found across the sample.

## Response `200`

Stored (or ignored when nothing was scanned)

- object
  - `stored` boolean

## Other responses

- `400`: Invalid JSON body

---

[API](https://skmtc.dev/seomatic/apis/seomatic-api.md) · [All operations](https://skmtc.dev/seomatic/apis/seomatic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/seomatic/apis/seomatic-api/revisions/113a2a263604?raw)
