HTS APIs
Every endpoint, schema and error code, rendered from the published OpenAPI files, in the order you integrate them.
geo_query_location
The geographic selector.
Best Practices for Efficiency:
- Interactive Use: For sub-second response times, utilize Circles < 50km or Bounding Boxes < 1 square degree.
- Asynchronous Crawling: Larger areas (up to system limits) should be used with
page_size>= 100 to minimize the number of round-trips.
Fields
The geographic selector.
Best Practices for Efficiency:
- Interactive Use: For sub-second response times, utilize Circles < 50km or Bounding Boxes < 1 square degree.
- Asynchronous Crawling: Larger areas (up to system limits) should be used with
page_size>= 100 to minimize the number of round-trips.
type:iata (iata_code) iata_code
typeMust be set to iata.
This field identifies the selector as an airport code and determines the schema requirements.
iata · Example iataairport_codeThe 3-letter identifier (e.g., LAX, SFO). Must be strictly uppercase.
^[A-Z]{3}$ · Example JFKbounding_box (bounding_box) bounding_box
typeMust be set to bounding_box.
This field identifies the selector as a rectangular area.
bounding_box · Example bounding_boxsouthwestGeographic coordinates
Show fields
latitudeLatitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
40.7128longitudeLongitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
-74.006northeastGeographic coordinates
Show fields
latitudeLatitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
40.7128longitudeLongitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
-74.006polygon (geo_json_polygon) geo_json_polygon
typeMust be set to polygon.
This field identifies the selector as a GeoJSON geometry.
polygon · Example polygoncoordinatesAn array of linear ring coordinate arrays.
- Index 0: Exterior ring (boundary).
- Index 1+: Interior rings (holes).
centerGeographic coordinates
Show fields
latitudeLatitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
40.7128longitudeLongitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
-74.006circle (circle) circle
typeMust be set to circle.
This field identifies the selector as a radial area.
circle · Example circlecenterGeographic coordinates
Show fields
latitudeLatitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
40.7128longitudeLongitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.
-74.006radiusThe distance measurement defining the search extent from the center.
Show fields
valueThe magnitude of the distance. When converted to meters, must be between 1000 m and 100 km (100,000 m) inclusive. The allowed numeric range depends on the unit (e.g., 1–100 km, 1000–100000 m).
5unitThe unit of measurement.
mkmmift · Example km{
"type": "iata",
"airport_code": "JFK"
}