# Spotahome Listing Detail API Documentation

Retrieve one Spotahome listing: title, public url, type, property type, address, coordinates, bedrooms, bathrooms, area, pricing (monthly price, currency, price type), availability (first available date, minimum and maximum stay in days, available, unavailable and move-in date ranges), booking terms (bookable, instant booking, contract type, cancellation policy, security deposit and admin fee exactly as Spotahome reports them), house rules, plain-text description, highlights and neighborhood, photos with small and large urls, amenities, bills, landlord type and score, and the last verification time (ISO 8601, UTC). Date ranges without from or to are open ended. Take id, city and property_type from a search result url. An unknown listing returns 404 and is not billed.

- **Documentation:** [https://scrappa.co/docs/spotahome-api/spotahome_listing](https://scrappa.co/docs/spotahome-api/spotahome_listing)
- **API group:** Spotahome API
- **Endpoint:** `GET https://scrappa.co/api/spotahome/listing`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | Numeric Spotahome listing id. Example: 80504. |
| `city` | string | Yes | City slug from the listing url. Example: madrid. |
| `property_type` | string | Yes | One of rooms, apartments, studios, residences, as in the listing url. Example: rooms. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/spotahome/listing?id=80504&city=madrid&property_type=rooms"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": "80504",
        "title": "Double bed in Room in a shared 5-bedroom apartment for rent in Gaztambide",
        "url": "https://www.spotahome.com/madrid/for-rent:rooms/80504",
        "type": "room_shared_apt",
        "property_type": "rooms",
        "city": "Madrid",
        "city_id": "madrid",
        "country_code": "ES",
        "postal_code": "28015",
        "address": "Guzman el Bueno",
        "latitude": 40.431373,
        "longitude": -3.713126,
        "bedrooms": 5,
        "bathrooms": 2,
        "pricing": {
            "monthly_price": 660,
            "currency": "EUR",
            "price_type": "fixed",
            "minimum_price": 660
        },
        "availability": {
            "available_from": "2027-01-31",
            "min_stay_days": 140,
            "max_stay_days": 360,
            "available_ranges": [
                {
                    "to": "2026-07-01"
                },
                {
                    "from": "2027-01-31"
                }
            ],
            "unavailable_ranges": [
                {
                    "from": "2026-07-02",
                    "to": "2027-01-30"
                }
            ],
            "move_in_ranges": [
                {
                    "from": "2027-01-31",
                    "to": "2027-02-20"
                }
            ]
        },
        "booking": {
            "is_bookable": true,
            "instant_booking": false,
            "contract_type": "fortnightly",
            "cancellation_policy": "standard",
            "security_deposit": {
                "type": "percentage",
                "value": 10000
            },
            "admin_fee": {
                "type": "fixed",
                "value": 980
            }
        },
        "rules": {
            "pets_allowed": false,
            "smoking_allowed": false,
            "couples_allowed": false
        },
        "description": "This spacious and well-furnished room is located in a shared 5-bedroom apartment in the Gaztambide neighborhood of Madrid. The apartment includes features such as a private washing machine, equipped kitchen with an oven, heating system, and a television for tenant use. Spotahome has personally checked and verified this property.",
        "highlights": "- You also have a terrace with views of the neighborhood.\n- The rooms receive plenty of natural light.\n- You are well-connected by Metro.\n- The location is great for students.",
        "neighborhood": "Moncloa is a 15-minute walk from Malasa\u00f1a, so it's pretty central.",
        "photos": [
            {
                "id": "11f7eb0b4a5bf48d04be29239ad3f231f75e0b0d1b11b3df3845577a",
                "caption": "Bedroom 2",
                "url": "https://photos.spotahome.com/smw_768/11f7eb0b4a5bf48d04be29239ad3f231f75e0b0d1b11b3df3845577a.jpg",
                "large_url": "https://photos.spotahome.com/fsobscale_1600_900_nonverified_ur_15_50/11f7eb0b4a5bf48d04be29239ad3f231f75e0b0d1b11b3df3845577a.webp"
            },
            {
                "id": "e238b2f85a0f1e4fa4c6404e98689ae31dbe41290f748f7ec451af8a",
                "caption": "Bedroom 2",
                "url": "https://photos.spotahome.com/smw_768/e238b2f85a0f1e4fa4c6404e98689ae31dbe41290f748f7ec451af8a.jpg",
                "large_url": "https://photos.spotahome.com/fsobscale_1600_900_nonverified_ur_15_50/e238b2f85a0f1e4fa4c6404e98689ae31dbe41290f748f7ec451af8a.webp"
            }
        ],
        "amenities": [
            "checked_by_spotahome",
            "furnished",
            "equipped_kitchen",
            "washing_machine",
            "oven",
            "tv",
            "heating_unit",
            "desk",
            "independent_key"
        ],
        "bills": {
            "electricity": "paid_to_landlord",
            "water": "paid_to_landlord",
            "gas": "paid_to_landlord",
            "wifi": "paid_to_landlord",
            "meal_service": "not_included",
            "heating": "included"
        },
        "landlord": {
            "type": "professional",
            "score": 380,
            "bookings_closed": 927
        },
        "verified_at": "2026-04-29T16:00:00Z"
    },
    "meta": {
        "endpoint_family": "listing_detail",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required query parameter is missing or invalid. This response is not billable. |
| 404 | Resource Not Found | The requested Spotahome city or listing does not exist. This response is not billable. |
| 503 | Service Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
