La Palma 24 Ubicaciones API

Municipios y barrios

GitHub OpenAPI

Operations 2

GET /api/municipios Listar todos los municipios #
GET /api/barrios Listar todos los barrios #

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/la-palma24-net:la-palma24-net-ubicaciones-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

la-palma24-net-ubicaciones-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: de Propiedades Vacacionales - La Palma 24 Ubicaciones API
  version: 1.0.0
  description: 'API REST para consultar disponibilidad, características y precios de propiedades vacacionales en La Palma.


    Autenticación: enviar la cabecera X-API-Key.


    Endpoints principales:

    - Disponibilidad: /api/disponibilidad

    - Listado con filtros: /api/propiedades

    - Detalle: /api/propiedad/{id_casa}

    - Precio: /api/calcular-precio

    - Taxonomías: /api/municipios, /api/barrios'
  contact:
    name: Soporte API
servers:
- url: https://admin.la-palma24.net
  description: Servidor de Producción
security:
- ApiKeyAuth: []
tags:
- name: Ubicaciones
  description: Municipios y barrios
paths:
  /api/municipios:
    get:
      summary: Listar todos los municipios
      description: Devuelve lista de municipios disponibles para filtrar propiedades.
      operationId: listarMunicipios
      tags:
      - Ubicaciones
      responses:
        '200':
          description: Lista de municipios
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MunicipiosResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
  /api/barrios:
    get:
      summary: Listar todos los barrios
      description: Devuelve lista de barrios/zonas disponibles, opcionalmente filtrados por municipio.
      operationId: listarBarrios
      tags:
      - Ubicaciones
      parameters:
      - $ref: '#/components/parameters/municipio'
      responses:
        '200':
          description: Lista de barrios
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BarriosResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '500':
          $ref: '#/components/responses/ServerError'
components:
  schemas:
    MunicipiosResponse:
      type: object
      required:
      - success
      - data
      - total
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/Municipio'
        total:
          type: integer
    Barrio:
      type: object
      properties:
        id:
          type: integer
        nombre:
          type: string
        municipio:
          type: string
    Municipio:
      type: object
      properties:
        id:
          type: integer
        nombre:
          type: string
    ApiError:
      type: object
      required:
      - success
      - error
      properties:
        success:
          type: boolean
          const: false
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              examples:
              - BAD_REQUEST
              - UNAUTHORIZED
              - NOT_FOUND
              - SERVER_ERROR
            message:
              type: string
            details:
              type: object
              additionalProperties: true
    BarriosResponse:
      type: object
      required:
      - success
      - data
      - total
      properties:
        success:
          type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/Barrio'
        total:
          type: integer
        filtros:
          type: object
          properties:
            municipio:
              type:
              - string
              - 'null'
  responses:
    ServerError:
      description: Error interno del servidor
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            server_error:
              value:
                success: false
                error:
                  code: SERVER_ERROR
                  message: Ocurrió un error inesperado
    Unauthorized:
      description: No autenticado (API Key ausente o inválida)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          examples:
            unauthorized:
              value:
                success: false
                error:
                  code: UNAUTHORIZED
                  message: X-API-Key inválida o ausente
  parameters:
    municipio:
      name: municipio
      in: query
      required: false
      schema:
        type: string
      description: 'Filtrar por municipio (ej: Santa Cruz de La Palma, Los Llanos de Aridane)'
      example: Los Llanos de Aridane
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API Key para autenticación