v2
latestOpenAPI 3.1.0Source-specific upstream terms; see response catalog metadata2026-07-26139203447.9 KBSectors
Get sector aggregated ratios
Return Banco de Espana Central de Balances aggregate metrics by two-digit CNAE division and year from the immutable, hash-addressed sector_ratios_public_v1 bundle. Coverage is sector-aggregate only: it contains neither individual-company data nor a company score. The endpoint fails closed with 503, without a raw/request-path fallback, when activation, manifest, file hash or public-source catalog authority cannot be verified.
get/api/v1/sector/{cnae}/ratios
Path parameters
cnaestring required
Exact two-digit CNAE division present in the reviewed BdE aggregate.
Headers
If-None-Matchstring
Optional RFC 9110 entity-tag validator. Weak validators, comma-separated validator lists and * are accepted.
Response
Sector ratios