---
title: "Fail-closed public enrichment payload"
method: GET
path: "/api/v1/company/{slug}/enrichment"
tags: ["Companies"]
---

# Fail-closed public enrichment payload

`GET /api/v1/company/{slug}/enrichment`

## Request

- Base URL: `https://openmercantil.es`
- URL: `https://openmercantil.es/api/v1/company/{slug}/enrichment`
- Auth: none declared
- TypeScript: <https://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/company/:slug/enrichment/get.ts> (a function with typed inputs; its response is checked against the schema)

Return only datasets authorized by the versioned public-source catalog. Unknown, review and restricted datasets are removed with their data before caching. The response includes license, attribution and policy-date metadata for every source that remains.

## Path parameters

- `slug` string, required

## Headers

- `If-None-Match` string

## Response `200`

Enrichment payload

- CompanyEnrichmentResponse: Policy-filtered enrichment envelope. Only public catalog sources survive egress filtering.
  - `slug` string
  - `sources` object
  - `_source_catalog` SourceCatalogEnvelope
    - `catalog_version` string, required
    - `policy_fingerprint` string, required
    - `policy_effective_date` string, date
    - `sources` object, required
  - `_data_sources_used` PublicSourcePolicyMetadata[]
    - `slug` string, required
    - `name` string, required
    - `license` string, required
    - `license_url` string, uri, nullable
    - `attribution_required` boolean, required
    - `attribution_text` string, nullable
    - `official_url` string, uri, nullable
    - `reuse_conditions` string, required: Condiciones de reutilizacion que el consumidor debe conservar al presentar o transformar el dato.
    - `policy_effective_date` string, date, required
    - `reviewed_at` string, date, required
    - `data_updated_at` string, date-time, nullable
    - `catalog_version` string, required

## Other responses

- `304`: The admitted enrichment projection and source policy have not changed.
- `404`: Resource not found
- `429`: Rate limit exceeded
- `503`: The public read failed closed because its legal source catalog, subject classification, bounded projection, database helper or required artifact is unavailable. Clients must not infer an empty result.

## Changes

- **2026-07-26** `996f96a11758`: 43 info
  - api operation id `getCompanyBySlugEnrichment` was added
  - added the new optional `header` request parameter `If-None-Match`
  - added the non-success response with the status `304`
  - added the non-success response with the status `429`
  - …39 more

[Operation history](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/company/:slug/enrichment/get.md)

---

[API](https://skmtc.dev/openmercantil/apis/openmercantil-public-api.md) - [All operations](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/revisions/601ff6123c86?raw)
