API reference

HTS APIs

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

Schema

location_request

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

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
Example
{
  "type": "airport",
  "iata": "MIA"
}