API reference

HTS APIs

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

Schema

circle

A circular geographic area defined by a center point and a radius.

Coordinate System: WGS 84 (EPSG:4326) using {latitude, longitude} objects. Note: This object uses Key-Value pairs, unlike GeoJSON arrays.

Constraints:

  • Minimum Radius: The radius when converted to meters must be at least 1000 m (1 km).
  • Maximum Radius: The radius when converted to meters must not exceed 100 km (100,000 m). Requests outside this range will be rejected.

Fields

type
string enum
required

Must be set to circle. This field identifies the selector as a radial area.

Values circle · Example circle
center
coordinates
required

Geographic coordinates

Show fields
latitude
number
required

Latitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.

Range ≥ -90, ≤ 90 · Example 40.7128
longitude
number
required

Longitude coordinate. Note: Precision is capped at 6 decimal places (~11cm). Higher precision is truncated.

Range ≥ -180, ≤ 180 · Example -74.006
radius
Radius
required

The distance measurement defining the search extent from the center.

Show fields
value
number
required

The 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).

Range ≥ 0, ≤ 500000 · Example 5
unit
string enum
required

The unit of measurement.

Values mkmmift · Example km
Example
{
  "type": "circle",
  "center": {
    "latitude": 40.7128,
    "longitude": -74.006
  },
  "radius": {
    "value": 5,
    "unit": "km"
  }
}