{
    "version": "ujb.site-guide/v1",
    "site": "Booking.com",
    "domain": "booking.com",
    "category": "travel",
    "status": "partial",
    "status_label": "Partly working",
    "success_rate_7d": 40.9,
    "checks_7d": 22,
    "last_checked_at": "2026-10-13T20:34:14Z",
    "last_ok_at": "2026-10-13T20:34:14Z",
    "page_types": [
        {
            "page_type": "Public pages",
            "page_kinds": [
                "detail"
            ],
            "status": "partial",
            "success_rate_7d": 40.9,
            "checks_7d": 22,
            "endpoint": "/scrape",
            "params": {
                "js": true,
                "wait_for": 8000
            },
            "proxy": "default",
            "measured": true,
            "max_credits": 5,
            "learned_settings": "js + wait 8000",
            "example_url": "https://www.booking.com/city/fr/paris.html",
            "playground": "https://ujeebu.com/playground?endpoint=scrape&url=https%3A%2F%2Fwww.booking.com%2Fcity%2Ffr%2Fparis.html&js=true&wait_for=8000&autosend=0&utm_source=site-guide",
            "recipes": [
                {
                    "page_kind": "listing",
                    "label": "Search and listing pages",
                    "validated_at": "2026-10-13T14:26:25Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "listings": {
                            "selector": "div[data-testid=\"hotel\"]",
                            "type": "obj",
                            "multiple": true,
                            "children": {
                                "url": {
                                    "selector": "a[data-testid=\"hotelLink\"]",
                                    "type": "link"
                                },
                                "title": {
                                    "selector": "h3",
                                    "type": "text"
                                },
                                "image": {
                                    "selector": "img.f6c12c77eb",
                                    "type": "image"
                                },
                                "rating": {
                                    "selector": "div.fff1944c52.dff2e52086",
                                    "type": "text"
                                },
                                "review_count": {
                                    "selector": "div.aa225776f2 span.eaa8455879",
                                    "type": "text"
                                }
                            }
                        }
                    },
                    "fields": {
                        "listings": "list of 3+ items",
                        "listings[].url": "URL",
                        "listings[].title": "text",
                        "listings[].image": "image URL",
                        "listings[].rating": "number (as text)",
                        "listings[].review_count": "text"
                    },
                    "validated_on": [
                        "https://www.booking.com/city/us/new-york.html",
                        "https://www.booking.com/city/es/barcelona.html"
                    ],
                    "url_pattern": "https://www.booking.com/city/{slug}/{slug}.html",
                    "listing_template": null,
                    "pagination": null
                },
                {
                    "page_kind": "detail",
                    "label": "Property pages",
                    "validated_at": "2026-10-13T14:26:42Z",
                    "params": {
                        "js": true
                    },
                    "extract_rules": {
                        "place": {
                            "type": "fn",
                            "fn": "const T = ['Hotel', 'LodgingBusiness', 'Restaurant', 'FoodEstablishment', 'LocalBusiness', 'Store', 'TouristAttraction', 'Resort', 'Motel', 'BedAndBreakfast', 'CafeOrCoffeeShop']; const n = [...document.querySelectorAll('script[type=\"application/ld+json\"]')].flatMap(s => { try { return [].concat(JSON.parse(s.textContent)).flatMap(x => x['@graph'] || [x]); } catch (e) { return []; } }).find(x => x && [].concat(x['@type']).some(t => T.includes(t))); if (!n) return null; const g = p => p.split('|').map(q => q.split('.').reduce((v, k) => v == null ? v : (Array.isArray(v) ? v[0] : v)?.[k], n)).find(v => v != null && v !== ''); const all = v => Array.isArray(v) ? v.map(all).filter(x => x != null).join(', ') : (v && typeof v === 'object' ? (v.name ?? v['@id'] ?? null) : (typeof v === 'string' ? v.replace('https://schema.org/', '').replace('http://schema.org/', '') : v ?? null)); const one = v => all(Array.isArray(v) ? v[0] : v); return { country: all(g('address.addressCountry.name|address.addressCountry')), image: one(g('image.url|image')), name: all(g('name')), postal_code: all(g('address.postalCode')), rating: all(g('aggregateRating.ratingValue')), region: all(g('address.addressRegion')), review_count: all(g('aggregateRating.reviewCount|aggregateRating.ratingCount')), street: all(g('address.streetAddress')) };"
                        },
                        "description": {
                            "selector": "meta[property=\"og:description\"]",
                            "type": "attr",
                            "attribute": "content"
                        },
                        "url": {
                            "selector": "link[rel=\"canonical\"]",
                            "type": "attr",
                            "attribute": "href"
                        }
                    },
                    "fields": {
                        "place.country": "text",
                        "place.image": "image URL",
                        "place.name": "text",
                        "place.postal_code": "text",
                        "place.rating": "number",
                        "place.region": "text",
                        "place.review_count": "number",
                        "place.street": "text",
                        "description": "text",
                        "url": "URL"
                    },
                    "validated_on": [
                        "https://www.booking.com/hotel/us/doubletree-by-hilton-new-york-times-square-west.html",
                        "https://www.booking.com/hotel/us/casablanca.html"
                    ],
                    "url_pattern": "https://www.booking.com/hotel/us/{slug}.html",
                    "listing_template": null,
                    "pagination": null
                }
            ]
        }
    ],
    "guide_url": "https://ujeebu.com/scrape/booking",
    "billing": "Only HTTP 200 and 404 responses are billed.",
    "auth": "Header ApiKey: <your key>",
    "api_base": "https://api.ujeebu.com",
    "how_to_use_recipes": "POST https://api.ujeebu.com/scrape with a JSON body: url, the params, and extract_rules; the response is {\"result\": {...}}."
}