XAP Download URL API V0
Guidance and examples for accessing the XAP Download URL API V0
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
Method | Endpoint |
---|---|
GET | https://apim.expedia.com/feed/downloadUrl |
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.
Example Request and Response
Static File Download URL request
https://apim.expedia.com/feed/downloadUrl?locale=cs-CZ&type=Summary
Static File Download URL response
{
"downloadUrl": "https://ews-generated-feeds-prod-p.s3.us-west-2.amazonaws.com/hotels/common/summary/expedia-lodging-summary-cs_cz-all.zip?X-Amz-Security-Token=xxxxxxxxxxx"
}
Error Codes
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.