---
title: "Get a company report"
method: GET
path: "/api/v1/company/{slug}"
tags: ["Companies"]
---

# Get a company report

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

## Request

- Base URL: `https://openmercantil.es`
- URL: `https://openmercantil.es/api/v1/company/{slug}`
- Auth: one of:
  - none
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/openmercantil/apis/openmercantil-public-api/docs/api/v1/company/:slug/get.ts> (a function with typed inputs; its response is checked against the schema)

Return the structured company report only after company_public_v2 admits a corporate identity. A safe historical alias is resolved internally and reported through Content-Location; absent, personal or quarantined identities are neutral 404 responses and projection unavailability is 503.

## Path parameters

- `slug` string, required

## Headers

- `If-None-Match` string

## Response `200`

Company report

- CompanyReport: Sanitized company report. The stable envelope is explicit; versioned BORME report fields may be added.
  - `company` CompanyIdentity: Stable company identity fields. Historical report builders may append documented BORME fields.
    - `slug` string
    - `name` string
    - `cif` string, nullable
    - `province` string, nullable
    - `status` string, nullable
    - `status_detail` string, nullable
    - `status_date` string, nullable
    - `cnae` string, nullable
    - `cnae_source` string, nullable
    - `first_seen` string, nullable
    - `last_seen` string, nullable
    - `acts_count` integer
  - `events` BormeEvent[]
    - `id` string, nullable
    - `date` string, nullable
    - `publish_date` string, nullable
    - `type` string, nullable
    - `act_type` string, nullable
    - `title` string, nullable
    - `text` string, nullable
    - `province` string, nullable
    - `source` string, nullable
    - `source_url` string, uri, nullable
  - `officers` OfficerDocumentaryMention[]
    - `name` string
    - `person_slug` string, nullable
    - `role` string, nullable
    - `appointed_at` string, nullable
    - `ended_at` string, nullable
    - `source` string, nullable
    - `source_url` string, uri, nullable
  - `summary` object: Versioned aggregate fields emitted by the report artifact.
  - `_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
  - `_attributions` string[]

## Other responses

- `304`: The admitted, attested company report has 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`: 81 info
  - api operation id `getCompanyBySlug` was added
  - the endpoint scheme security `apiKey` was added to the API
  - the endpoint scheme security `bearerAuth` was added to the API
  - added the new optional `header` request parameter `If-None-Match`
  - …77 more

[Operation history](https://skmtc.dev/openmercantil/apis/openmercantil-public-api/changes/api/v1/company/:slug/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)
