oslew docs
Console
Menu

Conventions

The same rules hold across every route. Where a route breaks one, it is because it speaks someone else's format, and this page says which.

Coordinates in: lat,lon

Every point a native route takes — at, near, from, to — is one string, latitude first, in decimal degrees: 19.4326,-99.1332. A list of points —points, path — is the same, joined with semicolons:19.4406,-99.2047;19.4326,-99.1332. Latitude must be within ±90 and longitude within ±180; anything else is a 400.

The one native exception is satellite scenes: a bbox there is a STAC bounding box and follows STAC's order, below.

Axis order, everywhere it appears

WhereOrder
Every native point parameter: at, near, from, to, points, pathlat,lon
Result positions: lat and lon fieldsnamed, so no order
Echoed points — at, near, from, to in an answer[lat, lon]
Route, match and optimise geometry; isochrone polygon[lat, lon] pairs
A result's bbox, a postcode's bbox, an isochrone cell's bbox[lat_lo, lat_hi, lng_lo, lng_hi]
/v1/scenes bbox parameter, and a scene's bboxlng_lo,lat_lo,lng_hi,lat_hi (STAC)
A scene's geometry[lng, lat] rings (GeoJSON)
Mapbox compatibility: the reverse path segment, center, bboxlon,lat; bbox west, south, east, north (Mapbox's)
Google compatibility: latlnglat,lng (Google's)
Nominatim and LocationIQ compatibility: boundingboxfour strings, lat_lo, lat_hi, lng_lo, lng_hi (Nominatim's)
TileJSON center and boundslon, lat (TileJSON's)

Units

Suffix or fieldUnit
_m — distance_m, precision_m, radius_m, accuracy_m, elevation_mmetres
_s — duration_s, durations_s, utc_offset_s, remaining_s, delay_sseconds
_kmh — speed_limit_kmhkilometres per hour
_kn — mean_sog_knknots
took_usmicroseconds of the server's own work, not including the network
AIS sog and cogtenths of a knot and tenths of a degree, as AIS encodes them. "Not available" arrives as AIS's own codes or as 65535, depending on the source; see vessels and tracks for decoding both
Raster valuethe layer's own units, named in the answer

Times are unix seconds

Every time parameter and every time in an answer is whole seconds since 1970-01-01 UTC — timestamp,time, from, to, created_at. Where a time is absent it means now, except where the reference says otherwise (a time series defaults to the feed's own end). Local time is never guessed: a transit answer names the feed's time zone, and /v1/timezone gives the offsets at any point.

Parameters

  • Booleans are true or false.
  • Enumerations are lowercase and exact: profile=walking, not Walking or walk.
  • Ranges are clamped: limit, seconds, level, samples and the radii are pulled into their range rather than refused. The range of each is on its reference page.
  • Unknown parameters are ignored, not refused — so a misspelt one behaves as if it had not been sent. See errors.
  • Text is UTF-8, URL-encoded in a query string. Accents, case and punctuation do not have to match: Zocalo finds Zócalo.

Fields every answer carries

FieldIs
provenance{name, release, license}: which dataset, which release of it, and its licence code. Per result where results come from different sources. See data and licensing.
took_usServer time for this request, in microseconds.
docA row's ordinal inside the segment that answered. Useful to tell two results apart in one answer; not a stable id — it changes when the data is rebuilt.

A few answers also report how the index worked — examined, postings,segments, store_requests, store_bytes. They are there for debugging and benchmarking; store_requests and store_bytes count since the serving process started, not for your request, so do not read them as a cost.

Which store answered: epoch and release

Geocode, validate and everything-at-a-point answers carry epoch and release.release names the data release the store was built from, such as 2026-08-19.0;epoch counts every change to the store, including the hourly weather. Store them with a result you keep, and you can tell later which data it came from.

  • release=… on a geocode makes the service refuse with 400 rather than answer from any other release: for a pipeline that must not mix two.
  • epoch=… asks for an earlier epoch. A deployment answers it only if it keeps earlier epochs, and refuses with 400 otherwise; do not build on it unless your contract says the epochs are kept.

To keep evidence of an answer rather than just its release, ask for a receipt.

Cells and levels

Where an answer is about an area rather than a point — an isochrone, vessel density, a near filter — it is built from cells of a fixed hierarchy, and a level parameter chooses their size. Seecells and levels.