← API Overview
POST

/booking-scrape

Extract hotel data from a Booking.com listing URL. Returns name, address, ratings, reviews, facilities, images, coordinates and more. 2 credits per hotel.

Endpoint

POST https://sitepry.com/api/v1/booking-scrape

Request Body

{
    "url": "https://www.booking.com/hotel/at/grand-hotel-vienna.html",
    "render_js": true,
    "include_facilities": true
}

Parameters

NameTypeRequiredDescription
urlstringYesBooking.com hotel page URL
render_jsbooleanNoEnable browser rendering for dynamic content (default: true)
include_facilitiesbooleanNoExtract full facility list with auto-scroll (default: true)
💡 Pricing: 2 credits per hotel. Results are returned synchronously — no polling needed.

Response

{
    "success": true,
    "data": {
        "name": "Grand Hotel Vienna",
        "url": "https://www.booking.com/hotel/at/grand-hotel-vienna.html",
        "star_rating": 5,
        "review_score": 9.2,
        "review_count": 3847,
        "review_word": "Wonderful",
        "address": "Kärntner Ring 9, 01. Innere Stadt, 1010 Vienna",
        "coordinates": { "lat": 48.2008, "lng": 16.3726 },
        "description": "This 5-star hotel is located on the famous...",
        "main_image": "https://cf.bstatic.com/...",
        "images": ["https://cf.bstatic.com/..."],
        "facilities": ["Free WiFi", "Spa", "Pool", "Restaurant"],
        "property_type": "Hotel",
        "checkin_time": "15:00",
        "checkout_time": "12:00"
    },
    "credits_used": 2,
    "credits_remaining": 498
}

Example (Python)

import requests

response = requests.post(
    "https://sitepry.com/api/v1/booking-scrape",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "url": "https://www.booking.com/hotel/at/grand-hotel-vienna.html",
        "render_js": True,
        "include_facilities": True
    }
)
hotel = response.json()["data"]
print(f"{hotel['name']} - {hotel['review_score']}/10")

Example (cURL)

curl -X POST https://sitepry.com/api/v1/booking-scrape \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.booking.com/hotel/at/grand-hotel-vienna.html"}'

Data Fields

Each hotel result includes: name, url, star_rating, review_score, review_count, review_word, address, coordinates, description, main_image, images, facilities, property_type, checkin_time, checkout_time.

See authentication & shared endpoints →

Get 500 free credits for just $1

Get Started →