Normatia Comprobaciones API
Si un valor técnico cumple el límite de la normativa aplicable. Gastan un crédito.
Si un valor técnico cumple el límite de la normativa aplicable. Gastan un crédito.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/normatia-com:normatia-com-comprobaciones-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Normatia Comprobaciones API
version: 1.0.0
description: 'API de normativa de edificación española: el catálogo normativo, la normativa que aplica a cada territorio, el contexto de tus proyectos y consultas en lenguaje natural con sus fuentes. La documentación completa está en https://docs.normatia.com.'
contact:
name: Normatia
email: hola@normatia.com
url: https://docs.normatia.com
servers:
- url: https://api.normatia.com
description: Producción
security:
- claveApi: []
tags:
- name: Comprobaciones
description: Si un valor técnico cumple el límite de la normativa aplicable. Gastan un crédito.
paths:
/api/v1/verify:
post:
tags:
- Comprobaciones
summary: Verificar cumplimiento normativo
description: Comprueba si un parámetro técnico concreto de un elemento constructivo cumple con los límites normativos aplicables. El motor RAG recupera las secciones normativas relevantes y devuelve un resultado estructurado con el valor límite, las condiciones de aplicación y las fuentes trazables.
operationId: verify
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/VerifyRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/VerifyResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
'401':
description: Falta la clave, no es válida o está revocada.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'403':
description: La organización de la clave no tiene activada la API, o la clave no tiene el permiso de la ruta (insufficient_scope).
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Límite por minuto superado (con Retry-After) o cupo del mes agotado.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Error interno. Indica el X-Request-Id si escribes a soporte.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
ErrorResponse:
type: object
description: 'Error de las rutas /api/v1 y /api/v2: el código va en `detail.error`.'
required:
- detail
properties:
detail:
type: object
required:
- error
properties:
error:
type: string
example: api_not_enabled
message:
type: string
request_id:
type: string
additionalProperties: true
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
VerifyRequest:
properties:
element:
type: string
maxLength: 500
minLength: 1
title: Element
description: Elemento constructivo o instalación a verificar (p.ej. 'fachada de ladrillo cara vista')
parameter:
type: string
maxLength: 200
minLength: 1
title: Parameter
description: Parámetro o requisito que se comprueba (p.ej. 'transmitancia térmica')
value:
type: number
minimum: 0.0
title: Value
description: Valor del proyecto a verificar
unit:
type: string
maxLength: 50
minLength: 1
title: Unit
description: Unidad del valor (p.ej. 'W/m²K')
geo_id:
type: string
minLength: 1
title: Geo Id
description: Identificador geográfico del municipio
codes:
anyOf:
- items:
$ref: '#/components/schemas/CodeFilter'
type: array
- type: 'null'
title: Codes
description: Normativas concretas contra las que verificar. Si se omite, se usan todas las aplicables a la localización
context:
anyOf:
- type: string
- type: 'null'
title: Context
description: Texto libre con características del proyecto relevantes para la verificación (uso, tipo de intervención, superficie, número de plantas, etc.)
type: object
required:
- element
- parameter
- value
- unit
- geo_id
title: VerifyRequest
description: Request para verificación de cumplimiento normativo
CodeFilter:
properties:
slug:
type: string
title: Slug
description: Slug de la normativa (p.ej. 'cte-db-he')
version:
anyOf:
- type: string
- type: 'null'
title: Version
description: Versión concreta del documento (p.ej. '2022'). Si se omite, se usan todos los documentos activos
type: object
required:
- slug
title: CodeFilter
description: Filtro de normativa por slug de colección (con versión opcional)
GeoContext:
properties:
geo_id:
type: string
title: Geo Id
name:
type: string
title: Name
climate_zone:
anyOf:
- type: string
- type: 'null'
title: Climate Zone
type: object
required:
- geo_id
- name
title: GeoContext
description: Contexto geográfico incluido en la respuesta de verificación
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
VerifyResponse:
properties:
is_compliant:
type: boolean
title: Is Compliant
description: True si el valor cumple el límite normativo
result_status:
type: string
title: Result Status
description: 'Estado del resultado: compliant | conditional | non_compliant | undetermined'
element:
type: string
title: Element
description: Eco del elemento enviado en el request
parameter:
type: string
title: Parameter
description: Eco del parámetro enviado en el request
provided_value:
type: number
title: Provided Value
description: Valor enviado por el usuario
limit_value:
anyOf:
- type: number
- type: 'null'
title: Limit Value
description: Límite normativo cuantificable encontrado. null para verificaciones booleanas o cuando result_status = undetermined
unit:
type: string
title: Unit
description: Unidad de medida
conditions:
items:
type: string
type: array
title: Conditions
description: Condiciones o requisitos adicionales que aplican aunque el resultado sea compliant
sources:
items:
$ref: '#/components/schemas/VerifySource'
type: array
title: Sources
description: Fuentes normativas consultadas para determinar el cumplimiento
warnings:
items:
type: string
type: array
title: Warnings
description: Avisos no bloqueantes sobre limitaciones o cobertura parcial de la normativa
geo_context:
anyOf:
- $ref: '#/components/schemas/GeoContext'
- type: 'null'
description: Contexto geográfico utilizado
type: object
required:
- is_compliant
- result_status
- element
- parameter
- provided_value
- unit
title: VerifyResponse
description: Resultado de una verificación de cumplimiento normativo
VerifySource:
properties:
index:
type: integer
title: Index
description: Índice de la fuente (base 1) para referencia fácil en citas
code_slug:
type: string
title: Code Slug
description: Slug de la normativa de origen
version:
anyOf:
- type: string
- type: 'null'
title: Version
description: Slug del documento / versión utilizada
document_title:
anyOf:
- type: string
- type: 'null'
title: Document Title
description: Título completo del documento
section_title:
anyOf:
- type: string
- type: 'null'
title: Section Title
description: Título de la sección o artículo
url:
anyOf:
- type: string
- type: 'null'
title: Url
description: URL directa a la sección en Normatia
type: object
required:
- index
- code_slug
title: VerifySource
description: Fuente normativa citada en una verificación
securitySchemes:
claveApi:
type: http
scheme: bearer
description: 'La clave de API de tu organización: `Authorization: Bearer sk-normatia-...`. Se crea en normatia.com, Mi cuenta > Claves API.'