Verithic Data API

The Data API from Verithic, for data.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /data/municipios.json Todos los municipios con todas sus cifras #
GET /data/municipios/{slug}.json Un municipio #
GET /data/fuentes.json Registro de fuentes #

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/verithic-com:verithic-com-data-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

verithic-com-data-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Verithic · datos oficiales por municipio Data API
  version: 2.2.0
  summary: Precio €/m², alquiler, IBI y minutos por municipio cerca de Barcelona, en Madrid y en la Costa Blanca (Alicante), cada cifra con su fuente y fecha de lectura.
  description: 'Solo lectura, sin cuenta ni clave. Cada cifra trae unidad, fuente, periodo y fecha en que Verithic la leyó; si la fuente no publica un dato para un municipio, el valor es null y se explica. Licencia y forma de citar: https://verithic.com/es/condiciones-de-uso. Lectura de este documento: 09/10/2026.'
  contact:
    name: Verithic
    email: hello@verithic.com
    url: https://verithic.com
  license:
    name: Condiciones de uso de Verithic (cada cifra conserva la licencia de su organismo)
    url: https://verithic.com/es/condiciones-de-uso
servers:
- url: https://verithic.com
tags:
- name: Data
paths:
  /data/municipios.json:
    get:
      operationId: listarMunicipios
      summary: Todos los municipios con todas sus cifras
      description: 'Una fila por municipio publicado. Cada campo: clave, etiqueta, valor, unidad, fuente, periodo y fecha de lectura.'
      responses:
        '200':
          description: Cabecera de licencia, fecha de generación y lista de municipios.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListaMunicipios'
      tags:
      - Data
  /data/municipios/{slug}.json:
    get:
      operationId: fichaMunicipio
      summary: Un municipio
      parameters:
      - name: slug
        in: path
        required: true
        description: Slug del municipio, como en /data/municipios.json (por ejemplo tiana, alella, el-masnou).
        schema:
          type: string
      responses:
        '200':
          description: Cabecera de licencia y la ficha.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FichaMunicipio'
        '404':
          description: Municipio no cubierto.
      tags:
      - Data
  /data/fuentes.json:
    get:
      operationId: registroFuentes
      summary: Registro de fuentes
      description: Quién publica cada dato, qué cubre, cada cuánto se actualiza y cuándo se leyó.
      responses:
        '200':
          description: Lista de fuentes.
      tags:
      - Data
components:
  schemas:
    Indices:
      type: object
      description: 'Índices por dimensión (método dimensiones-v1): cada dimensión es la media de los percentiles de sus campos entre las poblaciones publicadas de la zona. El índice de una población puede cambiar cuando entran poblaciones nuevas en su zona; por eso lleva fecha de corte y número de poblaciones.'
      properties:
        metodo:
          type: string
        pesos_fecha:
          type: string
          format: date
          description: Fecha del fichero de pesos.
        corte:
          type: string
          format: date
          description: Lectura más reciente de los campos que entran en los índices.
        zona:
          type: string
        zona_nombre:
          type: object
          properties:
            es:
              type: string
            en:
              type: string
        n:
          type: integer
          description: Poblaciones publicadas de la zona con que se calcula el percentil.
        dimensiones:
          type: array
          items:
            $ref: '#/components/schemas/IndiceDimension'
        mas_por_menos:
          type: boolean
          description: '«Más por menos»: cumple los umbrales de Conexión, Servicios cerca y Coste del fichero de pesos (percentiles dentro de la zona; en Coste, 100 es lo más económico).'
    IndiceDimension:
      type: object
      required:
      - id
      - nombre
      - value
      - campos
      - text
      properties:
        id:
          type: string
        nombre:
          type: object
          properties:
            es:
              type: string
            en:
              type: string
        value:
          type:
          - integer
          - 'null'
          minimum: 0
          maximum: 100
          description: Null si faltan más de un tercio de sus campos; el motivo va en nd_reason.
        nd:
          type: boolean
        nd_reason:
          type: string
          enum:
          - fuente_no_publica
          - no_aplica
          - pendiente_de_lectura
          - no_calculable
        campos:
          type: array
          items:
            type: object
            properties:
              clave:
                type: string
                description: Clave del campo en fields.
              valor:
                type:
                - number
                - 'null'
              unidad:
                type:
                - string
                - 'null'
              percentil:
                type:
                - integer
                - 'null'
              mejor:
                type: string
                enum:
                - menos
                - mas
              nd_reason:
                type: string
        text:
          type: object
          description: 'La dimensión en una frase: índice, cifras, zona y fecha de corte.'
          properties:
            es:
              type: string
            en:
              type: string
    FichaMunicipio:
      type: object
      properties:
        publisher:
          type: string
        licence:
          type: string
        cite:
          type: string
        sources:
          type: string
          format: uri
        generated:
          type: string
          format: date
        municipio:
          $ref: '#/components/schemas/Municipio'
    Campo:
      type: object
      required:
      - key
      - label
      - value
      - unit
      - source
      - period
      - as_of
      - readOn
      - text
      properties:
        key:
          type: string
        label:
          type: string
        value:
          type:
          - number
          - string
          - 'null'
        unit:
          type:
          - string
          - 'null'
        source:
          type: string
          description: Id en /data/fuentes.json
        period:
          type: string
        as_of:
          type: string
          description: Periodo al que se refiere la cifra. Igual que period, con el nombre del esquema común.
        readOn:
          type: string
          format: date
          description: Fecha en que Verithic leyó la fuente.
        note:
          type: string
        nd:
          type: boolean
          description: 'true si no hay valor para este municipio. El motivo está en nd_reason: solo fuente_no_publica significa que la fuente no lo publica.'
        nd_reason:
          type: string
          enum:
          - fuente_no_publica
          - no_aplica
          - pendiente_de_lectura
          - no_calculable
          description: 'Solo cuando value es null. fuente_no_publica: la fuente no publica el valor. no_aplica: no corresponde a este municipio. pendiente_de_lectura: Verithic aún no lo ha incorporado. no_calculable: Verithic no puede calcularlo con los datos oficiales disponibles.'
        text:
          type: object
          description: 'La cifra en una frase, generada en la compilación (sin IA): valor, tramo dentro de su comarca (o de todas las poblaciones del registro si la comarca tiene menos de 5 con ese dato), mediana de la zona y periodo.'
          properties:
            es:
              type: string
            en:
              type: string
    Municipio:
      type: object
      required:
      - slug
      - name
      - comarca
      - fields
      properties:
        slug:
          type: string
        name:
          type: string
        ine:
          type:
          - string
          - 'null'
        comarca:
          type: string
        lat:
          type: number
        lon:
          type: number
        url:
          type: object
          properties:
            es:
              type: string
              format: uri
            en:
              type: string
              format: uri
        fields:
          type: array
          items:
            $ref: '#/components/schemas/Campo'
        precioSerie:
          type: object
          description: Precio anual del m² de la vivienda usada desde 2013 (Generalitat de Catalunya).
        indices:
          $ref: '#/components/schemas/Indices'
    ListaMunicipios:
      type: object
      properties:
        publisher:
          type: string
        licence:
          type: string
        cite:
          type: string
        sources:
          type: string
          format: uri
        generated:
          type: string
          format: date
        municipios:
          type: array
          items:
            $ref: '#/components/schemas/Municipio'