---
title: "Get CNAE-sector aggregates through the suffix-less legacy alias"
method: GET
path: "/api/v1/sectores/stats"
tags: ["Datasets"]
deprecated: true
---

# Get CNAE-sector aggregates through the suffix-less legacy alias

`GET /api/v1/sectores/stats`

> **Deprecated.**

Deprecated alias of `GET /api/v1/sectores/stats.json`. It reads the same bounded offline projection and never executes a live GROUP BY.

## Headers

- `If-None-Match` string

## Response `200`

Sector stats

- SectorStatsResponse
  - `count` integer, required
  - `sections` SectorStatsRow[], required
    - `award_procedures_count` integer, required — Sum of PLACSP award-procedure counts for corporate suppliers in the public v3 projection. It is not a unique-contract count.
    - `award_procedures_count_status` 'public_projection_v3' | 'projection_unavailable', required
    - `contracts_count` integer, required — Compatibility alias of award_procedures_count; consume the canonical field and status instead.
    - `contracts_count_status` 'award_procedures_per_corporate_supplier_not_unique_contracts', required
    - `contracts_total_eur` unknown, required
    - `contracts_total_eur_status` 'withheld_no_typed_rollup', required
    - `section` string, required
    - `name` string, required
    - `total` integer, required
    - `active` integer, required
    - `extinct` integer, required
    - `concurso` integer, required
    - `total_capital_eur` integer, required
  - `source` string, required
  - `updated` string, date-time, nullable, required — Offline projection generation time; null when legacy cache provenance is unavailable.

## Other responses

- `304` — The canonical sector representation and shared stats generation have not changed
- `429` — Rate limit exceeded
- `503` — Offline projection missing or stale

---

[API](https://skmtc.net/openmercantil/apis/openmercantil-public-api.md) · [All operations](https://skmtc.net/openmercantil/apis/openmercantil-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmercantil/openmercantil-public-api/revisions/996f96a11758/schema)
