---
title: "Estimate Enrichment Endpoint"
method: POST
path: "/v1/enrichments/estimate"
tags: ["internal"]
---

# Estimate Enrichment Endpoint

`POST /v1/enrichments/estimate`

## Request

- Base URL: `https://api.companydata.dk` (the document declares no server; this is the origin it was published from)
- URL: `https://api.companydata.dk/v1/enrichments/estimate`
- Auth: HTTP bearer

Count how many of the submitted CVRs exist in our database.

Cheap + available to any logged-in user — the UI calls this while the
user edits the paste box so "7,832 of 10,000 matched" can render live.
Size cap applies so we don't let a basic user point a 100k list here.

## Request body

- EnrichmentEstimateRequest: Request body for /v1/enrichments/estimate — count + preview before submit.
  - `cvrs` string[], required
  - `include_preview` boolean: Include a sample of matched companies.
  - `preview_limit` integer

## Response `200`

Successful Response

- EnrichmentEstimateResponse: Response for /v1/enrichments/estimate.
  - `requested` integer, required: Unique CVRs after dedup
  - `matched` integer, required: How many of those CVRs exist in the database
  - `not_found_sample` string[]: Up to 25 CVRs that had no match — lets the UI explain the gap.
  - `preview` object[], nullable: Sample of matched companies, only when include_preview=true.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/companydata/apis/companydata-dk-api.md) · [All operations](https://skmtc.dev/companydata/apis/companydata-dk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/companydata/apis/companydata-dk-api/revisions/1cc6c361ae64?raw)
