🏠 La Palma 24 API

Integrate 300+ vacation rentals in La Palma, Canary Islands into your applications and AI assistants

REST API MCP Server Free Access Real-time Data

πŸš€ Quick Start

La Palma 24 offers two integration options: a REST API for traditional applications and an MCP Server (Model Context Protocol) for AI assistants like Claude, ChatGPT, and others.

πŸ”Œ REST API

Standard HTTP API with JSON responses. Ideal for websites, mobile apps, and backend services.

API Documentation

πŸ€– MCP Server

Model Context Protocol for AI assistants. Enables Claude, ChatGPT & others to search vacation rentals directly.

MCP Integration

πŸ’‘ Why La Palma 24 API?

  • Local expertise since 2002 – All 300+ properties personally verified on-site
  • Real-time availability – Synced with our booking system
  • No middlemen – Direct booking without OTA fees
  • Multilingual – German, English, and Spanish support
  • Free to use – No API fees for search and availability

πŸ”Œ REST API

Our REST API provides access to all vacation rentals, real-time availability checking, and price calculations.

Base URL

https://admin.la-palma24.net/api/

Authentication

The API requires an API key in the request header:

X-API-Key: YOUR_API_KEY

πŸ”‘ Public API Key (Free)

For general use, testing, and development, you can use this public API key:

L3DvD3fpbdl6IubzCU7o-general-use

For production applications or higher rate limits, contact us at la-palma24@la-palma24.net to request a dedicated API key.

OpenAPI Specification

Full OpenAPI 3.1 specification is available for import into Postman, Swagger UI, or code generators:

πŸ“„ OpenAPI JSON πŸ“¦ GitHub

⚠️ Important: Spanish Field Names

All API parameters and response fields use Spanish names (e.g., fecha_llegada instead of check_in, num_personas instead of guests). This ensures consistency across all integrations. See the endpoint documentation below for exact parameter names.

πŸ“‘ API Endpoints

GET /api/disponibilidad

Search Available Properties – Find all vacation rentals available for specific dates.

Parameters

Name Type Description
fecha_llegada REQUIRED string (date) Check-in date in YYYY-MM-DD format
fecha_salida REQUIRED string (date) Check-out date in YYYY-MM-DD format
num_personas integer Number of guests (default: 2)
municipio string Municipality (e.g., "Los Llanos de Aridane", "Tazacorte", "El Paso")
barrio string Neighborhood/zone (e.g., "Puerto Naos", "Centro")

Example Request

GET /api/disponibilidad?fecha_llegada=2027-03-01&fecha_salida=2027-03-08&num_personas=4&municipio=Tazacorte

Example Response

{
  "success": true,
  "total": 12,
  "data": [
    {
      "id_casa": "1234",
      "nombre": "Casa del Sol",
      "titulo": "Preciosa villa con piscina en Tazacorte",
      "municipio": "Tazacorte",
      "barrio": "El Puerto",
      "dormitorios": 2,
      "banios": 1,
      "personas_max": 4,
      "precio_base": 89.00,
      "urls": {
        "es": "https://www.la-palma24.net/es/ferienunterkunft/unterkunft/1234",
        "de": "https://www.la-palma24.net/de/ferienunterkunft/unterkunft/1234",
        "en": "https://www.la-palma24.net/en/ferienunterkunft/unterkunft/1234"
      }
    },
    ...
  ]
}
GET /api/propiedad/{id_casa}

Get Property Details – Retrieve complete information including photos, amenities, and location.

Parameters

Name Type Description
id_casa REQUIRED string (path) Property ID
idioma string Language for descriptions: es (Spanish), en (English), de (German). Default: es

Example Request

GET /api/propiedad/1234?idioma=en
GET /api/calcular-precio

Calculate Stay Price – Get total price including seasonal rates and discounts.

Parameters

Name Type Description
id_casa REQUIRED string Property ID
fecha_llegada REQUIRED string (date) Check-in date
fecha_salida REQUIRED string (date) Check-out date
num_personas integer Number of guests
GET /api/propiedades

List All Properties – Browse all vacation rentals with optional filters and pagination.

Parameters

Name Type Description
municipio string Filter by municipality
barrio string Filter by neighborhood
dormitorios integer Number of bedrooms
personas_max integer Minimum guest capacity
limit integer Max results (default: 50, max: 100)
offset integer Pagination offset (default: 0)
GET /api/municipios

List Municipalities – Get all towns/cities in La Palma with available rentals.

GET /api/barrios

List Neighborhoods – Get all zones/neighborhoods, optionally filtered by municipality.

Parameters

Name Type Description
municipio string Filter neighborhoods by municipality

πŸ€– MCP Server for AI Assistants

The Model Context Protocol (MCP) server enables AI assistants like Claude, ChatGPT, and others to directly search for vacation rentals in La Palma. This is the most modern way to integrate AI with real-world data.

What is MCP?

MCP is an open standard by Anthropic that allows AI models to interact with external data sources and tools. Our MCP server gives AI assistants access to real-time availability and pricing for all our properties.

MCP Server URL

https://mcp.la-palma24.net/

Endpoints

Endpoint URL Description
MCP https://mcp.la-palma24.net/ Main MCP endpoint
SSE https://mcp.la-palma24.net/sse Server-Sent Events stream
Health https://mcp.la-palma24.net/health Health check endpoint

Source Code

πŸ“¦ GitHub Repository

Available Tools

πŸ” buscar_disponibilidad

Search available properties for specific dates. Filter by location and number of guests.

πŸ“‹ obtener_detalles_propiedad

Get complete property details: amenities, photos, descriptions in DE/EN/ES.

πŸ’° calcular_precio_estancia

Calculate total price including seasonal rates and long-stay discounts.

🏠 listar_propiedades

List all properties with optional filters and pagination.

πŸ“ listar_municipios

List all municipalities with available vacation rentals.

πŸ—ΊοΈ listar_barrios

List neighborhoods/zones, optionally filtered by municipality.

Claude Desktop Integration

To use the MCP server with Claude Desktop, add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "lapalma24": {
      "url": "https://mcp.la-palma24.net/sse"
    }
  }
}

Example Conversation with AI

User: "Find me a vacation home with pool in La Palma for 4 people in March 2027"

AI Assistant: [uses La Palma 24 MCP] β†’ Returns available houses with pools, prices, and booking links

πŸ’» Code Examples

JavaScript / Node.js

// Search available properties
const response = await fetch(
  'https://admin.la-palma24.net/api/disponibilidad?' + 
  new URLSearchParams({
    fecha_llegada: '2027-03-01',
    fecha_salida: '2027-03-08',
    num_personas: 4,
    municipio: 'Tazacorte'
  }), {
    headers: {
      'X-API-Key': 'L3DvD3fpbdl6IubzCU7o-general-use'
    }
  }
);

const data = await response.json();
console.log(`Found ${data.total} properties`);

data.data.forEach(prop => {
  console.log(`- ${prop.nombre}: €${prop.precio_base}/week`);
});

Python

import requests

# Search available properties
response = requests.get(
    'https://admin.la-palma24.net/api/disponibilidad',
    params={
        'fecha_llegada': '2027-03-01',
        'fecha_salida': '2027-03-08',
        'num_personas': 4,
        'municipio': 'Tazacorte'
    },
    headers={
        'X-API-Key': 'L3DvD3fpbdl6IubzCU7o-general-use'
    }
)

data = response.json()
print(f"Found {data['total']} properties")

for prop in data['data']:
    print(f"- {prop['nombre']}: €{prop['precio_base']}/week")

cURL

curl -X GET "https://admin.la-palma24.net/api/disponibilidad?fecha_llegada=2027-03-01&fecha_salida=2027-03-08&num_personas=4" \
  -H "X-API-Key: L3DvD3fpbdl6IubzCU7o-general-use"

PHP

$params = http_build_query([
    'fecha_llegada' => '2027-03-01',
    'fecha_salida' => '2027-03-08',
    'num_personas' => 4,
    'municipio' => 'Tazacorte'
]);

$opts = [
    'http' => [
        'method' => 'GET',
        'header' => 'X-API-Key: L3DvD3fpbdl6IubzCU7o-general-use'
    ]
];

$context = stream_context_create($opts);
$response = file_get_contents(
    "https://admin.la-palma24.net/api/disponibilidad?{$params}",
    false,
    $context
);

$data = json_decode($response, true);
echo "Found {$data['total']} properties\n";

🎯 Use Cases

πŸ€– AI Assistants & Chatbots

Integrate vacation rental search into your chatbot. Users can search for accommodations using natural language.

🌐 Travel Websites

Display La Palma vacation rentals on your travel website. Affiliate partnerships available.

πŸ“± Mobile Apps

Build a Canary Islands travel app with real-time availability and booking.

πŸ“Š Market Research

Analyze the vacation rental market in La Palma for research and investment purposes.

🏒 Travel Agencies

Offer La Palma accommodations to your clients with white-label solutions.

✈️ Flight + Stay Packages

Combine with flight APIs to create complete travel packages to La Palma.

🏝️ About La Palma

La Palma is one of the Canary Islands, Spain, known as "La Isla Bonita" (The Beautiful Island). It's a UNESCO Biosphere Reserve and the world's first Starlight Reserve, making it perfect for:

Getting there: Direct flights from Germany (Frankfurt, DΓΌsseldorf, Munich, Hamburg), UK, Switzerland (Zurich), and Netherlands (Amsterdam). Flight time approximately 4.5 hours from Central Europe.

πŸ“ž Support & Contact

For API integration questions or to request an API key:

🏒 About La Palma 24

La Palma 24 is the leading local vacation rental provider on La Palma since 2002. With over 300 personally selected properties and an office directly on the island, we offer travelers and developers access to the best holiday accommodations on La Palma.

www.la-palma24.net Β· eKomi Gold certified