Overview
The APIs
oslew is one location API with four products — Address, Search, Routing and Platform — and every endpoint on this page belongs to exactly one of them. A plan buys products, and each product it buys comes with its own sustained rate and burst. That is the whole pricing model: how fast you may call, never how many times. The Address plan is $99 a month for 20 requests a second sustained, burst 100, and nothing on it is used up or resets at the turn of a month.
How the products divide the surface
Address is the core and is on every plan, including Free: forward and reverse geocoding, address validation and normalisation, postcode lookup, time zones and batch files, plus the compatibility endpoints that answer in other providers' request shapes. Search adds the interactive half — autocomplete while a person types, and places near a point by category and opening hours. Routing adds roads: routes, travel-time matrices, isochrones, snapping and map matching, visit-order optimisation, and public-transport departures and journeys. Platform is everything else a location stack eventually needs — administrative boundaries, elevation and raster layers, weather and air quality, satellite scene search, vessel tracks, vector and static maps, and Wi-Fi and cell geolocation.
What every answer carries
Whichever endpoint answers, the result says where it came from and under which licence, per result rather than per endpoint, because one response can mix layers under different terms. A geocode also says what it actually matched — an address point, an interpolated position, a street or a whole locality — and how sure it is, including how many candidates tied for first. Those fields are the difference between an answer you can act on and one you should question, and each page below explains how to read them for that API.
The same surface is exposed to AI agents as 30 read-only tools over the Model Context Protocol, filtered by the key's plan so an agent is never offered a tool it cannot call. Parameters, response schemas and captured examples for every operation are in the reference on docs.oslew.com, generated from the same OpenAPI document the service serves.
Address
- Geocoding API
Text in, ranked candidates out — each with the precision it reached, a calibrated confidence, a tie count and its licence.
- Reverse geocoding API
One coordinate in; the nearest addresses and places, and every division containing the point, out — with the permissive nearby rows licensed differently from the ODbL chain.
- Address validation API
Confirmed, corrected, partial or unconfirmed by fixed rules, a quality grade per component, a corrected line and normalised parts — from text or from form fields.
- Postcode lookup API
A postcode’s address-weighted centre, extent, address count and admin chain, plus codes by prefix — summarised from address records rather than drawn from a boundary file.
- Time zone API
The IANA zone at a point and the offsets in force at any instant, with daylight saving split out — ODbL data, although the route sits on the Address product.
- Batch geocoding API
Upload once, collect once: one geocode per row in input order, paced by the key’s own rate, resumed on another server if one fails, and kept until you delete it.
Search
- Address autocomplete API
Prefix completion over addresses and places, ranked for someone mid-word, with no confidence score, on a rate of its own and called through your own backend.
- Places API — nearby search
The places nearest a point, filtered by category or by opening time, from permissively licensed open data — with the limits of open hours data spelt out.
Routing
- Routing API
One origin, one destination, one mode: distance, a free-flow duration and a junction-to-junction path, with the engine that answered named on every response.
- Distance matrix API
Times from every point to every other in one call, sized by plan rather than billed by the cell, ready for a dispatcher, a store ranking or your own solver.
- Isochrone API
A catchment drawn by the road network rather than a compass: reachable cells with arrival times, and rings to put on a map.
- Route optimisation API
Single-vehicle stop ordering with round-trip and open-path options, a nearest-neighbour baseline to compare against, and no fleet constraints.
- Map matching API
Traces in, road positions out — per-point class and posted limit and a fit score, plus a single-point snap for when there is no trace to match.
Transit
- Public transit API
Stops near a point, the next departures from a platform and walk-and-ride journeys, each answered from a loaded GTFS feed under that agency’s own terms.
Places and boundaries
- Administrative boundaries API
Point-in-polygon lookups for the administrative chain and maritime zones: ISO codes, an interior-or-edge flag per division, and Overture’s ODbL terms on every row.
Elevation, weather and imagery
- Elevation API
Terrain heights and elevation profiles from Copernicus GLO-30, named rasters such as ECMWF forecast fields, and a Sentinel-2 catalogue search.
- Weather and air quality API
Station-based readings: the latest of every parameter near a point, a parameter’s history at the nearest stations, and where gridded forecasts live instead.
Maps
- Vector tiles and static maps API
One open-data basemap four ways — vector tiles, PNG tiles, a MapLibre style and static images — with the attribution and key-handling rules each one needs.
Maritime
- Vessel tracking API
Five read-only routes over AIS: vessels in a cell, a track, a last fix, zone crossings with dwells, and density rows with exact counts and a vessel bound.
Geolocation
- Wi-Fi and cell tower geolocation API
A position and accuracy radius from one scan’s Wi-Fi and cell beacons, answered from a loaded survey feed, with an optional vendor fallback that is off by default.
For AI agents
- MCP server for geocoding, routing and maps
A hosted Model Context Protocol endpoint for agents: plan-filtered, read-only tools with provenance on every answer, and server instructions that teach an agent when to ask.