XAP Download URL API V1

Guidance and examples for accessing the XAP Download URL API V1

This Download URL API allows a user to request a secure, one-use URL to download a requested version of a Static Data Download file.

Endpoint

MethodEndpoint
GEThttps://apim.expedia.com/feed/v1/download-url

Required Headers

Key:Expedia API key
Authorization:Expedia API Authorization String
Accept:application/vnd.exp-lodging.v1+json
Partner-Transaction-Id:Partner TransactionID String

Next Steps

  • Use returned URL to download requested data file.

Request Message

Parameter NameExampleTypeRequiredDefaultDeprecatedDescription
type?type=SUMMARYStringYesNoneNoRefers to which data file you are trying to download:
(only one parameter may be included per query)
List of types:
  • DESTINATION (Deprecated)
  • VENDORLOGO
  • SUMMARY
  • LISTINGS
  • IMAGES
  • AMENITIES
  • LOCATIONS
  • DESCRIPTIONS
  • POLICIES
  • GUEST_REVIEW
  • VACATION_RENTAL
  • ALL_REGIONS
  • BOUNDING_POLYGON
  • HOTEL_TO_REGION_HIERARCHY
  • ROOM_DETAILS
locale?locale=en-USStringNoen-USNoThe value default to 'en-US'.
The locale value for the language that you would like to download.
You may only request one language per Download API request.
For the feed files that support localization, Use this parameter to help filter out the localization files you want to download.
If not using this parameter, then this API will return the files with en-US locale for specified type.
If the specified type of file is not supported localization, there is no file will be returned.
pointOfSupply?pointOfSupply=CAStringNoNoneNoThe point of supply means a country generally. The downloadable files provided after specifying will only contain properties' information for that country.
You may only request one pointOfSupply per Download API request.
Values may only be one of the pintOfSupply listed below:
  • US
  • AT
  • BR
  • CA
  • FR
  • DE
  • GR
  • IT
  • JP
  • KR
  • MX
  • PT
  • ES
  • TR
  • AE
  • GB
lodgingType?lodgingType=CLStringNoNoneNoThe lodging type also means structure type, it only can be CL(Conventional Lodging) and VR(Vacation Rental). The downloadable files provided after specifying will only contain property information for that lodging type.
You may only request one lodgingType per Download API request.
Values may only be one of the lodgingTypes listed below:
  • CL
  • VR
brand?brand=VRBOStringNoNoneNoThe downloadable files provided after specifying will only contain property information for that brand.
You may only request one brand per Download API request.
Values may only be one of the brands listed below
  • VRBO
  • HCOM
  • BEX
includeOtherFileOptionsincludeOtherFileOptions=trueBooleanNofalseNoControls whether or not otherFileOptions are included in the response, default value is 'false' because this is not required for most of the partners so we use it to control it by using a parameter.

Response Message

Warning Response - No Results

SectionName ExampleTypeNullableDescription
TransactionId 38dc7269-12b1-58c9-a381-4963c274cdfeStringNoUnique identifier for each API response or the echo of the Partner-Transaction-Id given in the request header.
Warning NoContainer for warning messages.
CodeNOT_FOUND_FILESStringNoWarning message code.
DescriptionNo files found that match the requested parameters. Please change the parameter(s) to get the required file.StringNoWarning message description.

Warning Response - No Permission

SectionName ExampleTypeNullableDescription
TransactionId 4f6eee5e-b173-4f71-b3d4-cd69a5c7d12fStringNoUnique identifier for each API response or the echo of the Partner-Transaction-Id given in the request header.
Warning NoContainer for warning messages.
CodeFEED_FILE_ACCESS_RESTRICTEDStringNoWarning message code.
DescriptionYou do not have permission to access this file type. Please contact your account manager or support team.StringNoWarning message description.

Error Response - Server Error

SectionName ExampleTypeNullableDescription
TransactionId 38dc7269-12b1-58c9-a381-4963c274cdfeStringNoUnique identifier for each API response or the echo of the Partner-Transaction-Id given in the request header.
Error NoContainer for error messages.
CodeSERVER_ERRORStringNoError message code.
DescriptionAn error has occurred while processing the request.StringNoError message description.

Success Response

SectionNameExampleTypeNullableDescription
TransactionId38dc7269-12b1-58c9-a381-4963c274cdfeStringNoUnique identifier for each API response or the echo of the Partner-Transaction-Id given in the request header.
BestMatchedFile{
"fileContentType": "Summary",
"locale": "en-US",
"fileName": "lodging-summary-en_us-all.jsonl.zip",
"size": {
"unit": "MB",
"size": 340.66
},
"fileLastUpdated": "Mon Aug 18 15:27:55 UTC 2025",
"downloadUrl": "https://feeds.s3.us-west-2.amazonaws.com/lodging-summary-en_us-all.jsonl.zip?X-Amz-Security-Token=...",
"downloadUrlExpires": "Mon Aug 18 16:30:12 UTC 2025"
}
FileInfoYesContainer for the file details.
OtherFileOptions[
{
"fileContentType": "Summary",
"locale": "en-US",
"fileName": "lodging-summary_vrbo_en_us.jsonl.zip",
"size": {
"unit": "MB",
"size": 282.96
},
"fileLastUpdated": "Thu Aug 14 16:18:02 UTC 2025",
"downloadUrl": "https://feeds.s3.us-west-2.amazonaws.com/lodging-summary_vrbo_en_us.jsonl.zip?X-Amz-Security-Token=...",
"downloadUrlExpires": "Mon Aug 18 14:49:16 UTC 2025",
"filterConditions": {
"brand": "VRBO"
},
"bestMatchedLink": {
"href": "https://apim.expedia.com/feed/v1/download-url?type=SUMMARY&locale=en-US&brand=VRBO",
"method": "GET"
}
}
]
List<FileInfo>NoContainer for the file details about the other file options.

FileInfo

SectionName ExampleTypeNullableDescription
FileContentType SummaryStringYesThe type associated with the file content.
List of types:
  • Amenities
  • Descriptions
  • Images
  • Listings
  • Locations
  • Policies
  • Regions
  • Reviews
  • Summary
  • VacationRental
  • AllRegions
  • BoundingPolygon
  • HotelToRegionHierarchy
  • RoomDetails
Locale en-USStringYesThe locale associated with the file content.
FileName expedia-lodging-summary-en_us-all.jsonl.zipStringNoFile name.
FileSize ObjectNoThe information about the file size.
UnitMBStringNoSize unit, support list:
  • KB
  • MB
  • GB
Value61.32DoubleNoFile size.
FileLastUpdated Thu Aug 14 16:18:02 UTC 2025StringNoTime with file last updated.
DownloadUrl https://feeds.s3.us-west-2.amazonaws.com/lodging-summary-en_us-all.jsonl.zip?X-Amz-Security-Token=...StringNoPre-signed URL is a self signed URL generated for a resource in S3 with a set expiration time.
DownloadUrlExpires Mon Aug 18 15:26:41 UTC 2025StringNoTime with the download Url expires.
FilterConditions ObjectNoContainer filter condition for the filtered file.
PointOfSupplyATStringYesList of filter condition for PointOfSupplies:
  • US
  • AT
  • BR
  • CA
  • FR
  • DE
  • GR
  • IT
  • JP
  • KR
  • MX
  • PT
  • ES
  • TR
  • AE
  • GB
BrandVRBOStringYesList of filter condition for Brands:
  • VRBO
  • HCOM
  • BEX
StructureTypeVRStringYesList of filter condition for StructureTypes:
  • VR
  • CONVENTIONAL
bestMatchedLink ObjectYesContains link information, including link address, request method. Only provided if FileInfo is in OtherFileOptions.
Hrefhttps://apim.expedia.com/feed/v1/download-url?type=SUMMARY&locale=en-US&brand=VRBOStringNoa link address.
MethodGETStringNoRequest method.

Example Request and Response

Example 1

Get Static File Download URL request

https://apim.expedia.com/feed/v1/download-url?type=SUMMARY&locale=en-GB

Note: Non-functional credentials are included for demonstration only.

Get Static File Download URL response

{
  "transactionId": "c3f9fce0-1bc5-4d6f-b83e-33178ea9ac66",
  "bestMatchedFile": {
    "fileContentType": "Summary",
    "locale": "en-GB",
    "fileName": "lodging-summary-en_gb-all.jsonl.zip",
    "size": {
      "unit": "MB",
      "size": 340.9
    },
    "fileLastUpdated": "Thu Aug 14 15:22:59 UTC 2025",
    "downloadUrl": "https://feeds.s3.us-west-2.amazonaws.com/lodging-summary-en_gb-all.jsonl.zip?X-Amz-Security-Token=...",
    "downloadUrlExpires": "Mon Aug 18 15:45:32 UTC 2025"
    }
}

Example 2

Get Static File Download URL request

https://apim.expedia.com/feed/v1/download-url?type=SUMMARY

Note: Non-functional credentials are included for demonstration only.

Get Static File Download URL response

{
    "transactionId": "c3f9fce0-1bc5-4d6f-b83e-33178ea9ac66",
    "bestMatchedFile": {
        "fileContentType": "Summary",
        "locale": "en-US",
        "fileName": "lodging-summary-en_us-all.jsonl.zip",
        "size": {
            "unit": "MB",
            "size": 342.54
        },
        "fileLastUpdated": "Thu Aug 14 16:18:02 UTC 2025",
        "downloadUrl": "https://feeds.s3.us-west-2.amazonaws.com/lodging-summary-en_us-all.jsonl.zip?X-Amz-Security-Token=...",
        "downloadUrlExpires": "Mon Aug 18 15:46:22 UTC 2025"
    }
}

Error Responses

Common Error Codes

HTTP Status CodeError CodeError ResponseCause
400INVALID_TYPE_ATTRInvalid type provided.The type parameter is out of our support list of the type.

The type list of what we support:
  • DESTINATION
  • VENDORLOGO
  • SUMMARY
  • LISTINGS
  • IMAGES
  • AMENITIES
  • LOCATIONS
  • DESCRIPTIONS
  • POLICIES
  • GUEST_REVIEW
  • VACATION_RENTAL
  • ALL_REGIONS
  • BOUNDING_POLYGON
  • HOTEL_TO_REGION_HIERARCHY
  • ROOM_DETAILS
400INVALID_BRAND_ATTRInvalid Brand provided.Its value only can be one of BEX, HCOM, VRBO.
400INVALID_POINT_OF_SUPPLY_ATTRInvalid PointOfSupply provided.Its value only can be one of US, AT, BR, CA, FR, DE, GR, IT, JP, KR, MX, PT, ES, TR, AE, GB.
400INVALID_LODGING_TYPE_ATTRInvalid LodgingType provided.Its value only can be one of VR, CL.
401NoneUnauthorized

or

Invalid authentication credentials.
Unauthorized or Invalid authentication credentials.
403NoneYou cannot consume this service.Cannot consume this service.
403FEED_FILE_ACCESS_RESTRICTEDYou do not have permission to access this file type. Please contact your account manager or support team.Don't have permission to access this file type.
404Noneno Route matched with those values.No Route matched.
404NOT_FOUND_FILESNo files found that match the requested parameters. Please change the parameter(s) to get the required file.No files found that match the requested parameters.
429NoneAPI rate limit exceeded.API rate limit exceeded. If you need to adjust it, pelase refer to the following to create a request: https://expediamanagement.zendesk.com/hc/en-us/articles/115015994888
500SERVER_ERRORAn error has occurred while processing the request.There is a server-side issue that has resulted in a failure.
503Nonename resolution failed.Service unavailable.

API details

Here, you can explore the endpoint definitions for this API, then go to the API Explorer to try out all the XAP endpoints, download OpenAPI specs, or download our Postman collections. Testing with one or all of these options will give you an understanding of how the examples and schema definitions compare to the actual output.


Did you find this page helpful?
How can we improve this content?
Thank you for helping us improve!