Expedia

Run Expedia Hotel Details Scraper

This endpoint allows you to scrape hotel details from Expedia.

Note

Use the Sync Scraper API Server (https://sync.scraper.mrscraper.com) host when calling this endpoint.

POST
/api/hotels/expedia/detail/sync
x-api-token<token>

In: header

urlstring

Expedia hotel detail URL

payload

GraphQL payload for Expedia API

Response Body

application/json

curl -X POST "https://api.app.mrscraper.com/api/hotels/expedia/detail/sync" \  -H "Content-Type: application/json" \  -d '{    "url": "https://www.expedia.com/Santiago-Hotels-Debaines-Hotel-Santiago.h105647757.Hotel-Information?chkin=2025-11-18&chkout=2025-11-19&x_pwa=1&rfrr=HSR&pwa_ts=1759927920021&referrerUrl=aHR0cHM6Ly93d3cuZXhwZWRpYS5jb20vSG90ZWwtU2VhcmNo&useRewards=false&rm1=a2&regionId=3095&destination=Santiago%2C+Santiago+Metropolitan+Region%2C+Chile&destType=MARKET&neighborhoodId=553248633981689425&selected=105647757&latLong=-33.448891%2C-70.669266&sort=RECOMMENDED&top_dp=255&top_cur=USD&userIntent=&selectedRoomType=325790916&selectedRatePlan=401500250&searchId=f59dbcb1-7642-4a39-b4e1-bd23b02ceb7a&startDate=2025-11-18&endDate=2025-11-19",    "payload": [      {        "operationName": "OffersTravelerSelectorQuery",        "variables": {          "propertyId": "105647757",          "searchCriteria": {            "primary": {              "dateRange": {                "checkInDate": {                  "day": 24,                  "month": 11,                  "year": 2025                },                "checkOutDate": {                  "day": 25,                  "month": 11,                  "year": 2025                }              },              "destination": {                "regionName": "Santiago, Santiago Metropolitan Region, Chile",                "regionId": "3095",                "coordinates": {                  "latitude": -33.448891,                  "longitude": -70.669266                },                "pinnedPropertyId": "105647757",                "propertyIds": null,                "mapBounds": null              },              "rooms": [                {                  "adults": 2,                  "children": []                }              ]            },            "secondary": {              "counts": [],              "booleans": [],              "selections": [                {                  "id": "privacyTrackingState",                  "value": "CAN_TRACK"                },                {                  "id": "productOffersId",                  "value": "30657d29-6938-4a53-aaa9-638a01548a84"                },                {                  "id": "searchId",                  "value": "f59dbcb1-7642-4a39-b4e1-bd23b02ceb7a"                },                {                  "id": "selected",                  "value": "105647757"                },                {                  "id": "sort",                  "value": "RECOMMENDED"                },                {                  "id": "useRewards",                  "value": "SHOP_WITHOUT_POINTS"                }              ],              "ranges": []            }          },          "shoppingContext": {            "multiItem": null,            "queryTriggeredBy": "OTHER"          },          "context": {            "siteId": 1,            "locale": "en_US",            "eapid": 0,            "tpid": 1,            "currency": "USD",            "device": {              "type": "DESKTOP"            },            "identity": {              "duaid": "57ecf828-16a8-4864-b6e3-c7cd72add8cf",              "authState": "ANONYMOUS"            },            "privacyTrackingState": "CAN_TRACK"          }        },        "extensions": {          "persistedQuery": {            "version": 1,            "sha256Hash": "a255fd17933e9d2e855a43d58d013706f39777f884561d10464620fedb4ab1dc"          }        }      },      {        "operationName": "AncillaryPropertyOffersQuery",        "variables": {          "propertyId": "105647757",          "searchCriteria": {            "primary": {              "dateRange": {                "checkInDate": {                  "day": 18,                  "month": 11,                  "year": 2025                },                "checkOutDate": {                  "day": 19,                  "month": 11,                  "year": 2025                }              },              "destination": {                "regionName": "Santiago, Santiago Metropolitan Region, Chile",                "regionId": "3095",                "coordinates": {                  "latitude": -33.448891,                  "longitude": -70.669266                },                "pinnedPropertyId": "105647757",                "propertyIds": null,                "mapBounds": null              },              "rooms": [                {                  "adults": 2,                  "children": []                }              ]            },            "secondary": {              "counts": [],              "booleans": [],              "selections": [                {                  "id": "privacyTrackingState",                  "value": "CAN_TRACK"                },                {                  "id": "productOffersId",                  "value": "30657d29-6938-4a53-aaa9-638a01548a84"                },                {                  "id": "searchId",                  "value": "f59dbcb1-7642-4a39-b4e1-bd23b02ceb7a"                },                {                  "id": "selected",                  "value": "105647757"                },                {                  "id": "sort",                  "value": "RECOMMENDED"                },                {                  "id": "useRewards",                  "value": "SHOP_WITHOUT_POINTS"                }              ],              "ranges": []            }          },          "shoppingContext": {            "multiItem": null,            "queryTriggeredBy": "OTHER"          },          "travelAdTrackingInfo": null,          "searchOffer": {            "offerPrice": {              "offerTimestamp": "1759927920021",              "price": {                "amount": 255,                "currency": "USD"              },              "pointsApplied": false            },            "roomTypeId": "325790916",            "ratePlanId": "401500250",            "offerDetails": []          },          "referrer": "HSR",          "selectedSavedQuoteInput": null,          "context": {            "siteId": 1,            "locale": "en_US",            "eapid": 0,            "tpid": 1,            "currency": "USD",            "device": {              "type": "DESKTOP"            },            "identity": {              "duaid": "57ecf828-16a8-4864-b6e3-c7cd72add8cf",              "authState": "ANONYMOUS"            },            "privacyTrackingState": "CAN_TRACK"          }        },        "extensions": {          "persistedQuery": {            "version": 1,            "sha256Hash": "1eba0c7fb2341b18a87cef26f6d2678201e0fe97a501113b338ab287cc0f49c9"          }        }      },      {        "operationName": "RoomsAndRatesPropertyOffersQuery",        "variables": {          "propertyId": "105647757",          "searchCriteria": {            "primary": {              "dateRange": {                "checkInDate": {                  "day": 18,                  "month": 11,                  "year": 2025                },                "checkOutDate": {                  "day": 19,                  "month": 11,                  "year": 2025                }              },              "destination": {                "regionName": "Santiago, Santiago Metropolitan Region, Chile",                "regionId": "3095",                "coordinates": {                  "latitude": -33.448891,                  "longitude": -70.669266                },                "pinnedPropertyId": "105647757",                "propertyIds": null,                "mapBounds": null              },              "rooms": [                {                  "adults": 2,                  "children": []                }              ]            },            "secondary": {              "counts": [],              "booleans": [],              "selections": [                {                  "id": "privacyTrackingState",                  "value": "CAN_TRACK"                },                {                  "id": "productOffersId",                  "value": "30657d29-6938-4a53-aaa9-638a01548a84"                },                {                  "id": "searchId",                  "value": "f59dbcb1-7642-4a39-b4e1-bd23b02ceb7a"                },                {                  "id": "selected",                  "value": "105647757"                },                {                  "id": "sort",                  "value": "RECOMMENDED"                },                {                  "id": "useRewards",                  "value": "SHOP_WITHOUT_POINTS"                }              ],              "ranges": []            }          },          "shoppingContext": {            "multiItem": null,            "queryTriggeredBy": "OTHER"          },          "travelAdTrackingInfo": null,          "searchOffer": {            "offerPrice": {              "offerTimestamp": "1759927920021",              "price": {                "amount": 255,                "currency": "USD"              },              "pointsApplied": false            },            "roomTypeId": "325790916",            "ratePlanId": "401500250",            "offerDetails": []          },          "referrer": "HSR",          "selectedSavedQuoteInput": null,          "context": {            "siteId": 1,            "locale": "en_US",            "eapid": 0,            "tpid": 1,            "currency": "USD",            "device": {              "type": "DESKTOP"            },            "identity": {              "duaid": "57ecf828-16a8-4864-b6e3-c7cd72add8cf",              "authState": "ANONYMOUS"            },            "privacyTrackingState": "CAN_TRACK"          }        },        "extensions": {          "persistedQuery": {            "version": 1,            "sha256Hash": "1d60f4a6ea132405a387390cb0ced08b4d3217832e34736851831f6a0182c91f"          }        }      },      {        "operationName": "OffersTravelerSelectorQuery",        "variables": {          "propertyId": "105647757",          "searchCriteria": {            "primary": {              "dateRange": {                "checkInDate": {                  "day": 18,                  "month": 11,                  "year": 2025                },                "checkOutDate": {                  "day": 19,                  "month": 11,                  "year": 2025                }              },              "destination": {                "regionName": "Santiago, Santiago Metropolitan Region, Chile",                "regionId": "3095",                "coordinates": {                  "latitude": -33.448891,                  "longitude": -70.669266                },                "pinnedPropertyId": "105647757",                "propertyIds": null,                "mapBounds": null              },              "rooms": [                {                  "adults": 2,                  "children": []                }              ]            },            "secondary": {              "counts": [],              "booleans": [],              "selections": [                {                  "id": "privacyTrackingState",                  "value": "CAN_TRACK"                },                {                  "id": "productOffersId",                  "value": "30657d29-6938-4a53-aaa9-638a01548a84"                },                {                  "id": "searchId",                  "value": "f59dbcb1-7642-4a39-b4e1-bd23b02ceb7a"                },                {                  "id": "selected",                  "value": "105647757"                },                {                  "id": "sort",                  "value": "RECOMMENDED"                },                {                  "id": "useRewards",                  "value": "SHOP_WITHOUT_POINTS"                }              ],              "ranges": []            }          },          "shoppingContext": {            "multiItem": null,            "queryTriggeredBy": "OTHER"          },          "context": {            "siteId": 1,            "locale": "en_US",            "eapid": 0,            "tpid": 1,            "currency": "USD",            "device": {              "type": "DESKTOP"            },            "identity": {              "duaid": "57ecf828-16a8-4864-b6e3-c7cd72add8cf",              "authState": "ANONYMOUS"            },            "privacyTrackingState": "CAN_TRACK"          }        },        "extensions": {          "persistedQuery": {            "version": 1,            "sha256Hash": "a255fd17933e9d2e855a43d58d013706f39777f884561d10464620fedb4ab1dc"          }        }      }    ]  }'
{
  "success": true,
  "message": "Succesfully scraped",
  "data": [
    {
      "data": {
        "propertyOffers": {
          "listingsHeader": {
            "text": "Choose your room",
            "label": null,
            "subText": null,
            "accessibilityLabel": null,
            "__typename": "LodgingHeader"
          },
          "loading": {
            "accessibilityLabel": "Loading available rooms and rates",
            "__typename": "OfferDetailsLoading"
          },
          "tnlFields": [],
          "id": "105647757",
          "__typename": "OfferDetails",
          "propertyLevelMessagingSection": null,
          "propertyLevelOffersMessage": null,
          "propertyLevelOffersCard": null,
          "propertyHighlightSection": null,
          "propertyContentSectionGroup": null,
          "priceInsight": {
            "analyticsPayload": "{\"metadata\":{\"packer_version\":\"1.0.1\"},\"events\":{\"price_insight_module.failed\":{\"v1\":{\"event_data\":{\"event\":{\"event_name\":\"price_insight_module.failed\",\"event_version\":\"1.0.0\",\"event_category\":\"price_insight_module\",\"event_type\":\"Outcome\"},\"product_list\":[{\"product_id\":\"105647757\"}],\"error_list\":[{\"error_name\":\"Price Insights data unavailable for sold-out search propertyId=105647757\"}]}}}}}",
            "impressionAnalytics": null,
            "card": null,
            "contents": null,
            "detailsLink": null,
            "shoppingJoinListContainer": null,
            "tnlFields": null,
            "__typename": "PriceInsight"
          },
          "tripSummary": null,
          "rateMessagingCard": null,
          "clickstreamEvents": [
            "{\"metadata\":{\"packer_version\":\"1.0.1\"},\"events\":{\"price_request_fee_inclusive_pricing.submitted\":{\"v1\":{\"event_data\":{\"event\":{\"event_name\":\"price_request_fee_inclusive_pricing.submitted\",\"event_version\":\"1.0.0\",\"event_category\":\"search\",\"event_type\":\"Outcome\",\"action_reason\":\"CA\"}}}}}}"
          ],
          "errorMessage": {
            "title": {
              "text": "Sorry, we're having trouble finding prices and availability. Please refresh the page and try again.",
              "__typename": "MessagingResultTitle"
            },
            "action": null,
            "__typename": "MessageResult"
          },
          "alternateAvailabilityMsg": {
            "text": {
              "value": "See available properties for these dates",
              "__typename": "LodgingPlainMessage"
            },
            "actionLink": {
              "link": {
                "uri": {
                  "relativePath": "/Hotel-Search?regionId=3095&destination=Santiago%2C+Santiago+Metropolitan+Region%2C+Chile&startDate=2025-11-18&endDate=2025-11-19&selected=105647757&adults=2&children=&sort=RECOMMENDED&useRewards=false&semdtl=&userIntent=&vip=false",
                  "value": "http://www.expedia.com/Hotel-Search?regionId=3095&destination=Santiago%2C+Santiago+Metropolitan+Region%2C+Chile&startDate=2025-11-18&endDate=2025-11-19&selected=105647757&adults=2&children=&sort=RECOMMENDED&useRewards=false&semdtl=&userIntent=&vip=false",
                  "__typename": "HttpURI"
                },
                "__typename": "LodgingLink"
              },
              "value": "View search results",
              "__typename": "LodgingLinkMessage"
            },
            "__typename": "LodgingComplexLinkMessage"
          },
          "singleUnitOffer": null,
          "singleUnitOfferDialog": null,
          "stickyBar": {
            "qualifier": null,
            "subText": null,
            "price": null,
            "propertyPrice": null,
            "__typename": "PropertyDetailsStickyBar",
            "pricePresentationDialog": null,
            "pricePresentation": null,
            "structuredData": null,
            "tnlFields": null,
            "stickyButton": {
              "text": "Check availability",
              "targetRef": "AVAILABILITY_CALENDAR_START_DATE",
              "adaptExSuccessActionTracking": null,
              "analytics": {
                "linkName": "Sticky Book Button",
                "referrerId": "StickyBookButton",
                "__typename": "ClientSideAnalytics"
              },
              "__typename": "LodgingStickyButton"
            },
            "button": null
          },
          "shoppingContext": null,
          "spaceDetails": null,
          "propertySearchLink": {
            "icon": {
              "id": "arrow_back",
              "__typename": "Icon"
            },
            "link": {
              "clientSideAnalytics": {
                "referrerId": "PDP",
                "linkName": "Back to Search Results",
                "__typename": "ClientSideAnalytics"
              },
              "uri": {
                "relativePath": "/Hotel-Search?regionId=3095&destination=Santiago%2C+Santiago+Metropolitan+Region%2C+Chile&startDate=2025-11-18&endDate=2025-11-19&selected=105647757&adults=2&children=&sort=RECOMMENDED&useRewards=false&semdtl=&userIntent=&vip=false",
                "value": "http://www.expedia.com/Hotel-Search?regionId=3095&destination=Santiago%2C+Santiago+Metropolitan+Region%2C+Chile&startDate=2025-11-18&endDate=2025-11-19&selected=105647757&adults=2&children=&sort=RECOMMENDED&useRewards=false&semdtl=&userIntent=&vip=false",
                "__typename": "HttpURI"
              },
              "referrerId": "PDP",
              "__typename": "LodgingLink"
            },
            "value": "See all properties",
            "__typename": "LodgingLinkMessage"
          },
          "partnerPropertySearchLink": null,
          "loyaltyDiscount": null,
          "legalDisclaimer": null,
          "highlightedBenefits": null,
          "lodgingOneKeyBurnSwitch": null,
          "unitsCarousel": null,
          "availableInsurtechPrimings": null,
          "contents": null,
          "shoppingJoinListContainer": null
        }
      },
      "extensions": {
        "analytics": [],
        "trace": {
          "Trace-ID": "18bd10a5-18bf-4f33-9d21-586bd2270b29"
        }
      }
    },
    {
      "data": {
        "offersTravelerSelector": null
      },
      "extensions": {
        "analytics": [],
        "trace": {
          "Trace-ID": "18bd10a5-18bf-4f33-9d21-586bd2270b29"
        }
      }
    },
    {
      "data": {
        "propertyOffers": {
          "id": "105647757",
          "__typename": "OfferDetails",
          "categorizedListings": null,
          "clickstreamEvents": [
            "{\"metadata\":{\"packer_version\":\"1.0.1\"},\"events\":{\"price_request_fee_inclusive_pricing.submitted\":{\"v1\":{\"event_data\":{\"event\":{\"event_name\":\"price_request_fee_inclusive_pricing.submitted\",\"event_version\":\"1.0.0\",\"event_category\":\"search\",\"event_type\":\"Outcome\",\"action_reason\":\"CA\"}}}}}}"
          ],
          "errorMessage": {
            "title": {
              "text": "Sorry, we're having trouble finding prices and availability. Please refresh the page and try again.",
              "__typename": "MessagingResultTitle"
            },
            "action": null,
            "__typename": "MessageResult"
          },
          "experimentalOfferCategoriesSection": null,
          "experimentalUpgradeNudgeRoom": null,
          "googleStructuredData": null,
          "insurtechPrimingCardCategorizedListing": null,
          "listingsHeader": {
            "text": "Choose your room",
            "label": null,
            "subText": null,
            "accessibilityLabel": null,
            "__typename": "LodgingHeader"
          },
          "offerAdaptExSuccessEvents": [],
          "offerFilters": null,
          "offerLevelMessages": [],
          "rateMessagingCard": null,
          "shoppingContext": null,
          "tnlFields": [],
          "contents": null,
          "shoppingJoinListContainer": null
        }
      },
      "extensions": {
        "analytics": [],
        "trace": {
          "Trace-ID": "18bd10a5-18bf-4f33-9d21-586bd2270b29"
        }
      }
    }
  ]
}