API reference

HTS APIs

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

Schema

location

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

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
Example
{
  "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"
}