Normatia Entorno de pruebas API

Lo que responde una clave de prueba (sk-normatia-test-): las parcelas de prueba y el caso que cubre cada una.

GitHub OpenAPI

Operations 1

GET /v1/sandbox Lo que hay en el entorno de pruebas #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/normatia-com:normatia-com-entorno-de-pruebas-api"
All apis
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.

Get an API 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 Specification

normatia-com-entorno-de-pruebas-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Normatia Entorno de pruebas 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: Entorno de pruebas
  description: 'Lo que responde una clave de prueba (sk-normatia-test-): las parcelas de prueba y el caso que cubre cada una.'
paths:
  /v1/sandbox:
    get:
      tags:
      - Entorno de pruebas
      summary: Lo que hay en el entorno de pruebas
      description: Las parcelas que responde una clave de prueba (sk-normatia-test-), con el caso que cubre cada una. Sirve con cualquier clave.
      operationId: getSandbox
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SandboxInfo'
        '401':
          description: Falta la clave, no es válida o está revocada.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '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/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '429':
          description: Límite por minuto superado (con Retry-After) o cupo del mes agotado.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
        '500':
          description: Error interno. Indica el X-Request-Id si escribes a soporte.
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Problem'
components:
  schemas:
    SandboxParcel:
      properties:
        ref:
          type: string
          title: Ref
        place:
          additionalProperties:
            anyOf:
            - type: string
            - type: 'null'
          type: object
          title: Place
        case:
          type: string
          title: Case
          description: 'Qué caso cubre: afectada por una capa, sin planeamiento cargado, varias zonas...'
        centroid:
          anyOf:
          - additionalProperties:
              type: number
            type: object
          - type: 'null'
          title: Centroid
      type: object
      required:
      - ref
      - place
      - case
      title: SandboxParcel
    Problem:
      type: object
      description: Error en formato RFC 9457 (rutas /v1). `code` es lo que debe mirar un programa.
      required:
      - type
      - title
      - status
      - detail
      - code
      properties:
        type:
          type: string
          format: uri
          example: https://docs.normatia.com/api-reference/errores/#api_not_enabled
        title:
          type: string
          example: Sin acceso
        status:
          type: integer
          example: 403
        detail:
          type: string
          example: Tu organización no tiene activado el acceso por API.
        code:
          type: string
          example: api_not_enabled
        request_id:
          type: string
          example: req_4f0c2a9e6b1d4c3e8a7f5b2d1e0c9a8b
      additionalProperties: true
    SandboxInfo:
      properties:
        object:
          type: string
          const: sandbox
          title: Object
          default: sandbox
        recorded_at:
          anyOf:
          - type: string
          - type: 'null'
          title: Recorded At
          description: Cuándo se grabaron las parcelas de urban
        parcels:
          items:
            $ref: '#/components/schemas/SandboxParcel'
          type: array
          title: Parcels
        docs_url:
          type: string
          title: Docs Url
      type: object
      required:
      - parcels
      - docs_url
      title: SandboxInfo
  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.'