Car Details API

Guidance and examples for accessing the Car Details API

Use the Car Details API to search extended information about the rates, charges, fees, and other terms associated with a single car offer.

Endpoint

MethodEndpointPrerequisite
GEThttps://apim.expedia.com/cars/details/[offerToken]To complete a Details API call you must have an offerToken from the Search API

Required Headers

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

Optional Headers

Accept-Encoding:gzip

More info on gzip.

Next Steps

  • Book selected car for customer via the Car Booking API.

Example of Details Request

https://apim.expedia.com/cars/details/AQAQAQLRhGIM3YBCjN2AQw1pGEATiWqIQBQANIAVCVIogBAZgB7ssFsAECwAEU?price=12.33&currency=USD

Error Codes

Common Error Codes

HTTP Status CodeError CodeError Message
500APPLICATION_ERRORApplication error.
400INVALID_ACCEPT Accept is either missing or invalid. Please provide a correct Accept as following: Accept:application/vnd.exp-<product>.<version>+<format> (product={car,flight,hotel},version={v3},format={json}).
400Only one Accept is allowed.
400INVALID_PARTNER_TRANSACTION_ID Partner-Transaction-Id is missing.
400Only one Partner-Transaction-Id is allowed.
400INVALID_CLIENT_KEY Invalid client key: [ client key value ].
400Only one Key is allowed.
400INVALID_NATURAL_KEYInvalid natural key: [ value ]
400CAR_NOT_AVAILABLECar product is not available.
400INVALID_PRICEThe price is missing or invalid.
400INVALID_CURRENCYThe currency is missing or invalid. Supported currency is: [POS currency].

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!