La Palma 24 Propiedades API
Búsqueda y consulta de propiedades
Búsqueda y consulta de propiedades
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/la-palma24-net:la-palma24-net-propiedades-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: de Vacacionales - La Palma 24 Propiedades 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: Propiedades
description: Búsqueda y consulta de propiedades
paths:
/api/disponibilidad:
get:
summary: Buscar propiedades disponibles
description: Devuelve propiedades disponibles para un rango de fechas. Permite filtrar por municipio, barrio y número de huéspedes.
operationId: buscarDisponibilidad
tags:
- Propiedades
parameters:
- $ref: '#/components/parameters/fecha_llegada'
- $ref: '#/components/parameters/fecha_salida'
- $ref: '#/components/parameters/num_personas'
- $ref: '#/components/parameters/municipio'
- $ref: '#/components/parameters/barrio'
responses:
'200':
description: Lista de propiedades disponibles
content:
application/json:
schema:
$ref: '#/components/schemas/DisponibilidadResponse'
examples:
ok:
summary: Ejemplo de respuesta
value:
success: true
total: 2
data:
- id_casa: LP24-001
nombre: Casa Vista Mar
municipio: Los Llanos de Aridane
barrio: Centro
personas_max: 4
dormitorios: 2
precio_desde: 120
moneda: EUR
- id_casa: LP24-002
nombre: Apartamento Puerto Naos
municipio: Los Llanos de Aridane
barrio: Puerto Naos
personas_max: 2
dormitorios: 1
precio_desde: 95
moneda: EUR
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
/api/propiedades:
get:
summary: Listar todas las propiedades
description: Lista propiedades con filtros opcionales por ubicación, capacidad y características. Incluye paginación por limit/offset.
operationId: listarPropiedades
tags:
- Propiedades
parameters:
- $ref: '#/components/parameters/municipio'
- $ref: '#/components/parameters/barrio'
- $ref: '#/components/parameters/dormitorios'
- $ref: '#/components/parameters/personas_max'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/offset'
responses:
'200':
description: Lista de propiedades
content:
application/json:
schema:
$ref: '#/components/schemas/PropiedadesResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
/api/propiedad/{id_casa}:
get:
summary: Obtener detalles de una propiedad
description: Obtiene la información completa de una propiedad por su ID.
operationId: obtenerPropiedad
tags:
- Propiedades
parameters:
- $ref: '#/components/parameters/id_casa'
responses:
'200':
description: Detalles de la propiedad
content:
application/json:
schema:
$ref: '#/components/schemas/PropiedadResponse'
'404':
$ref: '#/components/responses/NotFound'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
components:
parameters:
barrio:
name: barrio
in: query
required: false
schema:
type: string
description: 'Filtrar por barrio/zona dentro del municipio (ej: Centro, San Telmo, El Charco)'
example: Centro
num_personas:
name: num_personas
in: query
required: false
schema:
type: integer
minimum: 1
default: 2
description: Número de huéspedes
example: 2
fecha_salida:
name: fecha_salida
in: query
required: true
schema:
type: string
format: date
description: Fecha de salida (YYYY-MM-DD)
example: '2026-03-08'
offset:
name: offset
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
description: Offset para paginación
example: 0
fecha_llegada:
name: fecha_llegada
in: query
required: true
schema:
type: string
format: date
description: Fecha de llegada (YYYY-MM-DD)
example: '2026-03-01'
personas_max:
name: personas_max
in: query
required: false
schema:
type: integer
minimum: 1
description: Capacidad mínima (devuelve propiedades con capacidad >= personas_max)
example: 4
id_casa:
name: id_casa
in: path
required: true
schema:
type: string
description: ID de la propiedad
example: LP24-001
limit:
name: limit
in: query
required: false
schema:
type: integer
minimum: 1
maximum: 200
default: 50
description: Número máximo de resultados
example: 50
dormitorios:
name: dormitorios
in: query
required: false
schema:
type: integer
minimum: 0
description: Número de dormitorios
example: 2
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
schemas:
DisponibilidadItem:
type: object
additionalProperties: true
properties:
id_casa:
type: string
nombre:
type: string
municipio:
type: string
barrio:
type: string
personas_max:
type: integer
dormitorios:
type: integer
precio_desde:
type: number
moneda:
type: string
default: EUR
PropiedadResponse:
type: object
required:
- success
- data
properties:
success:
type: boolean
data:
$ref: '#/components/schemas/Propiedad'
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
Propiedad:
type: object
additionalProperties: true
properties:
id_casa:
type: string
nombre:
type: string
descripcion:
type: string
municipio:
type: string
barrio:
type: string
dormitorios:
type: integer
banos:
type: integer
personas_max:
type: integer
amenities:
type: array
items:
type: string
fotos:
type: array
items:
type: string
format: uri
coordenadas:
type: object
properties:
lat:
type: number
lng:
type: number
moneda:
type: string
default: EUR
PropiedadesResponse:
type: object
required:
- success
- data
- total
properties:
success:
type: boolean
data:
type: array
items:
$ref: '#/components/schemas/Propiedad'
total:
type: integer
DisponibilidadResponse:
type: object
required:
- success
- data
- total
properties:
success:
type: boolean
data:
type: array
items:
$ref: '#/components/schemas/DisponibilidadItem'
total:
type: integer
responses:
NotFound:
description: Recurso no encontrado
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
not_found:
value:
success: false
error:
code: NOT_FOUND
message: Propiedad no encontrada
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
BadRequest:
description: Parámetros inválidos o incompletos
content:
application/json:
schema:
$ref: '#/components/schemas/ApiError'
examples:
bad_request:
value:
success: false
error:
code: BAD_REQUEST
message: fecha_llegada y fecha_salida son obligatorias
details:
missing:
- fecha_llegada
- fecha_salida
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API Key para autenticación