← Back to marketplace

Expedia Hotels Flights Cars and Activities Data

Expedia hotel stays, flights, rental cars, vacation packages and activities across regional Expedia domains, one row per entity.

travel
by kaneliu101 endpoint100% uptime208ms avg

Endpoints

POST/v1/search
$0.0500/req

Search Expedia hotels, flights and travel offers

Request schema

destinationstring

Destination. City or region for hotels, cars, packages or activities, or the arrival city or airport for flights. An empty input uses the small hotel example.

regionIdstring

Region ID. Numeric Expedia region identifier, such as 178293 for New York. Use it to specify or refine a destination; flights still require destination text.

servicestring

Travel service. Choose hotels, flights, cars, packages or activities. Hotels work only on www.expedia.com, www.expedia.ca, www.expedia.de and www.expedia.com.hk. Flights require an origin and destination, and packages require an origin plus a destination or region ID.

originstring

Origin. Departure city or airport, such as JFK or Chicago (ORD). Required for flights and vacation packages; not used for hotels, cars or activities.

domainstring

Expedia Domain. Regional Expedia host (e.g. www.expedia.com, www.expedia.co.uk, www.expedia.com.au). Hotels work only on www.expedia.com, www.expedia.ca, www.expedia.de and www.expedia.com.hk; other hosts are refused for hotels.

checkinstring

Check-in / Pickup Date. YYYY-MM-DD for hotels, cars and packages, today or later. Leave empty to search 3 weeks from today.

checkoutstring

Check-out / Dropoff Date. YYYY-MM-DD, after the check-in date. Leave empty for a 2-night stay.

departureDatestring

Flight Departure Date. YYYY-MM-DD for flights, today or later. Leave empty for 4 weeks from today.

returnDatestring

Flight Return Date. YYYY-MM-DD when tripType=roundtrip, after the departure date. Leave empty for a 7-day trip.

tripTypestring

Flight Trip Type. oneway or roundtrip for flights

adultsinteger

Adults. Number of adult travelers

childreninteger

Children. Number of children

roomsinteger

Rooms. Number of hotel rooms

maxResultsinteger

Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).

currencystring

Currency. Optional ISO currency override. Leave empty to derive it from the Expedia domain.

localestring

Locale. Optional Expedia locale override (e.g. en_US). Leave empty to derive it from the domain.

sortstring

Hotel Sort. Hotel result order, such as RECOMMENDED. Leave the default unless you know the Expedia sort value you need.

includeSponsoredboolean

Include Sponsored Ads. Include sponsored ad cards in results on the HTML page lanes; the primary JSON channel serves no sponsored cards, so nothing is filtered there.

requestIdstring

Optional. Your id for this request: repeating it while the job runs returns the same job.

Response schema

{
  "allOf": [
    {
      "type": "object",
      "properties": {
        "jobId": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "queued",
            "running",
            "succeeded",
            "partial",
            "failed",
            "cancelled"
          ]
        },
        "done": {
          "type": "boolean"
        },
        "rowsAvailable": {
          "type": "integer"
        },
        "rowsDelivered": {
          "type": "integer",
          "description": "Rows already delivered (and billed) to you for this job."
        },
        "rowsLimit": {
          "type": "integer",
          "description": "Most rows this job can deliver."
        },
        "estimatedFinishSec": {
          "type": "integer",
          "description": "While running: estimated seconds until done."
        },
        "statusUrl": {
          "type": "string"
        },
        "resultsUrl": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "retentionHours": {
          "type": "integer"
        },
        "error": {
          "$ref": "#/components/schemas/ErrorDetail"
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "offset": {
          "type": "integer"
        },
        "nextOffset": {
          "type": "integer"
        },
        "hasMore": {
          "type": "boolean"
        },
        "rowCount": {
          "type": "integer"
        },
        "rowsBilled": {
          "type": "integer",
          "description": "Rows delivered by this response."
        },
        "rows": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/Row"
          }
        },
        "meta": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  ]
}

Quick start

Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.

# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call this service
npx @apihubio/cli call "https://proxy.apihub.io/expedia-com/v1/search" \
  -d '{"destination":"Tulsa, OK","regionId":"example regionId","service":"hotels","origin":"example origin","domain":"www.expedia.com","checkin":"example checkin","checkout":"example checkout","departureDate":"example departureDate","returnDate":"example returnDate","tripType":"oneway","adults":2,"children":0,"rooms":1,"maxResults":3,"currency":"","locale":"","sort":"RECOMMENDED","includeSponsored":false,"requestId":"example requestId"}'

Or call the proxy directly (curl / any HTTP client):

curl -X POST https://proxy.apihub.io/expedia-com/v1/search \
  -H "Authorization: Bearer ahk_your_key" \
  -H "Content-Type: application/json" \
  -d '{"destination":"Tulsa, OK","regionId":"example regionId","service":"hotels","origin":"example origin","domain":"www.expedia.com","checkin":"example checkin","checkout":"example checkout","departureDate":"example departureDate","returnDate":"example returnDate","tripType":"oneway","adults":2,"children":0,"rooms":1,"maxResults":3,"currency":"","locale":"","sort":"RECOMMENDED","includeSponsored":false,"requestId":"example requestId"}'

# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)

Pricing calculator

Estimate your monthly cost for Expedia Hotels Flights Cars and Activities Data.

POST /v1/search$0.0500/req
-