Skip to content
Scrappa Get API key
Hostelworld API 1 credit / request

Hostelworld Property Detail API Documentation

GET https://scrappa.co/api/hostelworld/property

Hostelworld Property Detail API Documentation Retrieve one Hostelworld property: name, type, description, directions, address, coordinates, check-in window, rating scores per category, number of ratings, facilities grouped by category, photos, payment methods, cancellation policy, house policies and things to note. An unknown property id returns a 404 that is not billed.

Hostelworld Property Detail API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/hostelworld/property
Auth header
x-api-key
Cost
1 credit / request
property_id = 1234567890
Response preview
200 OK
{
    "data": {
        "property": {
            "id": 15426,
            "url": "https://www.hostelworld.com/pwa/hosteldetails.php/St-Christopher-s-Berlin-Mitte/Berlin/15426",
            "city": {
                "id": 26,
                "name": "Berlin",
                "country": "Germany"
            },
            "name": "St Christopher's Berlin - Mitte",
            "type": "hostel",
            "images": [
                "https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/1/15426/m0tyooptf31sfivqsgdn",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

1 optional filter available.

property_id integer Required

Hostelworld property id. Example: 15426.

Example value 1234567890
currency string Optional

ISO 4217 currency code for all prices, for example EUR or USD. Defaults to EUR.

Example value USD

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Response fields

48 fields
Field Type
data.property.id integer
data.property.url string
data.property.city.id integer
data.property.city.name string
data.property.city.country string
data.property.name string
data.property.type string
data.property.images array
data.property.images[] string
data.property.rating.staff integer
data.property.rating.overall integer
data.property.rating.location integer
data.property.rating.security integer
data.property.rating.atmosphere integer
data.property.rating.facilities integer
data.property.rating.cleanliness integer
data.property.rating.value_for_money integer
data.property.region string
data.property.address string
data.property.check_in.to string
data.property.check_in.from string
data.property.currency string
data.property.latitude number
data.property.policies array
data.property.policies[] string
data.property.longitude number
data.property.directions string
data.property.facilities array
data.property.facilities[].name string
data.property.facilities[].facilities array
data.property.facilities[].facilities[] string
data.property.description string
data.property.ratings_count integer
data.property.things_to_note array
data.property.things_to_note[] string
data.property.payment_methods array
data.property.payment_methods[] string
data.property.latest_check_out string
data.property.deposit_percentage integer
data.property.cancellation_policy.deposit_only string
data.property.cancellation_policy.non_refundable string
data.property.cancellation_policy.free_cancellation string
data.property.lowest_price_per_night.amount number
data.property.lowest_price_per_night.currency string
data.property.max_guests_per_booking integer
meta.billable boolean
meta.endpoint_family string
success boolean
JSON Response
200 OK
{
    "data": {
        "property": {
            "id": 15426,
            "url": "https://www.hostelworld.com/pwa/hosteldetails.php/St-Christopher-s-Berlin-Mitte/Berlin/15426",
            "city": {
                "id": 26,
                "name": "Berlin",
                "country": "Germany"
            },
            "name": "St Christopher's Berlin - Mitte",
            "type": "hostel",
            "images": [
                "https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/1/15426/m0tyooptf31sfivqsgdn",
                "https://a.hwstatic.com/image/upload/f_auto,q_auto/v1/propertyimages/1/15426/gr8dnzizd6kgseurngvv"
            ],
            "rating": {
                "staff": 86,
                "overall": 83,
                "location": 92,
                "security": 90,
                "atmosphere": 82,
                "facilities": 73,
                "cleanliness": 75,
                "value_for_money": 81
            },
            "region": "Berlin",
            "address": "Ziegelstr. 28",
            "check_in": {
                "to": "23:00",
                "from": "15:00"
            },
            "currency": "EUR",
            "latitude": 52.523588,
            "policies": [
                "Taxes Not Included"
            ],
            "longitude": 13.39096,
            "directions": "From the Train station (Haupbahnhof):\n1. Take all City Trains (S-Bahn) going eastbound for only 1 stop to Friedrichstrasse. \n2. Take the Exit the same direction the train goes and turn left into Fried\u2026",
            "facilities": [
                {
                    "name": "General",
                    "facilities": [
                        "Adaptors",
                        "Bicycle Parking"
                    ]
                },
                {
                    "name": "Services",
                    "facilities": [
                        "24 Hour Reception",
                        "Housekeeping",
                        "Luggage Storage"
                    ]
                }
            ],
            "description": "Please read our Things to Note before making a booking.\n\nSt Christopher's Berlin Mitte is located in the heart of the German capital, just minutes away from some of the best sights and attractions in Berlin. Just a 5 minute walk from Museum Island and a 3 minute train journey to Brandenburg Gate, this modern backpacker hostel is the perfect location for sightseeing and socialising with fellow trav\u2026",
            "ratings_count": 10435,
            "things_to_note": [
                "Non-Refundable Rate\nThis reservation is non-refundable. The remaining balance of your stay may be charged at any time after the booking is confirmed.\nFree Cancellation Rate\nYou may cancel your reserva\u2026"
            ],
            "payment_methods": [
                "Electron",
                "JCB",
                "Laser",
                "Maestro",
                "Mastercard",
                "Visa",
                "VisaDebit"
            ],
            "latest_check_out": "11:00",
            "deposit_percentage": 13,
            "cancellation_policy": {
                "deposit_only": "This property has a 1 day cancellation policy. Failure to cancel within this time will result in a cancellation charge equal to the first night of your stay, unless otherwise stated (see \"Things to Note\").",
                "non_refundable": "Your booking is non-refundable, if you choose to cancel your booking, or in the case of a no-show, you will still be charged the full cost of your booking",
                "free_cancellation": "Your booking can be cancelled for free, if you cancel your booking 24 hours before arrival your deposit will be refunded to your payment card.  If you cancel within 24 hours, your deposit will not be refunded and the total of the first night's accommodation will be charged to your payment card."
            },
            "lowest_price_per_night": {
                "amount": 14.32,
                "currency": "EUR"
            },
            "max_guests_per_booking": 8
        }
    },
    "meta": {
        "billable": true,
        "endpoint_family": "property"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A required query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "property_id": [
            "A property_id is required, e.g. 15426."
        ]
    },
    "message": "The request validation failed"
}
404

Resource Not Found

The requested Hostelworld property does not exist. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false,
        "endpoint_family": "property"
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Hostelworld resource was not found."
    },
    "success": false
}
503

Invalid Source Response

Hostelworld answered with a shape that no longer matches the documented contract. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "property"
    },
    "error": {
        "code": "PARSER_DRIFT",
        "message": "The Hostelworld response could not be read. Please retry later."
    },
    "success": false
}
503

Service Unavailable

The upstream service is temporarily unavailable. Please retry shortly.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "property"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "The Hostelworld API is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.