Skip to main content
Piloterr
Back to library

Expedia Ad API

Fetch one Expedia hotel from its information URL: name, postal address, and amenity groups.

Active2 credits = 1 requestGET/v2/expedia/ad

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Read one Expedia hotel from its information URL. Use a results[].url from Expedia Search.

QuickstartLink to Quickstart

Hotel URL

GET https://api.piloterr.com/v2/expedia/ad?query=https://www.expedia.com/New-York-Hotels-Hilton-New-York-Fashion-District.h3117215.Hotel-Information

ParametersLink to Parameters

Parameter Type Required Default What to pass What changes in the JSON
query string yes empty, which returns 400 An Expedia hotel information URL The body is one flat hotel. hotel_id is the digits in .h{id}.Hotel-Information when that pattern is present, otherwise null. url drops the query string. address comes from the page microdata. amenities lists the groups found on the page.

Response fieldsLink to Response fields

name is the property name. address can include street, city, region, postal_code, and country. Each amenity has name and items.

Use casesLink to Use cases

  • Attach a street address to a hotel from search
  • List on-site amenities
  • Check that a hotel id still resolves

Error codesLink to Error codes

Code Meaning
400 Empty query or a URL outside Expedia
404 The page has no hotel name
500 The page could not be rendered

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included