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
typestring enum
required
The type of location.
Values
airportiatastring
required
The IATA airport code (e.g., "JFK", "MIA").
Pattern
^[A-Z]{3}$ · Example MIAVariant 2 object
typestring enum
required
The type of location.
Values
bounding_boxnorth_eastobject
required
Geographic coordinates of the location.
Show fields
latitudenumber · double
required
The latitude coordinate of the location.
Example
34.052235longitudenumber · double
required
The longitude coordinate of the location.
Example
-118.243683south_westobject
required
Geographic coordinates of the location.
Show fields
latitudenumber · double
required
The latitude coordinate of the location.
Example
34.052235longitudenumber · double
required
The longitude coordinate of the location.
Example
-118.243683Example
{
"type": "airport",
"iata": "MIA"
}