API reference

HTS APIs

Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.

PUT/api/cars/v1/shopShop

Shop for available car rental offers.

https://travel-distribution.staging.htsapis.com/api/cars/v1/shop

Designed to retrieve a list of available car rental offers. It takes detailed criteria, including pickup/drop-off locations and dates, driver age, and user preferences, and returns a comprehensive list of matching offers. This endpoint serves as the primary entry point for users to discover and compare car rental options.

Request body application/json · required

Request body for fetching vehicle availability.

request_id
string · uuid
required

Unique identifier of the specific request. Use this identifier when you need to refer to a specific request, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
driver_age
integer
required

The age of the primary driver.

Range ≥ 18 · Example 30
pickup
object
required

Details for the vehicle pickup.

Show fields
local_date_time
string
required

The local date and time in ISO 8601 format. Note: Any information after the minutes (e.g., seconds, time zone) will be discarded.

Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}.*$ · Example 2026-01-21T10:30
location
one of 2
required

Represents a physical location for vehicle pick-up or drop-off.

Show fields

Represents a physical location for vehicle pick-up or drop-off.

Exactly one of the following, selected by type:
Variant 1 object
type
string enum
required

The type of location.

Values airport
iata
string
required

The IATA airport code (e.g., "JFK", "MIA").

Pattern ^[A-Z]{3}$ · Example MIA
Variant 2 object
type
string enum
required

The type of location.

Values bounding_box
north_east
object
required

Geographic coordinates of the location.

Show fields
latitude
number · double
required

The latitude coordinate of the location.

Example 34.052235
longitude
number · double
required

The longitude coordinate of the location.

Example -118.243683
south_west
object
required

Geographic coordinates of the location.

Show fields
latitude
number · double
required

The latitude coordinate of the location.

Example 34.052235
longitude
number · double
required

The longitude coordinate of the location.

Example -118.243683
dropoff
object
required

Details for the vehicle drop-off.

Show fields
local_date_time
string
required

The local date and time in ISO 8601 format. Note: Any information after the minutes (e.g., seconds, time zone) will be discarded.

Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}.*$ · Example 2026-01-21T10:30
location
one of 2
required

Represents a physical location for vehicle pick-up or drop-off.

Show fields

Represents a physical location for vehicle pick-up or drop-off.

Exactly one of the following, selected by type:
Variant 1 object
type
string enum
required

The type of location.

Values airport
iata
string
required

The IATA airport code (e.g., "JFK", "MIA").

Pattern ^[A-Z]{3}$ · Example MIA
Variant 2 object
type
string enum
required

The type of location.

Values bounding_box
north_east
object
required

Geographic coordinates of the location.

Show fields
latitude
number · double
required

The latitude coordinate of the location.

Example 34.052235
longitude
number · double
required

The longitude coordinate of the location.

Example -118.243683
south_west
object
required

Geographic coordinates of the location.

Show fields
latitude
number · double
required

The latitude coordinate of the location.

Example 34.052235
longitude
number · double
required

The longitude coordinate of the location.

Example -118.243683
user_preferences
object
required

User-specific preferences for the response.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
language
string
required

The preferred language for the response (e.g., "en-US", "es-ES").

Pattern ^[a-z]{2}(-[A-Z]{2})?$ · Example en-US
point_of_sale
object
required

Description of the point of sale where the booking is made. This is typically the user's location.

Show fields
country
string
required

Country code (ISO 3166-1 alpha-2)

Pattern ^[A-Z]{2}$ · Example US

Responses

200List of available vehicle offers.
offers
array of object
required

A list of available vehicle rental offers.

Show fields
Array of object · A list of available vehicle rental offers.
rental_company
object
required

Represents the car rental company or partner providing the vehicle offer.

Show fields
id
string
required

A unique identifier for the vendor (e.g., internal code, Expedia ID).

Example AVS
name
string
required

The human-readable name of the vendor (e.g., "Avis", "Amadeus").

Example Avis Rent a Car
logo_url
string · uri
required

A URL to the rental company's official logo.

Example https://example.com/logos/avis.png
support_url
string · uri

A URL to the rental company's customer support or help page.

Example https://www.avis.com/en/help
pickup
object
required

Details for the vehicle pickup.

Show fields
local_date_time
string
required

The local date and time in ISO 8601 format. Note: Any information after the minutes (e.g., seconds, time zone) will be discarded.

Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}.*$ · Example 2026-01-21T10:30
location
object
required

Represents a physical location for vehicle pickup or drop-off.

Show fields
location_id
string
required

Reference ID for the location given for the vendor (e.g., "AVS_JFK01").

Example AVS_JFK01
name
string
required

The human-readable name of the location (e.g., "MIA Airport").

Example John F. Kennedy International Airport
address
object
required
Show fields
first_line
string
required

The first line of the street address.

Example JFK Airport Terminal 4
country
string
required

Country code (ISO 3166-1 alpha-2)

Pattern ^[A-Z]{2}$ · Example US
city
string
required

The city of the location.

Example New York
second_line
string

The second line of the street address, if applicable.

state_province
string

The code for the state or province ISO 3166-2 (e.g., "CA", "FL").

Pattern ^[A-Z0-9]{1,3}$ · Example CA
kind
string enum
required

The kind of pickup/drop-off (e.g., "Shuttle", "Airport", "Meet and Greet").

Values UnspecifiedAirportShuttleMeetAndGreet
coordinates
object

Geographic coordinates of the location.

Show fields
latitude
number · double
required

The latitude coordinate of the location.

Example 34.052235
longitude
number · double
required

The longitude coordinate of the location.

Example -118.243683
instructions
string

Specific instructions for pickup/drop-off.

iata
string

The IATA airport code if the location is an airport (e.g., "JFK", "MIA").

Pattern ^[A-Z]{3}$ · Example JFK
dropoff
object
required

Details for the vehicle drop-off.

Show fields
local_date_time
string
required

The local date and time in ISO 8601 format. Note: Any information after the minutes (e.g., seconds, time zone) will be discarded.

Pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}.*$ · Example 2026-01-21T10:30
location
object
required

Represents a physical location for vehicle pickup or drop-off.

Show fields
location_id
string
required

Reference ID for the location given for the vendor (e.g., "AVS_JFK01").

Example AVS_JFK01
name
string
required

The human-readable name of the location (e.g., "MIA Airport").

Example John F. Kennedy International Airport
address
object
required
Show fields
first_line
string
required

The first line of the street address.

Example JFK Airport Terminal 4
country
string
required

Country code (ISO 3166-1 alpha-2)

Pattern ^[A-Z]{2}$ · Example US
city
string
required

The city of the location.

Example New York
second_line
string

The second line of the street address, if applicable.

state_province
string

The code for the state or province ISO 3166-2 (e.g., "CA", "FL").

Pattern ^[A-Z0-9]{1,3}$ · Example CA
kind
string enum
required

The kind of pickup/drop-off (e.g., "Shuttle", "Airport", "Meet and Greet").

Values UnspecifiedAirportShuttleMeetAndGreet
coordinates
object

Geographic coordinates of the location.

Show fields
latitude
number · double
required

The latitude coordinate of the location.

Example 34.052235
longitude
number · double
required

The longitude coordinate of the location.

Example -118.243683
instructions
string

Specific instructions for pickup/drop-off.

iata
string

The IATA airport code if the location is an airport (e.g., "JFK", "MIA").

Pattern ^[A-Z]{3}$ · Example JFK
vehicle
object
required

The primary data structure that contains all the essential information about a car.

Show fields
description
string
required

A human-readable description of the vehicle, often including make and model.

acriss_code
string
required

The standardized ACRISS or SIPP code for the vehicle. See https://www.acraorg.com/acriss-sip-codes/ for more details.

Pattern ^[A-Z0-9]{4}$ · Example CCAR
luggage
object
required
Show fields
total
integer
required

The total number of bags the vehicle can hold, if a specific breakdown is not available or as a sum of small/large.

small
integer

The number of small bags the vehicle can hold.

medium
integer

The number of medium bags the vehicle can hold.

large
integer

The number of large bags the vehicle can hold.

transmission
string enum
required

The transmission type of the vehicle.

Values AutomaticManualCvtUnspecified
air_conditioning
boolean
required

Indicates whether the vehicle has air conditioning.

max_passengers
integer

The maximum number of passengers the vehicle can accommodate.

Range ≥ 1
doors
integer

The number of doors on the vehicle.

Range ≥ 1
images
object
Show fields
default
string · uri
required

The URL for the primary display image of the vehicle.

links
array of string · uri
required

A list of additional image URLs for the vehicle.

pricing
object
required

The car rental pricing details. The base + fee_summary.total = total price. The pay_now + pay_later = total price. The fees are not itemized by payments schedule (pay now vs pay later).

Show fields
base
object
required

The base rate for the rental, excluding fees and taxes across the payment schedule (both pay now and pay later).

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
fee_summary
object
required

An itemized list of fees and taxes that make up the total price. These fees are included in both the 'pay now' and 'pay later' amounts.

Show fields
fees
array of object
required
Show fields
Array of object
description
string
required

A description of the fee or tax.

line_item
object
required

The amount and currency for a chargeable item.

Show fields
…
total
object
required

The total amount for all fees and taxes.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
pay_now
object
required

The total amount to be paid at the time of booking.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
pay_later
object
required

The total amount to be paid at a later time (usually at the desk).

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
cancellation_policy
object
required

Defines the terms and conditions for canceling a vehicle rental.

Show fields
penalty_ranges
array of object
required
Items ≥ 1
Show fields
Array of object
Items ≥ 1
start_time
string · date-time
required

Start time of the penalty range (Inclusive), in ISO 8601 format.

end_time
string · date-time
required

End time of the penalty range (Exclusive), in ISO 8601 format.

penalty
object
required

Penalty amount withheld form the client upon cancellation.

Show fields
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
mileage_policy
one of 3
required

Defines the vehicle's mileage allowance and any associated overage charges.

Show fields

Defines the vehicle's mileage allowance and any associated overage charges.

Exactly one of the following, selected by type:
Variant 1 object
type
string enum
required

The type of mileage policy.

Values unlimited
Variant 2 object
type
string enum
required

The type of mileage policy.

Values limited
quantity
integer
required

The numerical value of the included mileage.

unit
string enum
required

The unit of distance for the included mileage.

Values mikm
Variant 3 object
type
string enum
required

The type of mileage policy when mileage is limited but specifics are not provided.

Values limited_unspecified
age_policy
object
required

The age requirements associated with the rental.

Show fields
minimum_age
integer

The minimum age required to rent the vehicle.

Example 21
quote_token
string
required

Opaque token used to initiate a quote request for this offer.

Example quote_12345
valid_until
string · date-time
required

ISO 8601 timestamp until which the quote token remains valid.

Example 2024-12-31T23:59:59Z
commission
object

Commission Hopper will pay out at the time of invoicing for a given rental.

Show fields
amount
string
required

Monetary amount value Serialized BigDecimal value

Example 123.45
currency
string
required

Currency code, in ISO 4217 format.

Pattern ^[A-Z]{3}$ · Example USD
response_id
string · uuid
required

Unique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
400Invalid Request. There will be an error code in the response detailing the issue.
error_code
string enum
required

A specific code identifying the type of error.

Values invalid_inputforbidden
description
string
required

A human-readable message providing more details about the error.

response_id
string · uuid
required

Unique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
Example
{
  "error_code": "invalid_input",
  "description": "string",
  "response_id": "123e4567-e89b-12d3-a456-426614174000"
}
500Internal server error
error_code
string enum
required

Error returned when an internal server error occurs.

Values internal_server_error · Example internal_server_error
description
string
required

A human-readable description of the error.

Example An unexpected error occurred.
response_id
string · uuid
required

Unique identifier of the specific response. Use this identifier when you need to refer to a specific response, when requiring technical support.

Example 123e4567-e89b-12d3-a456-426614174000
Example
{
  "error_code": "internal_server_error",
  "description": "An unexpected error occurred.",
  "response_id": "123e4567-e89b-12d3-a456-426614174000"
}
Request
curl -X PUT "https://travel-distribution.staging.htsapis.com/api/cars/v1/shop" \
  -H "HTS-API-KEY: $HTS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "request_id": "123e4567-e89b-12d3-a456-426614174000",
  "driver_age": 30,
  "pickup": {
    "local_date_time": "2026-01-21T10:30",
    "location": {
      "type": "airport",
      "iata": "MIA"
    }
  },
  "dropoff": {
    "local_date_time": "2026-01-21T10:30",
    "location": {
      "type": "airport",
      "iata": "MIA"
    }
  },
  "user_preferences": {
    "currency": "USD",
    "language": "en-US"
  },
  "point_of_sale": {
    "country": "US"
  }
}'
Response 200
{
  "offers": [
    {
      "rental_company": {
        "id": "AVS",
        "name": "Avis Rent a Car",
        "logo_url": "https://example.com/logos/avis.png",
        "support_url": "https://www.avis.com/en/help"
      },
      "pickup": {
        "local_date_time": "2026-01-21T10:30",
        "location": {
          "location_id": "AVS_JFK01",
          "name": "John F. Kennedy International Airport",
          "address": {
            "first_line": "JFK Airport Terminal 4",
            "second_line": "string",
            "country": "US",
            "city": "New York",
            "state_province": "CA"
          },
          "coordinates": {
            "latitude": 34.052235,
            "longitude": -118.243683
          },
          "instructions": "string",
          "kind": "Unspecified",
          "iata": "JFK"
        }
      },
      "dropoff": {
        "local_date_time": "2026-01-21T10:30",
        "location": {
          "location_id": "AVS_JFK01",
          "name": "John F. Kennedy International Airport",
          "address": {
            "first_line": "JFK Airport Terminal 4",
            "second_line": "string",
            "country": "US",
            "city": "New York",
            "state_province": "CA"
          },
          "coordinates": {
            "latitude": 34.052235,
            "longitude": -118.243683
          },
          "instructions": "string",
          "kind": "Unspecified",
          "iata": "JFK"
        }
      },
      "vehicle": {
        "description": "string",
        "acriss_code": "CCAR",
        "max_passengers": 1,
        "doors": 1,
        "luggage": {
          "small": 1,
          "medium": 1,
          "large": 1,
          "total": 1
        },
        "transmission": "Automatic",
        "air_conditioning": true,
        "images": {
          "default": "https://example.com",
          "links": [
            "https://example.com"
          ]
        }
      },
      "pricing": {
        "base": {
          "currency": "USD",
          "amount": "123.45"
        },
        "fee_summary": {
          "fees": [
            {
              "description": "string",
              "line_item": {}
            }
          ],
          "total": {
            "currency": "USD",
            "amount": "123.45"
          }
        },
        "pay_now": {
          "currency": "USD",
          "amount": "123.45"
        },
        "pay_later": {
          "currency": "USD",
          "amount": "123.45"
        }
      },
      "cancellation_policy": {
        "penalty_ranges": [
          {
            "start_time": "2025-01-21T00:00:00Z",
            "end_time": "2025-01-26T00:00:00Z",
            "penalty": {
              "currency": "USD",
              "amount": "0.00"
            }
          },
          {
            "start_time": "2025-01-26T00:00:00Z",
            "end_time": "2025-01-27T00:00:00Z",
            "penalty": {
              "currency": "USD",
              "amount": "75.00"
            }
          },
          {
            "start_time": "2025-01-27T00:00:00Z",
            "end_time": "2025-01-28T00:00:00Z",
            "penalty": {
              "currency": "USD",
              "amount": "135.00"
            }
          }
        ]
      },
      "mileage_policy": {
        "type": "unlimited"
      },
      "age_policy": {
        "minimum_age": 21
      },
      "commission": {
        "amount": "123.45",
        "currency": "USD"
      },
      "quote_token": "quote_12345",
      "valid_until": "2024-12-31T23:59:59Z"
    }
  ],
  "response_id": "123e4567-e89b-12d3-a456-426614174000"
}

Examples are generated from the schema where the spec publishes none; field values are illustrative.