{"components":{"headers":{"RateLimit-Limit":{"description":"The sustained requests per second this product is sold at, rounded.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Whole tokens left in this product's bucket after this request.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the bucket is full again at the sustained rate. There is no window to reset.","schema":{"type":"integer"}},"Retry-After":{"description":"Whole seconds until one token is back; at least 1.","schema":{"minimum":1,"type":"integer"}},"X-RateLimit-Limit":{"description":"The same as `RateLimit-Limit`, for clients that read the older spelling.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"The same as `RateLimit-Remaining`.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"The same as `RateLimit-Reset`.","schema":{"type":"integer"}}},"responses":{"NotInPlan":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The key's plan does not include this route's product, or the request is larger than the plan allows. The body names the plan that does."},"RateLimited":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"This product's bucket is empty: the key is going faster than its plan's sustained rate. Wait `Retry-After` seconds; nothing is used up.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"Unauthorized":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No key, or one that is unknown, revoked or suspended."},"Unavailable":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"The pod cannot reach the control plane and its entitlements are too old to trust. Retry."}},"schemas":{"AdminResponse":{"properties":{"admin":{"items":{"$ref":"#/components/schemas/Division"},"type":"array"},"at":{"items":{"type":"number"},"type":"array"},"layers":{"type":"integer"},"took_us":{"type":"integer"}},"required":["at","admin","layers","took_us"],"type":"object"},"AggregateResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"bucket":{"type":"integer"},"cell":{"type":"integer"},"from":{"type":"integer"},"in_level":{"type":"integer"},"level":{"type":"integer"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"rows":{"items":{"$ref":"#/components/schemas/Rollup"},"type":"array"},"to":{"type":"integer"},"took_us":{"type":"integer"}},"required":["at","cell","in_level","level","from","to","bucket","rows","provenance","took_us"],"type":"object"},"Attributes":{"properties":{"hours":{"description":"Per weekday, Monday first: [open, close] minutes from midnight; [0,0] closed, [0,65535] all day; a close before its open runs past midnight.","items":{"items":{"type":"integer"},"maxItems":2,"minItems":2,"type":"array"},"maxItems":7,"minItems":7,"type":"array"},"photo":{"description":"A photo of the place on Wikimedia Commons, when a feed carries one. The image is the photographer's, not ours: see https://www.oslew.com/licensing","type":"string"},"price":{"description":"0–4.","type":["integer","null"]},"provenance":{"$ref":"#/components/schemas/Source"},"rating":{"description":"0–5.","type":["number","null"]},"reviews":{"type":"integer"}},"required":["rating","reviews","price","hours","provenance"],"type":"object"},"AutocompleteResponse":{"properties":{"context":{"type":["string","null"]},"examined":{"type":"integer"},"mode":{"$ref":"#/components/schemas/MatchMode"},"name":{"type":"string"},"near":{"items":{"type":"number"},"type":["array","null"]},"postings":{"type":"integer"},"query":{"type":"string"},"results":{"items":{"$ref":"#/components/schemas/Completion"},"type":"array"},"segments":{"type":"integer"},"took_us":{"type":"integer"}},"required":["query","name","context","near","results","mode","examined","postings","segments","took_us"],"type":"object"},"BatchJob":{"description":"A job. Submitting answers with the record as stored; polling answers with its progress, which adds `remaining_s`.","properties":{"created_at":{"type":"integer"},"done":{"description":"Rows attempted so far.","type":"integer"},"epoch":{"description":"Which claim on the job is current; a job taken over by another pod has a higher one.","type":"integer"},"error":{"type":["string","null"]},"format":{"description":"How the input was sent; on submit only.","enum":["jsonl","csv"],"type":"string"},"found":{"description":"Rows that resolved to a position.","type":"integer"},"heartbeat_at":{"description":"Unix seconds of the owner's last heartbeat; on submit only.","type":"integer"},"id":{"type":"string"},"owner":{"description":"The pod working on it.","type":["string","null"]},"parts":{"description":"Output parts of 50,000 rows written so far.","type":"integer"},"remaining_s":{"description":"Seconds the rest of the rows should take at that rate.","type":"integer"},"rows":{"type":"integer"},"rps":{"description":"The sustained rate the job is paced at, which is the key's own.","type":"number"},"state":{"enum":["queued","running","done","failed","cancelled"],"type":"string"},"tenant":{"description":"The tenant that owns it; on submit only.","type":"string"},"updated_at":{"description":"Stops moving if the pod running the job is gone.","type":"integer"}},"required":["id","state","rows","done","found","rps","created_at","updated_at"],"type":"object"},"BatchList":{"properties":{"jobs":{"items":{"properties":{"created_at":{"type":"integer"},"done":{"type":"integer"},"found":{"type":"integer"},"id":{"type":"string"},"rows":{"type":"integer"},"state":{"enum":["queued","running","done","failed","cancelled"],"type":"string"},"updated_at":{"type":"integer"}},"required":["id","state","rows","done","found","created_at","updated_at"],"type":"object"},"type":"array"}},"required":["jobs"],"type":"object"},"BatchNotDone":{"properties":{"done":{"type":"integer"},"error":{"description":"`that job is running`, `queued`, `failed` or `cancelled`.","type":"string"},"remaining_s":{"type":"integer"},"rows":{"type":"integer"}},"required":["error","done","rows","remaining_s"],"type":"object"},"Completion":{"properties":{"doc":{"type":"integer"},"extra":{"type":"integer"},"hierarchy":{"$ref":"#/components/schemas/Context"},"lat":{"type":"number"},"lon":{"type":"number"},"matched":{"description":"Query tokens the name matched, the typed prefix counting as one.","type":"integer"},"name":{"type":"string"},"precision":{"$ref":"#/components/schemas/Precision"},"precision_m":{"type":"number"},"prominence":{"description":"Ranked before extra tokens for a completion.","maximum":15,"minimum":0,"type":"integer"},"provenance":{"$ref":"#/components/schemas/Source"}},"required":["doc","name","lat","lon","precision","precision_m","hierarchy","matched","extra","prominence","provenance"],"type":"object"},"ConditionsResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"conditions":{"items":{"properties":{"distance_m":{"type":"number"},"parameter":{"type":"string"},"provenance":{"$ref":"#/components/schemas/Source"},"station":{"type":"string"},"time":{"type":"integer"},"value":{"type":"number"}},"required":["parameter","value","time","station","distance_m","provenance"],"type":"object"},"type":"array"},"took_us":{"type":"integer"}},"required":["at","conditions","took_us"],"type":"object"},"Context":{"properties":{"category":{"type":["string","null"]},"country":{"type":["string","null"]},"locality":{"type":["string","null"]},"postcode":{"type":["string","null"]},"region":{"type":["string","null"]},"street":{"type":["string","null"]}},"type":"object"},"ContextResolution":{"properties":{"divisions":{"description":"Divisions of that name, or of which it is a whole-word prefix; a place inside one is in context.","items":{"$ref":"#/components/schemas/Hit"},"type":"array"},"fallback":{"description":"Nothing satisfied the context: the results are the answer without it, locality missing, confidence context-free.","type":"boolean"},"known":{"description":"The context named a division or a spelling some address uses.","type":"boolean"},"terms":{"description":"The context as written, then ISO codes of region or country divisions of that name.","items":{"type":"string"},"type":"array"}},"required":["terms","divisions","known","fallback"],"type":"object"},"Crossing":{"properties":{"at_start":{"description":"The entry is the track's first fix: the vessel began inside.","type":"boolean"},"entered":{"type":"boolean"},"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"subtype":{"type":"string"},"time":{"type":"integer"},"zone":{"type":"integer"}},"required":["zone","name","subtype","entered","at_start","time","lat","lon"],"type":"object"},"CrossingsResponse":{"properties":{"crossings":{"items":{"$ref":"#/components/schemas/Crossing"},"type":"array"},"dwells":{"items":{"$ref":"#/components/schemas/Dwell"},"type":"array"},"from":{"type":"integer"},"layers":{"type":"integer"},"mmsi":{"type":"integer"},"positions":{"type":"integer"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"to":{"type":"integer"},"took_us":{"type":"integer"}},"required":["mmsi","from","to","positions","layers","crossings","dwells","provenance","took_us"],"type":"object"},"DeparturesResponse":{"properties":{"departures":{"items":{"properties":{"delay_s":{"description":"Live minus scheduled; 0 without a feed.","type":"integer"},"direction":{"type":"integer"},"headsign":{"type":"string"},"route":{"description":"Index into the feed's routes.","type":"integer"},"route_long_name":{"type":"string"},"route_short_name":{"type":"string"},"scheduled":{"description":"The timetable's time, unix seconds.","type":"integer"},"time":{"description":"Unix seconds, live when a realtime feed is applied.","type":"integer"},"trip_id":{"type":"string"}},"required":["time","scheduled","delay_s","route","route_short_name","route_long_name","headsign","trip_id","direction"],"type":"object"},"type":"array"},"distance_m":{"type":["number","null"]},"live":{"description":"The realtime feed's timestamp when live delays are applied.","type":["integer","null"]},"provenance":{"$ref":"#/components/schemas/Source"},"stop":{"$ref":"#/components/schemas/Stop"},"time":{"type":"integer"},"timezone":{"type":"string"},"took_us":{"type":"integer"}},"required":["stop","distance_m","time","timezone","live","departures","provenance","took_us"],"type":"object"},"Division":{"properties":{"admin_level":{"type":["integer","null"]},"country":{"description":"ISO 3166-1 alpha-2.","type":["string","null"]},"doc":{"type":"integer"},"id":{"description":"Overture division id.","type":"string"},"name":{"type":"string"},"provenance":{"$ref":"#/components/schemas/Source"},"region":{"description":"ISO 3166-2.","type":["string","null"]},"subtype":{"enum":["country","dependency","region","county","localadmin","locality","macrohood","neighborhood","microhood","timezone"],"type":"string"},"via":{"description":"`interior`: the point's cell is provably inside, no geometry read; `boundary`: the polygon decided.","enum":["interior","boundary"],"type":"string"}},"required":["doc","id","name","subtype","country","region","admin_level","via","provenance"],"type":"object"},"Dwell":{"properties":{"from":{"type":"integer"},"name":{"type":"string"},"open":{"description":"The track ended inside; `to` is the last fix.","type":"boolean"},"positions":{"type":"integer"},"subtype":{"type":"string"},"to":{"type":"integer"},"zone":{"type":"integer"}},"required":["zone","name","subtype","from","to","positions","open"],"type":"object"},"EdgeSnap":{"properties":{"distance_m":{"description":"From the query point to the snapped position.","type":"number"},"frac":{"description":"Position along the edge, 0 at from, 1 at to.","type":"number"},"from":{"type":"integer"},"lat":{"type":"number"},"len_m":{"type":"integer"},"lon":{"type":"number"},"time_ds":{"type":"integer"},"to":{"type":"integer"},"two_way":{"type":"boolean"}},"required":["from","to","frac","lat","lon","distance_m","time_ds","len_m","two_way"],"type":"object"},"ElevationResponse":{"properties":{"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"results":{"items":{"properties":{"elevation_m":{"type":["number","null"]},"lat":{"type":"number"},"lon":{"type":"number"},"resolution_m":{"type":["number","null"]}},"required":["lat","lon","elevation_m","resolution_m"],"type":"object"},"type":"array"},"took_us":{"type":"integer"}},"required":["results","provenance","took_us"],"type":"object"},"Error":{"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"EventHit":{"properties":{"category":{"enum":["music","sports","arts","film","family","other","quake","air"],"type":"string"},"city":{"type":"string"},"country":{"description":"ISO 3166-1 alpha-2.","type":"string"},"details":{"description":"Per feed. Quakes: `magnitude`, `magnitude_type`, `depth_km`, `felt`, `intensity`, `mmi`, `alert`, `tsunami`, `type`, `status`, `updated_ms`. Ticketed: `segment`, `genre`, `status`, `price_min`, `price_max`, `currency`, `onsale`. Air: `parameter`, `unit`, `programme`, `level`, `threshold`, `peak`, `peak_at`, `station`, `stations`, `declared_by`.","type":"object"},"distance_m":{"description":"From `at`; absent for a box.","type":"number"},"end":{"description":"Unix seconds, when known.","type":"integer"},"feed":{"description":"The `sources` entry it came from.","type":"string"},"id":{"description":"`<feed>:<provider id>`, stable across refreshes.","type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"start":{"description":"Unix seconds. With `time_tba`, local midnight of the announced date.","type":"integer"},"time_tba":{"description":"Present and true when only the date was announced.","type":"boolean"},"timezone":{"description":"IANA zone of the venue.","type":"string"},"title":{"type":"string"},"url":{"description":"The provider's page: tickets, the quake's summary.","type":"string"},"venue":{"description":"The venue, or for a quake the feed's description of where.","type":"string"}},"required":["id","title","category","start","lat","lon","feed"],"type":"object"},"EventsResponse":{"properties":{"at":{"items":{"type":"number"},"type":["array","null"]},"bbox":{"items":{"type":"number"},"type":["array","null"]},"from":{"type":"integer"},"order":{"type":"string"},"radius_m":{"type":["number","null"]},"results":{"items":{"$ref":"#/components/schemas/EventHit"},"type":"array"},"sources":{"description":"Every feed searched.","items":{"$ref":"#/components/schemas/Source"},"type":"array"},"to":{"type":"integer"},"took_us":{"type":"integer"},"total":{"description":"Matches before `limit`.","type":"integer"}},"required":["at","radius_m","bbox","from","to","order","total","results","sources","took_us"],"type":"object"},"GeocodeResponse":{"properties":{"context":{"type":["string","null"]},"context_resolution":{"description":"How the context was matched beyond its spelling: the terms tried against addresses, and the divisions whose polygons counted.","oneOf":[{"$ref":"#/components/schemas/ContextResolution"},{"type":"null"}]},"decision":{"description":"Agent branch: `action` is act / ask / refuse; `margin` is top−runner-up score; `ask_for` and `disambiguation` explain why.","properties":{"action":{"enum":["act","ask","refuse"],"type":"string"},"ask_for":{"items":{"enum":["postcode","house_number","country","locality"],"type":"string"},"type":"array"},"disambiguation":{"properties":{"options":{"items":{"type":"object"},"type":"array"},"tied":{"type":"integer"}},"type":"object"},"margin":{"description":"Top minus runner-up margin score; refuse when below 0.12.","type":["number","null"]}},"required":["action"],"type":"object"},"epoch":{"description":"Manifest epoch this answer was served from.","type":"integer"},"examined":{"type":"integer"},"interpolated":{"description":"Whether the top result's position was placed between two recorded house numbers rather than read off a row. Its `precision` then says `interpolated` and its `between` names the two.","type":"boolean"},"mode":{"$ref":"#/components/schemas/MatchMode"},"name":{"type":"string"},"near":{"items":{"type":"number"},"type":["array","null"]},"parse":{"description":"Structured query parse: house_number, street, locality, region, postcode, country, method.","type":"object"},"postings":{"type":"integer"},"query":{"type":"string"},"receipt":{"$ref":"#/components/schemas/Receipt"},"release":{"description":"Data release string.","type":"string"},"results":{"items":{"$ref":"#/components/schemas/Resolved"},"type":"array"},"segments":{"type":"integer"},"store_bytes":{"type":"integer"},"store_requests":{"type":"integer"},"tie_probe":{"description":"Candidates the search kept before the page was cut, which is what `tied_at_top` was counted over. Equal values mean every candidate shared the top rank and the true number of ties is larger.","type":"integer"},"tied_at_top":{"description":"How many places share the top rank; more than 1 means the query does not determine one place. Counted over everything the search kept, before the page was cut to `limit`, so it does not change when a caller asks for one result instead of five.","type":"integer"},"took_us":{"type":"integer"}},"required":["query","name","context","parse","context_resolution","near","results","mode","tied_at_top","tie_probe","interpolated","decision","epoch","release","examined","postings","segments","store_requests","store_bytes","took_us"],"type":"object"},"Health":{"properties":{"backing":{"enum":["resident","ranged"],"type":"string"},"bytes":{"type":"integer"},"draining":{"description":"Whether a shutdown is in progress; /readyz is already failing while in-flight requests finish.","type":"boolean"},"entities":{"type":"integer"},"entitlements_age_s":{"description":"Seconds since the last pull; growing means the control plane is unreachable.","type":["integer","null"]},"epoch":{"type":"integer"},"fleet_size":{"description":"Pods the share arithmetic last saw; 0 when rates are not shared.","type":"integer"},"key_source":{"description":"Where the entitlements come from.","enum":["control-plane","published","file",null],"type":["string","null"]},"keys":{"description":"Live API keys this pod serves; 0 under the shared token or open.","type":"integer"},"limiter":{"description":"Whether this pod serves whole rates, its share of the fleet's, or a fallback because the coordinator is unreachable.","enum":["local","shared","degraded"],"type":"string"},"query_log":{"description":"Where the anonymous query log is written: a directory, or a store prefix for a fleet.","type":["string","null"]},"query_log_dropped":{"description":"Events dropped because the log writer fell behind.","type":"integer"},"query_log_flush_failures":{"description":"Chunks the object store refused; non-zero means billing input is being lost.","type":"integer"},"ready":{"description":"Whether this pod can authenticate a key yet; false means it refuses every key.","type":"boolean"},"release":{"type":"string"},"segments":{"type":"integer"}},"required":["epoch","segments","entities","bytes","backing","release","query_log","query_log_dropped","keys"],"type":"object"},"HereResponse":{"properties":{"admin":{"items":{"$ref":"#/components/schemas/Hit"},"type":"array"},"at":{"items":{"type":"number"},"type":"array"},"conditions":{"items":{"type":"object"},"type":"array"},"elevation_m":{"description":"The elevation raster's value at the point, repeated from rasters; null where none is loaded.","type":["number","null"]},"epoch":{"description":"Manifest epoch this answer was served from.","type":"integer"},"places":{"items":{"$ref":"#/components/schemas/Nearby"},"type":"array"},"rasters":{"items":{"properties":{"layer":{"type":"string"},"time":{"type":["integer","null"]},"units":{"type":"string"},"value":{"type":"number"}},"required":["layer","units","value","time"],"type":"object"},"type":"array"},"release":{"description":"Data release string.","type":"string"},"road":{"oneOf":[{"properties":{"class":{"type":["string","null"]},"distance_m":{"type":"number"},"lat":{"type":"number"},"lon":{"type":"number"},"speed_limit_kmh":{"type":["integer","null"]}},"required":["lat","lon","distance_m","class","speed_limit_kmh"],"type":"object"},{"type":"null"}]},"stops":{"items":{"type":"object"},"type":"array"},"timezone":{"type":["string","null"]},"took_us":{"type":"integer"}},"required":["at","admin","timezone","places","road","rasters","conditions","stops","took_us"],"type":"object"},"Hit":{"description":"One division a point falls in, or that a name resolved to.","properties":{"admin_level":{"type":["integer","null"]},"country":{"description":"ISO code.","type":["string","null"]},"doc":{"description":"Ordinal in the segment.","type":"integer"},"id":{"description":"Overture id.","type":"string"},"name":{"type":"string"},"provenance":{"$ref":"#/components/schemas/Source"},"region":{"description":"ISO region code, `MX-JAL`.","type":["string","null"]},"subtype":{"enum":["country","dependency","region","county","localadmin","locality","macrohood","neighborhood","microhood","timezone"],"type":"string"},"via":{"description":"`interior`: the point's cell is provably inside, no geometry read; `boundary`: the polygon decided.","enum":["interior","boundary"],"type":"string"}},"required":["doc","id","name","subtype","via","provenance"],"type":"object"},"IsochroneResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"cells":{"items":{"properties":{"bbox":{"description":"lat_lo, lat_hi, lng_lo, lng_hi","items":{"type":"number"},"type":"array"},"cell":{"type":"integer"},"seconds":{"type":"number"}},"required":["cell","seconds","bbox"],"type":"object"},"type":"array"},"engine":{"type":"string"},"level":{"type":"integer"},"polygon":{"description":"Rings of (lat, lon) outlining the cells; holes are rings too.","items":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"type":"array"},"provenance":{"$ref":"#/components/schemas/Source"},"seconds":{"type":"number"},"snapped":{"$ref":"#/components/schemas/Snap"},"took_us":{"type":"integer"}},"required":["at","snapped","seconds","level","cells","polygon","engine","provenance","took_us"],"type":"object"},"Item":{"properties":{"assets":{"description":"Asset key -> asset object with href.","type":"object"},"bbox":{"items":{"type":"number"},"type":"array"},"collection":{"type":"string"},"datetime":{"description":"Unix seconds; `properties.datetime` keeps the original string.","type":"integer"},"geometry":{"description":"Rings of [lng, lat].","type":"array"},"id":{"type":"string"},"properties":{"type":"object"}},"required":["id","collection","datetime","bbox","geometry","properties","assets"],"type":"object"},"JourneysResponse":{"properties":{"from":{"items":{"type":"number"},"type":"array"},"journeys":{"items":{"properties":{"arrive":{"type":"integer"},"depart":{"type":"integer"},"duration_s":{"type":"integer"},"legs":{"description":"In order: a walk to the first stop, rides with any walks between them, and a walk to the destination.","items":{"oneOf":[{"$ref":"#/components/schemas/WalkLeg"},{"$ref":"#/components/schemas/RideLeg"}]},"type":"array"},"transfers":{"type":"integer"},"walk_m":{"type":"number"}},"required":["depart","arrive","duration_s","transfers","walk_m","legs"],"type":"object"},"type":"array"},"live":{"type":["integer","null"]},"provenance":{"$ref":"#/components/schemas/Source"},"time":{"type":"integer"},"timezone":{"type":"string"},"to":{"items":{"type":"number"},"type":"array"},"took_us":{"type":"integer"}},"required":["from","to","time","timezone","live","journeys","provenance","took_us"],"type":"object"},"LocateResponse":{"properties":{"accuracy_m":{"description":"Radius the true position is expected within.","type":"number"},"admin":{"items":{"$ref":"#/components/schemas/Hit"},"type":"array"},"lat":{"type":"number"},"lon":{"type":"number"},"provenance":{"$ref":"#/components/schemas/Source"},"took_us":{"type":"integer"},"unknown":{"description":"Ids no feed knew, as given.","items":{"type":"string"},"type":"array"},"used":{"description":"Beacons that contributed.","type":"integer"}},"required":["lat","lon","accuracy_m","used","unknown","admin","provenance","took_us"],"type":"object"},"MatchMode":{"description":"`fuzzy` is an edit-distance or split salvage and never `all`.","enum":["all","partial","fuzzy","none"],"type":"string"},"MatchQuality":{"enum":["exact","fuzzy","partial","missing"],"type":"string"},"MatchResponse":{"properties":{"classes":{"description":"The class of each matched edge.","items":{"type":["string","null"]},"type":"array"},"confidence":{"maximum":1,"minimum":0,"type":"number"},"distance_m":{"type":"number"},"duration_s":{"type":"number"},"geometry":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"matched":{"type":"integer"},"points":{"items":{"oneOf":[{"$ref":"#/components/schemas/Matched"},{"type":"null"}]},"type":"array"},"provenance":{"$ref":"#/components/schemas/Source"},"speed_limits_kmh":{"description":"The posted limit on each matched edge.","items":{"type":["integer","null"]},"type":"array"},"took_us":{"type":"integer"},"unmatched":{"type":"integer"}},"required":["points","speed_limits_kmh","classes","geometry","distance_m","duration_s","confidence","matched","unmatched","provenance","took_us"],"type":"object"},"Matched":{"properties":{"along":{"description":"0..1 along the edge.","type":"number"},"distance_m":{"description":"From the observed point.","type":"number"},"from":{"type":"integer"},"lat":{"type":"number"},"lon":{"type":"number"},"to":{"type":"integer"}},"required":["lat","lon","from","to","along","distance_m"],"type":"object"},"MatrixResponse":{"properties":{"durations_s":{"items":{"items":{"type":["number","null"]},"type":"array"},"type":"array"},"engine":{"type":"string"},"points":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"provenance":{"$ref":"#/components/schemas/Source"},"snapped":{"items":{"oneOf":[{"$ref":"#/components/schemas/Snap"},{"type":"null"}]},"type":"array"},"took_us":{"type":"integer"}},"required":["points","snapped","durations_s","engine","provenance","took_us"],"type":"object"},"MigrateResponse":{"properties":{"compat":{"description":"The compatibility endpoint, which needs no change to your response parser.","type":"string"},"direction":{"enum":["forward","reverse","unknown"],"type":"string"},"next":{"items":{"type":"string"},"type":"array"},"ours":{"description":"This service's own endpoint for the same question.","type":"string"},"parameters":{"description":"Every parameter they sent, carried or not. A parameter that does not carry always says why, because a migration guide that lists only what works is a sales page.","items":{"properties":{"becomes":{"type":"string"},"carried":{"type":"boolean"},"name":{"type":"string"},"value":{"description":"A credential comes back redacted.","type":"string"},"why":{"type":"string"}},"required":["name","value","carried"],"type":"object"},"type":"array"},"pricing":{"properties":{"caveat":{"type":"string"},"compared_plan":{"description":"The cheapest plan whose sustained Address rate carries `planning_rps`; `enterprise` when none listed does.","type":"string"},"fits_address_plan":{"type":"boolean"},"our_monthly_usd":{"description":"The list price of `compared_plan`, whatever the volume: a plan is a rate, not an allowance. When `compared_plan` is enterprise this is only a floor.","type":"number"},"peak_rps":{"description":"The peak you passed, echoed.","type":"number"},"planning_rps":{"description":"The busier of `required_rps` and `peak_rps` — the number that chose the plan.","type":"number"},"required_rps":{"description":"What that volume needs if it arrives evenly.","type":"number"},"saving_usd":{"description":"Absent when the vendor's pricing is not a per-thousand list price, or when the plan that fits is negotiated.","type":"number"},"their_bands":{"description":"Every published volume band the bill was summed across.","items":{"properties":{"up_to":{"description":"Absent on the last band.","type":"integer"},"usd_per_1k":{"type":"number"}},"required":["usd_per_1k"],"type":"object"},"type":"array"},"their_free_monthly":{"type":"integer"},"their_list_usd_per_1k":{"description":"Their first price past the free allowance.","type":"number"},"their_monthly_usd":{"description":"Their bill for the volume, band by band.","type":"number"},"their_price_source":{"description":"Where the bands were read.","type":"string"},"their_tariff":{"description":"Which of their prices: Mapbox's temporary and permanent geocoding differ several times over.","type":"string"},"volume":{"type":"integer"}},"required":["volume","our_monthly_usd","compared_plan","required_rps","planning_rps","fits_address_plan","caveat"],"type":"object"},"query":{"description":"The text or point the request was about.","type":"string"},"recognised":{"type":"boolean"},"vendor":{"description":"`mapbox`, `google`, `locationiq`, `nominatim`, `geoapify`, `photon`, or `unknown`.","type":"string"}},"required":["vendor","recognised","direction","parameters","pricing","next"],"type":"object"},"Nearby":{"properties":{"attributes":{"description":"From an attributes feed, when one carries this place.","oneOf":[{"$ref":"#/components/schemas/Attributes"},{"type":"null"}]},"distance_m":{"type":"number"},"doc":{"type":"integer"},"hierarchy":{"$ref":"#/components/schemas/Context"},"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"normalized":{"$ref":"#/components/schemas/Normalized"},"precision":{"$ref":"#/components/schemas/Precision"},"precision_m":{"type":"number"},"provenance":{"$ref":"#/components/schemas/Source"}},"required":["doc","name","lat","lon","distance_m","precision","precision_m","hierarchy","normalized","provenance"],"type":"object"},"NearbyResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"category":{"type":["string","null"]},"intent_q":{"type":["string","null"]},"results":{"items":{"$ref":"#/components/schemas/Nearby"},"type":"array"},"segments":{"type":"integer"},"took_us":{"type":"integer"}},"required":["at","category","results","segments","took_us"],"type":"object"},"Normalized":{"description":"The address in parts as well as in a sentence. `formatted` orders the house number and the street the way that country writes them — `Avenida Insurgentes Sur 1602` in Mexico, `1600 Pennsylvania Avenue NW` in the United States — and is derived from the parts, so a caller who needs another layout does not have to unpick the sentence.","properties":{"country":{"description":"ISO code.","type":"string"},"formatted":{"type":"string"},"house_number":{"description":"Whatever the source recorded, which is not always a number: `10`, `12-B`, `S/N`.","type":"string"},"locality":{"type":"string"},"postcode":{"type":"string"},"region":{"description":"Absent for most of the world, and absent from the address layer, which records locality, postcode and country.","type":"string"},"street":{"type":"string"}},"required":["formatted"],"type":"object"},"ObservationsResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"decimals":{"description":"Decimals the feed stores the parameter at.","type":"integer"},"from":{"type":"integer"},"parameter":{"type":"string"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"stations":{"items":{"properties":{"distance_m":{"type":"number"},"points":{"items":{"$ref":"#/components/schemas/Point"},"type":"array"},"station":{"$ref":"#/components/schemas/Station"}},"required":["station","distance_m","points"],"type":"object"},"type":"array"},"to":{"type":"integer"},"took_us":{"type":"integer"}},"required":["at","parameter","decimals","from","to","stations","provenance","took_us"],"type":"object"},"OptimizeResponse":{"properties":{"distance_m":{"type":"integer"},"duration_s":{"type":"number"},"engine":{"type":"string"},"geometry":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"legs_s":{"items":{"type":"number"},"type":"array"},"nearest_neighbour_s":{"description":"The unimproved order's duration.","type":"number"},"order":{"items":{"type":"integer"},"type":"array"},"provenance":{"$ref":"#/components/schemas/Source"},"took_us":{"type":"integer"},"waypoints":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"}},"required":["order","waypoints","duration_s","legs_s","nearest_neighbour_s","distance_m","geometry","engine","provenance","took_us"],"type":"object"},"Point":{"properties":{"time":{"description":"Unix seconds.","type":"integer"},"value":{"type":"number"}},"required":["time","value"],"type":"object"},"Position":{"properties":{"cog":{"description":"Tenths of a degree; 65535 unknown.","type":"integer"},"heading":{"description":"Degrees; 511 or 65535 unknown.","type":"integer"},"lat":{"type":"number"},"lon":{"type":"number"},"sog":{"description":"Tenths of a knot; 65535 unknown.","type":"integer"},"status":{"description":"AIS navigational status 0–15; 15 unknown.","type":"integer"},"time":{"description":"Unix seconds.","type":"integer"},"vessel":{"description":"MMSI.","type":"integer"}},"required":["vessel","time","lat","lon","sog","cog","heading","status"],"type":"object"},"PostcodeResponse":{"properties":{"layers":{"type":"integer"},"provenance":{"$ref":"#/components/schemas/Source"},"query":{"type":"string"},"results":{"items":{"properties":{"addresses":{"description":"How many addresses the centroid is the mean of.","type":"integer"},"admin":{"items":{"$ref":"#/components/schemas/Hit"},"type":"array"},"bbox":{"description":"`lat_lo, lat_hi, lng_lo, lng_hi` of the addresses behind the code.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"code":{"description":"As the source spells it.","type":"string"},"country":{"type":"string"},"lat":{"type":"number"},"locality":{"type":["string","null"]},"lon":{"type":"number"},"precision":{"$ref":"#/components/schemas/Precision"},"precision_m":{"description":"Half the diagonal of the bounding box.","type":"number"},"region":{"type":["string","null"]}},"required":["code","country","lat","lon","bbox","addresses","precision","precision_m","admin"],"type":"object"},"type":"array"},"took_us":{"type":"integer"}},"required":["query","results","layers","took_us"],"type":"object"},"Precision":{"description":"What the position locates, finest first. `rooftop` is an address point with a house number, as its source recorded it — never a building footprint we snapped to, which would contaminate the permissive bundle. `interpolated` is a point placed between the two recorded numbers that bracket the one asked for, which is what Google calls `RANGE_INTERPOLATED`. `street` is an address row with no number to place along it. `precision_m` carries the honest radius alongside: the label says what was matched, the metres say how wrong it can be.","enum":["rooftop","interpolated","address","street","postcode","locality","region","country","poi"],"type":"string"},"RasterResponse":{"properties":{"between":{"description":"The two valid times interpolated between.","items":{"type":"integer"},"type":["array","null"]},"layer":{"type":"string"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"resolution_m":{"type":"number"},"results":{"items":{"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"value":{"type":["number","null"]}},"required":["lat","lon","value"],"type":"object"},"type":"array"},"time":{"description":"The instant answered, for a field with a time axis.","type":["integer","null"]},"took_us":{"type":"integer"},"units":{"type":"string"}},"required":["layer","units","resolution_m","time","between","results","provenance","took_us"],"type":"object"},"Receipt":{"description":"Which store answered and a digest of what it answered, to keep beside a stored result. Signed only when the operator sets GEO_RECEIPT_SECRET.","properties":{"alg":{"description":"`sha256`, or `sha256-keyed` when signed.","enum":["sha256","sha256-keyed"],"type":"string"},"epoch":{"description":"Manifest epoch the answer came from.","type":"integer"},"payload_sha256":{"description":"SHA-256 hex of the canonical payload.","type":"string"},"release":{"description":"Data release string.","type":"string"},"signature":{"description":"SHA-256 hex of the operator's receipt secret, a zero byte and the payload; present only when the operator set `GEO_RECEIPT_SECRET`, and checkable only by them.","type":"string"}},"required":["epoch","release","payload_sha256","alg"],"type":"object"},"Resolved":{"properties":{"attributes":{"description":"From an attributes feed, when one carries this place.","oneOf":[{"$ref":"#/components/schemas/Attributes"},{"type":"null"}]},"bbox":{"description":"lat_lo, lat_hi, lng_lo, lng_hi of the cell.","items":{"type":"number"},"maxItems":4,"minItems":4,"type":"array"},"between":{"description":"When the position was interpolated, the two recorded house numbers it was placed between — the evidence for a position no row actually holds.","items":{"type":"string"},"maxItems":2,"minItems":2,"type":"array"},"components":{"description":"How each part of the query matched. Missing when the query did not supply that part.","properties":{"country":{"$ref":"#/components/schemas/MatchQuality"},"house_number":{"$ref":"#/components/schemas/MatchQuality"},"locality":{"$ref":"#/components/schemas/MatchQuality"},"name":{"$ref":"#/components/schemas/MatchQuality"},"postcode":{"$ref":"#/components/schemas/MatchQuality"},"region":{"$ref":"#/components/schemas/MatchQuality"},"street":{"$ref":"#/components/schemas/MatchQuality"}},"type":"object"},"confidence":{"description":"Calibrated: the observed precision of results like this one on the scoreboard.","maximum":1,"minimum":0,"type":"number"},"doc":{"description":"Document ordinal within its segment.","type":"integer"},"hierarchy":{"$ref":"#/components/schemas/Context"},"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"normalized":{"$ref":"#/components/schemas/Normalized"},"precision":{"$ref":"#/components/schemas/Precision"},"precision_m":{"description":"Approximate positional error in metres.","type":"number"},"provenance":{"$ref":"#/components/schemas/Source"},"why":{"properties":{"extra":{"type":"integer"},"matched":{"type":"integer"},"mode":{"$ref":"#/components/schemas/MatchMode"},"prominence":{"description":"log2 of Wikidata sitelinks where the place is matched, else 0; the tie-break below matched and extra.","maximum":15,"minimum":0,"type":"integer"},"rerank":{"description":"Hashed-trigram cosine against the query (0–100). Orders within equal matched/extra/prominence.","maximum":100,"minimum":0,"type":"integer"},"tied":{"type":"boolean"},"tokens":{"items":{"type":"string"},"type":"array"}},"required":["tokens","matched","extra","mode","tied"],"type":"object"}},"required":["doc","name","lat","lon","bbox","precision","precision_m","hierarchy","normalized","components","confidence","why","provenance"],"type":"object"},"ReverseResponse":{"properties":{"admin":{"items":{"$ref":"#/components/schemas/Division"},"type":"array"},"at":{"items":{"type":"number"},"type":"array"},"results":{"items":{"$ref":"#/components/schemas/Nearby"},"type":"array"},"segments":{"type":"integer"},"took_us":{"type":"integer"}},"required":["at","admin","results","segments","took_us"],"type":"object"},"RideLeg":{"description":"On one trip, from one stop to another.","properties":{"alight":{"description":"Arrival at `to_stop`, unix seconds; live when delays apply.","type":"integer"},"board":{"description":"Departure from `from_stop`, unix seconds; live when delays apply.","type":"integer"},"from_stop":{"description":"Index of the stop boarded at, in the feed's stops.","type":"integer"},"headsign":{"type":"string"},"mode":{"enum":["ride"],"type":"string"},"route":{"description":"Index into the feed's routes.","type":"integer"},"route_short_name":{"type":"string"},"stops":{"description":"Stops travelled.","type":"integer"},"to_stop":{"description":"Index of the stop alighted at.","type":"integer"},"trip_id":{"type":"string"}},"required":["mode","route","route_short_name","headsign","trip_id","from_stop","to_stop","board","alight","stops"],"type":"object"},"Rollup":{"properties":{"cell":{"type":"integer"},"entries":{"description":"Base entries summed.","type":"integer"},"from":{"type":"integer"},"level":{"type":"integer"},"mean_sog_kn":{"type":["number","null"]},"moving":{"description":"Reports with speed over ground of at least 0.5 kn.","type":"integer"},"positions":{"type":"integer"},"to":{"type":"integer"},"vessels_max":{"description":"And at most this: the base entries' sum. A distinct count does not add across cells or hours.","type":"integer"},"vessels_min":{"description":"Distinct vessels are at least this: the largest base entry.","type":"integer"}},"required":["cell","level","from","to","entries","positions","moving","mean_sog_kn","vessels_min","vessels_max"],"type":"object"},"RouteResponse":{"properties":{"distance_m":{"type":["integer","null"]},"duration_s":{"description":"At the posted limit where given, else the class default speed; no traffic.","type":["number","null"]},"engine":{"type":"string"},"found":{"type":"boolean"},"from":{"items":{"type":"number"},"type":"array"},"geometry":{"description":"`(lat, lon)`: the snapped origin, every node, the snapped destination.","items":{"items":{"type":"number"},"type":"array"},"type":"array"},"nodes":{"type":"integer"},"provenance":{"$ref":"#/components/schemas/Source"},"settled":{"type":"integer"},"snapped_from":{"$ref":"#/components/schemas/EdgeSnap"},"snapped_to":{"$ref":"#/components/schemas/EdgeSnap"},"to":{"items":{"type":"number"},"type":"array"},"took_us":{"type":"integer"}},"required":["from","to","snapped_from","snapped_to","found","distance_m","duration_s","nodes","settled","geometry","engine","provenance","took_us"],"type":"object"},"ScenesResponse":{"properties":{"bbox":{"items":{"type":"number"},"type":"array"},"from":{"type":"integer"},"max_cloud":{"type":["number","null"]},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"results":{"items":{"$ref":"#/components/schemas/Item"},"type":"array"},"to":{"type":"integer"},"took_us":{"type":"integer"}},"required":["bbox","from","to","max_cloud","results","provenance","took_us"],"type":"object"},"SeenBeacon":{"properties":{"id":{"description":"BSSID in any separator or case, or `mcc-mnc-lac-cid`.","type":"string"},"signal_dbm":{"description":"RSSI; weights the fix when given.","type":["number","null"]}},"required":["id"],"type":"object"},"Snap":{"properties":{"distance_m":{"type":"number"},"lat":{"type":"number"},"lon":{"type":"number"},"node":{"type":"integer"}},"required":["node","lat","lon","distance_m"],"type":"object"},"SnapResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"class":{"description":"The road's class.","type":["string","null"]},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"snapped":{"oneOf":[{"$ref":"#/components/schemas/EdgeSnap"},{"type":"null"}]},"speed_limit_kmh":{"description":"Posted limit, when the source gives one.","type":["integer","null"]},"took_us":{"type":"integer"}},"required":["at","snapped","class","speed_limit_kmh","provenance","took_us"],"type":"object"},"Source":{"properties":{"license":{"type":"string"},"name":{"type":"string"},"release":{"type":"string"}},"required":["name","release","license"],"type":"object"},"Station":{"properties":{"id":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":["string","null"]}},"required":["id","name","lat","lon"],"type":"object"},"Stop":{"properties":{"boarding":{"description":"A platform or stop rather than a station.","type":"boolean"},"id":{"type":"string"},"lat":{"type":"number"},"lon":{"type":"number"},"name":{"type":"string"},"parent":{"description":"Index of the parent station in the feed's stops.","type":["integer","null"]},"platform":{"type":["string","null"]}},"required":["id","name","lat","lon","parent","platform","boarding"],"type":"object"},"StopsResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"results":{"items":{"properties":{"distance_m":{"type":"number"},"provenance":{"$ref":"#/components/schemas/Source"},"routes":{"items":{"$ref":"#/components/schemas/TransitRoute"},"type":"array"},"stop":{"$ref":"#/components/schemas/Stop"}},"required":["stop","distance_m","routes","provenance"],"type":"object"},"type":"array"},"took_us":{"type":"integer"}},"required":["at","results","took_us"],"type":"object"},"TimezoneResponse":{"properties":{"abbreviation":{"type":["string","null"]},"at":{"items":{"type":"number"},"type":"array"},"dst_offset_s":{"type":["integer","null"]},"provenance":{"description":"The zone polygons' source, release and licence code. Terms: https://www.oslew.com/licensing","oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"raw_offset_s":{"type":["integer","null"]},"timestamp":{"type":"integer"},"took_us":{"type":"integer"},"tzid":{"description":"IANA zone id.","type":["string","null"]},"utc_offset_s":{"description":"Seconds to add to UTC: raw plus DST.","type":["integer","null"]},"via":{"enum":["interior","boundary",null],"type":["string","null"]}},"required":["at","timestamp","tzid","utc_offset_s","raw_offset_s","dst_offset_s","abbreviation","via","provenance","took_us"],"type":"object"},"TrackResponse":{"properties":{"from":{"type":"integer"},"mmsi":{"type":"integer"},"positions":{"items":{"$ref":"#/components/schemas/Position"},"type":"array"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"to":{"type":"integer"},"took_us":{"type":"integer"}},"required":["mmsi","from","to","positions","provenance","took_us"],"type":"object"},"TrafficStatus":{"properties":{"applied":{"type":"boolean"},"applied_at":{"type":["integer","null"]},"edges_updated":{"type":"integer"},"engine":{"enum":["none","dijkstra","hierarchy"],"type":"string"},"took_us":{"type":"integer"},"version":{"type":"integer"}},"required":["applied","version","edges_updated","applied_at","engine","took_us"],"type":"object"},"TransitRoute":{"properties":{"id":{"type":"string"},"kind":{"description":"GTFS route_type: 0 tram, 1 metro, 2 rail, 3 bus, 4 ferry.","type":"integer"},"long_name":{"type":"string"},"short_name":{"type":"string"}},"required":["id","short_name","long_name","kind"],"type":"object"},"TransitRtStatus":{"properties":{"applied":{"type":"boolean"},"applied_at":{"type":["integer","null"]},"feed":{"type":"string"},"feed_time":{"type":["integer","null"]},"matched_trips":{"type":"integer"},"skipped":{"type":"integer"},"stop_updates":{"type":"integer"},"took_us":{"type":"integer"},"trip_updates":{"type":"integer"},"unknown_stops":{"type":"integer"},"unknown_trips":{"type":"integer"}},"required":["applied","feed","feed_time","trip_updates","matched_trips","unknown_trips","stop_updates","unknown_stops","skipped","applied_at","took_us"],"type":"object"},"ValidateResponse":{"properties":{"candidates":{"type":"integer"},"components":{"items":{"properties":{"input":{"type":["string","null"]},"matched":{"type":["string","null"]},"name":{"type":"string"},"quality":{"$ref":"#/components/schemas/MatchQuality"}},"required":["name","input","matched","quality"],"type":"object"},"type":"array"},"confidence":{"type":"number"},"epoch":{"description":"Manifest epoch this answer was served from.","type":"integer"},"formatted":{"type":"string"},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"precision":{"oneOf":[{"$ref":"#/components/schemas/Precision"},{"type":"null"}]},"receipt":{"$ref":"#/components/schemas/Receipt"},"release":{"description":"Data release string.","type":"string"},"took_us":{"type":"integer"},"verdict":{"enum":["confirmed","corrected","partial","unconfirmed"],"type":"string"},"why":{"type":"string"}},"required":["verdict","formatted","components","lat","lon","precision","confidence","candidates","why","took_us"],"type":"object"},"VesselResponse":{"properties":{"latest":{"oneOf":[{"$ref":"#/components/schemas/Position"},{"type":"null"}]},"mmsi":{"type":"integer"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"took_us":{"type":"integer"}},"required":["mmsi","latest","provenance","took_us"],"type":"object"},"VesselsResponse":{"properties":{"at":{"items":{"type":"number"},"type":"array"},"cell":{"type":"integer"},"from":{"type":"integer"},"level":{"type":"integer"},"provenance":{"oneOf":[{"$ref":"#/components/schemas/Source"},{"type":"null"}]},"results":{"items":{"$ref":"#/components/schemas/Position"},"type":"array"},"to":{"type":"integer"},"took_us":{"type":"integer"}},"required":["at","cell","level","from","to","results","provenance","took_us"],"type":"object"},"WalkLeg":{"description":"On foot, in a straight line: to the first stop, between stops, or from the last.","properties":{"distance_m":{"type":"number"},"duration_s":{"description":"At the walking speed, 1.3 m/s.","type":"integer"},"from":{"description":"`(lat, lon)`.","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"},"mode":{"enum":["walk"],"type":"string"},"to":{"description":"`(lat, lon)`.","items":{"type":"number"},"maxItems":2,"minItems":2,"type":"array"}},"required":["mode","from","to","distance_m","duration_s"],"type":"object"}},"securitySchemes":{"apiKey":{"description":"A key from the console, `sk_live_…` or `sk_test_…`. The plan behind it decides which products answer and how fast.","scheme":"bearer","type":"http"}}},"info":{"description":"Geocoding, search, routing, transit, maps, earth observation and maritime data from one index. Address results carry calibrated confidence, hierarchy, evidence, provenance and a licence code; `tied_at_top` says when the query does not determine one place.\n\n## Plans and limits\n\nCapacity is sold, not calls. A plan grants a set of **products** — `address`, `search`, `routing`, `platform`, and on Enterprise `operator` — each with a sustained requests-per-second and a burst. **There is no monthly quota anywhere**, and no request is ever refused for having used one.\n\nEvery route belongs to exactly one product, and each operation says which in `x-oslew-product`:\n\n- **`address`**: `GET /v1/geocode`, `GET /v1/reverse`, `GET /v1/postcode`, `GET /v1/validate`, `POST /v1/validate`, `POST /v1/validate/commit`, `POST /v1/feedback`, `GET /v1/sla`, `POST /v1/batch`, `GET /v1/batch`, `GET /v1/batch/{id}`, `GET /v1/batch/{id}/results`, `DELETE /v1/batch/{id}`, `GET /v1/timezone`, `GET /compat/google/maps/api/geocode/json`, `GET /compat/mapbox/geocoding/v5/mapbox.places/{search_text}`, `GET /compat/nominatim/search`, `GET /compat/nominatim/reverse`, `GET /compat/locationiq/v1/search.php`, `GET /compat/locationiq/v1/reverse.php`\n- **`search`**: `GET /v1/autocomplete`, `GET /v1/nearby`\n- **`routing`**: `GET /v1/route`, `GET /v1/matrix`, `GET /v1/isochrone`, `GET /v1/snap`, `POST /v1/match`, `GET /v1/optimize`, `GET /v1/stops`, `GET /v1/departures`, `GET /v1/journeys`\n- **`platform`**: `GET /v1/admin`, `GET /v1/here`, `GET /v1/tiles/{z}/{x}/{y}`, `GET /v1/tiles.json`, `GET /v1/style.json`, `GET /v1/static`, `GET /v1/elevation`, `GET /v1/raster`, `GET /v1/conditions`, `GET /v1/observations`, `GET /v1/scenes`, `GET /v1/events`, `GET /v1/vessels`, `GET /v1/vessel`, `GET /v1/track`, `GET /v1/crossings`, `GET /v1/aggregate`, `POST /v1/locate`\n- **`operator` (Enterprise only)**: `GET /v1/traffic`, `POST /v1/traffic`, `DELETE /v1/traffic`, `GET /v1/transit_rt`, `POST /v1/transit_rt`, `DELETE /v1/transit_rt`\n- **No key**: `GET /v1/health`, `GET /v1/migrate`\n\nThis document itself, at `/v1/openapi.json`, needs no key either.\n\nAuthenticate with `Authorization: Bearer sk_live_…` (or `sk_test_…`). A key in the query string is never read.\n\n| Status | Meaning | What to do |\n|---|---|---|\n| 401 | no key, or one that is unknown, revoked or suspended | present a key |\n| 403 | the plan does not include this product, or the request is larger than it allows | the body names the plan that does |\n| 429 | this product's bucket is empty | wait the seconds in `Retry-After`; nothing is used up |\n| 503 | the pod cannot reach the control plane and its entitlements are too old to trust | retry |\n\nAdmitted requests to keyed routes carry `RateLimit-Limit` (the sustained rate), `RateLimit-Remaining` (tokens left) and `RateLimit-Reset` (seconds until the bucket is full again), with `X-RateLimit-*` aliases. A 429 adds `Retry-After`. The names follow the IETF RateLimit header fields draft.","title":"oslew","version":"0.0.1"},"openapi":"3.1.0","paths":{"/compat/google/maps/api/geocode/json":{"get":{"description":"`status` is real and carries their meanings — `OK`, `ZERO_RESULTS`, `INVALID_REQUEST` — but never `OVER_QUERY_LIMIT`, because there is no query limit to go over: exceeding your throughput is a 429 with `Retry-After`. `key` is accepted and ignored. `place_id` is prefixed `geoalt:` so that storing it and sending it to Google fails loudly rather than returning a wrong place. Part of the **address** product.","operationId":"compat_google_maps_api_geocode_json","parameters":[{"description":"Free text; one of this or `latlng`.","in":"query","name":"address","schema":{"type":"string"}},{"description":"`lat,lng` for a reverse lookup.","in":"query","name":"latlng","schema":{"type":"string"}},{"description":"Accepted and ignored.","in":"query","name":"key","schema":{"type":"string"}},{"description":"Accepted and ignored: no translation layer exists.","in":"query","name":"language","schema":{"type":"string"}},{"description":"`country:XX|postal_code:YYYY|locality:Z` — country filters; locality and postal_code append to the query.","in":"query","name":"components","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":10,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Google's shape. A request with neither `address` nor `latlng` is `INVALID_REQUEST` inside a 200, as theirs is.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The Google Geocoding API's shape over this service's data: `results` and a `status`, at their path.","tags":["Compatibility"],"x-oslew-product":"address"}},"/compat/locationiq/v1/reverse.php":{"get":{"operationId":"compat_locationiq_v1_reverse_php","parameters":[{"in":"query","name":"lat","required":true,"schema":{"type":"number"}},{"in":"query","name":"lon","required":true,"schema":{"type":"number"}},{"description":"Accepted and ignored.","in":"query","name":"key","schema":{"type":"string"}},{"in":"query","name":"format","schema":{"default":"jsonv2","enum":["json","jsonv2"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"One object, with `distance_m` added.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing coordinates, or an untranslated format."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"LocationIQ's `reverse.php`: one object, as theirs is.","tags":["Compatibility"],"x-oslew-product":"address"}},"/compat/locationiq/v1/search.php":{"get":{"description":"The same two caveats as `/compat/nominatim/search`: `licence` is ours, and `osm_type` and `osm_id` are null. Part of the **address** product.","operationId":"compat_locationiq_v1_search_php","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"Accepted and ignored.","in":"query","name":"key","schema":{"type":"string"}},{"in":"query","name":"format","schema":{"default":"jsonv2","enum":["json","jsonv2"],"type":"string"}},{"in":"query","name":"limit","schema":{"default":10,"maximum":10,"type":"integer"}},{"in":"query","name":"addressdetails","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array"}}},"description":"An array in the Nominatim shape.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No q, or an untranslated format."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"LocationIQ's `search.php`: the Nominatim shape at their path, with `key` accepted and ignored.","tags":["Compatibility"],"x-oslew-product":"address"}},"/compat/mapbox/geocoding/v5/mapbox.places/{search_text}":{"get":{"description":"A compatibility endpoint, not a proxy. Your existing Mapbox client works after changing the host and the credential — `access_token` is accepted and ignored; authentication is this service's bearer key. The data is ours and every feature's `properties.provenance` carries its source, release and licence code; terms at https://www.oslew.com/licensing. Part of the **address** product. `search_text` may end in `.json`, as theirs does.","operationId":"compat_mapbox_geocoding_v5_mapbox_places","parameters":[{"description":"Free text, or `lon,lat` for a reverse lookup. May end in `.json`.","in":"path","name":"search_text","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":10,"type":"integer"}},{"description":"`lon,lat`; becomes our `near` bias (`lat,lon`).","in":"query","name":"proximity","schema":{"type":"string"}},{"description":"Comma-separated ISO codes; results outside the set are dropped.","in":"query","name":"country","schema":{"type":"string"}},{"description":"Accepted and ignored.","in":"query","name":"access_token","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Mapbox's FeatureCollection, with `properties.provenance` added.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Mapbox Geocoding v5's shape over this service's data: a FeatureCollection, at their path. Free text forward, `lon,lat` reverse, as they do it.","tags":["Compatibility"],"x-oslew-product":"address"}},"/compat/nominatim/reverse":{"get":{"operationId":"compat_nominatim_reverse","parameters":[{"in":"query","name":"lat","required":true,"schema":{"type":"number"}},{"in":"query","name":"lon","required":true,"schema":{"type":"number"}},{"in":"query","name":"format","schema":{"default":"jsonv2","enum":["json","jsonv2"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"One object, with `distance_m` added.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Missing coordinates, or an untranslated format."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Nominatim's `reverse` shape: one object, not an array, as theirs is.","tags":["Compatibility"],"x-oslew-product":"address"}},"/compat/nominatim/search":{"get":{"description":"Two fields are deliberately not copied. `licence` carries **ours**, not OpenStreetMap's, because the data is not theirs — terms at https://www.oslew.com/licensing. `osm_type` and `osm_id` are `null`: there is no honest OSM object to name, and inventing one would make your data unreconcilable with the real thing. Everything a client reads — `lat`, `lon`, `display_name`, `boundingbox`, `address`, `type` — is real. Part of the **address** product.","operationId":"compat_nominatim_search","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"`geojson` and `xml` are refused rather than answered in a shape you did not ask for.","in":"query","name":"format","schema":{"default":"jsonv2","enum":["json","jsonv2"],"type":"string"}},{"in":"query","name":"limit","schema":{"default":10,"maximum":10,"type":"integer"}},{"description":"The `address` object is included either way; the parts are already in the answer.","in":"query","name":"addressdetails","schema":{"type":"string"}},{"description":"Comma-separated ISO codes; results outside the set are dropped.","in":"query","name":"countrycodes","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"type":"object"},"type":"array"}}},"description":"An array in Nominatim's shape.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"A format this service does not produce."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Nominatim's `search` shape over this service's data: an array of objects with string coordinates and a `boundingbox`.","tags":["Compatibility"],"x-oslew-product":"address"}},"/v1/admin":{"get":{"operationId":"admin","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminResponse"}}},"description":"Outermost first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The administrative chain at a point: every division containing it, outermost first.","tags":["Places"],"x-oslew-product":"platform"}},"/v1/aggregate":{"get":{"operationId":"aggregate","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"description":"Level of the region cell around the point.","in":"query","name":"in_level","schema":{"default":4,"maximum":10,"minimum":0,"type":"integer"}},{"description":"Level of the output cells; default max(in_level, 6).","in":"query","name":"level","schema":{"maximum":10,"minimum":0,"type":"integer"}},{"in":"query","name":"from","schema":{"type":"integer"}},{"in":"query","name":"to","schema":{"type":"integer"}},{"description":"Seconds.","in":"query","name":"bucket","schema":{"default":3600,"minimum":3600,"type":"integer"}},{"in":"query","name":"limit","schema":{"default":1000,"maximum":10000,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AggregateResponse"}}},"description":"By cell, then bucket.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Vessel traffic under a cell rolled up by cell and time bucket: exact position counts, and a bound on distinct vessels.","tags":["Maritime"],"x-oslew-product":"platform"}},"/v1/autocomplete":{"get":{"operationId":"autocomplete","parameters":[{"description":"Text being typed; everything after the last comma is administrative context. A trailing space marks the last token finished.","in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"`lat,lon`; constrains to roughly a city around it.","in":"query","name":"near","schema":{"type":"string"}},{"description":"Emit `application/x-ndjson` one completion per line; also triggered by `Accept: application/x-ndjson`.","in":"query","name":"stream","schema":{"type":"boolean"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AutocompleteResponse"}}},"description":"Best first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Complete text being typed: the last token is a prefix, prominence ranks before name length, and no confidence is claimed.","tags":["Geocoding"],"x-oslew-product":"search"}},"/v1/batch":{"get":{"description":"From an index of markers whose names carry the creation time, so a listing costs one lookup plus one read per job returned. A cancelled job is still listed; its payloads are gone.","operationId":"list_batches","parameters":[{"in":"query","name":"limit","schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchList"}}},"description":"Newest first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The key's tenant's batch jobs, newest first.","tags":["Batch"],"x-oslew-product":"address"},"post":{"description":"Bulk geocoding is the same product at the same price, not a separate one: a job is paced by the key's own token bucket, so a bulk load and live traffic draw on one budget. JSON lines or CSV in; a bare address per line is accepted, and the address column may be called `q`, `address`, `query` or `text`. At most 2000000 rows and 64 MB.","operationId":"batch","parameters":[{"in":"query","name":"format","schema":{"default":"jsonl","enum":["jsonl","csv"],"type":"string"}}],"requestBody":{"content":{"application/x-ndjson":{"schema":{"type":"string"}},"text/csv":{"schema":{"type":"string"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJob"}}},"description":"Accepted; poll the job.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Not a readable file, no rows, or too many."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Too large."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Geocode a file. A job id comes back at once; the rows are worked through at the rate the key's plan sustains.","tags":["Batch"],"x-oslew-product":"address"}},"/v1/batch/{id}":{"delete":{"description":"The input and every output part are deleted, so a cancelled job's results cannot be collected afterwards. The job record stays, which is why it is still listed.","operationId":"delete_batch","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"string"},"state":{"enum":["cancelled"],"type":"string"}},"required":["id","state"],"type":"object"}}},"description":"Cancelled.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No job with that id."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Cancel a batch job and throw its payloads away.","tags":["Batch"],"x-oslew-product":"address"},"get":{"operationId":"get_batch","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchJob"}}},"description":"The job.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No job with that id."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"How a batch job is going, and how many seconds are left at its paced rate.","tags":["Batch"],"x-oslew-product":"address"}},"/v1/batch/{id}/results":{"get":{"description":"The answers are stored once, as lines, and converted on the way out. While the job is still running this is 409 with its progress, not 404: the job exists.","operationId":"batch_results","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"format","schema":{"default":"jsonl","enum":["jsonl","csv"],"type":"string"}}],"responses":{"200":{"content":{"application/x-ndjson":{"schema":{"type":"string"}},"text/csv":{"schema":{"type":"string"}}},"description":"One line or one row per input row, in the input's order, carrying back the caller's own `id`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No job with that id."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchNotDone"}}},"description":"Not finished: running, queued, failed or cancelled."},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A finished job's answers, as JSON lines or as a table.","tags":["Batch"],"x-oslew-product":"address"}},"/v1/conditions":{"get":{"operationId":"conditions","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"in":"query","name":"radius_m","schema":{"default":50000,"maximum":50000,"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConditionsResponse"}}},"description":"One condition per parameter; empty when no station is near.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The latest reading of every parameter near a point, each from the nearest station carrying it.","tags":["Earth"],"x-oslew-product":"platform"}},"/v1/crossings":{"get":{"operationId":"crossings","parameters":[{"in":"query","name":"mmsi","required":true,"schema":{"type":"integer"}},{"in":"query","name":"from","schema":{"type":"integer"}},{"in":"query","name":"to","schema":{"type":"integer"}},{"description":"`all` evaluates every divisions layer: countries, regions, time zones.","in":"query","name":"zones","schema":{"default":"maritime","enum":["maritime","all"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrossingsResponse"}}},"description":"Crossings by time, dwells by start.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Zone entries, exits and dwells along a vessel's track, against the maritime zone layers.","tags":["Maritime"],"x-oslew-product":"platform"}},"/v1/departures":{"get":{"operationId":"departures","parameters":[{"description":"A stop id as the feed names it; one of stop or at.","in":"query","name":"stop","schema":{"type":"string"}},{"description":"`lat,lon`: the nearest stop within 1 km.","in":"query","name":"at","schema":{"type":"string"}},{"description":"Unix seconds; now when absent.","in":"query","name":"time","schema":{"type":"integer"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeparturesResponse"}}},"description":"Departures at or after the instant, in order; trips past midnight belong to the previous service day.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request, unknown stop, or no stop near the point."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The next scheduled departures from a stop, or from the nearest stop to a point, on the feed's calendar in its own time zone.","tags":["Transit"],"x-oslew-product":"routing"}},"/v1/elevation":{"get":{"operationId":"elevation","parameters":[{"description":"`lat,lon`; one of at or path.","in":"query","name":"at","schema":{"type":"string"}},{"description":"`lat,lon;lat,lon;…`","in":"query","name":"path","schema":{"type":"string"}},{"in":"query","name":"samples","schema":{"default":32,"maximum":512,"minimum":2,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevationResponse"}}},"description":"Metres per point, bilinear on a 30 m grid; null outside coverage.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Elevation at a point, or sampled evenly along a path.","tags":["Earth"],"x-oslew-product":"platform"}},"/v1/events":{"get":{"description":"Feeds: Ticketmaster's Discovery API (concerts, games, theatre; every country it sells in, the next thirty days), the USGS real-time earthquake feed (M2.5 and up, the last week, worldwide), and air episodes derived from the station series against Mexico City's contingency programme (PCAA 2019) and the US AQI. An air episode is a run of hours with readings at that level, not a declaration: `details.declared_by` names who declares. Every feed searched is listed in `sources` with its release and licence, whether it matched or not.","operationId":"events","parameters":[{"description":"`lat,lon`; or `bbox`.","in":"query","name":"at","schema":{"type":"string"}},{"description":"`lng_lo,lat_lo,lng_hi,lat_hi`.","in":"query","name":"bbox","schema":{"type":"string"}},{"in":"query","name":"radius_m","schema":{"default":25000,"maximum":500000.0,"type":"number"}},{"description":"Unix seconds; default a day ago.","in":"query","name":"from","schema":{"type":"integer"}},{"description":"Unix seconds; default thirty days ahead.","in":"query","name":"to","schema":{"type":"integer"}},{"description":"Comma-separated: `music`, `sports`, `arts`, `film`, `family`, `other`, `quake`, `air`.","in":"query","name":"category","schema":{"type":"string"}},{"description":"Text the title contains, any case.","in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"order","schema":{"default":"soonest","enum":["soonest","newest","nearest"],"type":"string"}},{"in":"query","name":"limit","schema":{"default":20,"maximum":100,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventsResponse"}}},"description":"In the order asked for.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request, or no events layer loaded."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Events near a point or in a box overlapping a time range: ticketed events, earthquakes, and hours when air readings reached a city's alert level.","tags":["Events"],"x-oslew-product":"platform"}},"/v1/feedback":{"post":{"operationId":"feedback","requestBody":{"content":{"application/json":{"schema":{"properties":{"at":{"description":"`lat,lon` of the selected result; stored as a level-12 cell.","type":"string"},"context":{"type":"string"},"q":{"description":"The free-text query that produced the list.","type":"string"},"results":{"description":"How many results the list showed.","type":"integer"},"selected_rank":{"description":"1-based rank of the chosen result.","minimum":1,"type":"integer"}},"required":["selected_rank"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"recorded":{"type":"boolean"}},"required":["recorded"],"type":"object"}}},"description":"Recorded.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"selected_rank missing or zero."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Record that a caller selected a geocode or autocomplete result. The anonymous query log has no click labels; this is the opt-in signal for traffic-learning the reranker. Digits in `q` are redacted; `at` is stored as a ~2 km cell.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/geocode":{"get":{"operationId":"geocode","parameters":[{"description":"Free text as `name, context`. Prefer a postcode in the context when known — hold-outs show ~7× lower median error than city-only.","in":"query","name":"q","required":true,"schema":{"type":"string"}},{"description":"`lat,lon`; constrains to roughly a city around it.","in":"query","name":"near","schema":{"type":"string"}},{"description":"Comma-separated ISO country codes; results outside the set are dropped after ranking.","in":"query","name":"country","schema":{"type":"string"}},{"description":"Comma-separated license allow-list: SPDX fragment, `permissive`, or `odbl`.","in":"query","name":"license","schema":{"type":"string"}},{"description":"Answer from an earlier manifest epoch the deployment still retains; only where the operator keeps them (`GEO_ASOF=1`), otherwise 400.","in":"query","name":"epoch","schema":{"type":"integer"}},{"description":"Require this data release string; 400 on mismatch.","in":"query","name":"release","schema":{"type":"string"}},{"description":"Include a receipt: the epoch, the release and a SHA-256 of the answer. It is also signed with a keyed SHA-256 when the operator sets `GEO_RECEIPT_SECRET`.","in":"query","name":"receipt","schema":{"type":"boolean"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"minimum":1,"type":"integer"}},{"description":"Place a house number the data does not hold between the two recorded numbers that bracket it, reporting `precision: interpolated` and the pair in `between`. `false` returns the nearest recorded row instead, which is what to compare against.","in":"query","name":"interpolate","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeocodeResponse"}}},"description":"Ranked results.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Resolve a name, or a number and street, with optional context.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/health":{"get":{"operationId":"health","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"}}},"description":"OK"}},"security":[],"summary":"The index the service answers from.","tags":["Service"],"x-oslew-product":"free"}},"/v1/here":{"get":{"operationId":"here","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"in":"query","name":"radius_m","schema":{"default":1000,"maximum":5000,"type":"number"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"type":"integer"}},{"in":"query","name":"time","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HereResponse"}}},"description":"What is here.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Everything known at a point, from every loaded layer: administrative chain, time zone, nearest places, nearest road, elevation and rasters, latest conditions, transit stops.","tags":["Places"],"x-oslew-product":"platform"}},"/v1/isochrone":{"get":{"operationId":"isochrone","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"in":"query","name":"seconds","schema":{"default":600,"maximum":3600,"type":"number"}},{"description":"Cell level of the answer; 14 is ~600 m.","in":"query","name":"level","schema":{"default":14,"maximum":16,"minimum":8,"type":"integer"}},{"description":"The mode; each has its own network, speeds and access rules. `live` is driving on the traffic feed's weights when one is applied, and the release's weights when none is.","in":"query","name":"profile","schema":{"default":"driving","enum":["driving","walking","cycling","rail","live"],"type":"string"}},{"description":"Use the traffic feed's weights when one is applied (driving only); the same as `profile=live`.","in":"query","name":"traffic","schema":{"enum":["live"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IsochroneResponse"}}},"description":"Reached cells with earliest arrival.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Every cell reachable within a time budget of a point.","tags":["Routing"],"x-oslew-product":"routing"}},"/v1/journeys":{"get":{"operationId":"journeys","parameters":[{"description":"`lat,lon`.","in":"query","name":"from","required":true,"schema":{"type":"string"}},{"description":"`lat,lon`.","in":"query","name":"to","required":true,"schema":{"type":"string"}},{"description":"Leave at or after, unix seconds; now when absent.","in":"query","name":"time","schema":{"type":"integer"}},{"in":"query","name":"max_transfers","schema":{"default":3,"maximum":6,"type":"integer"}},{"in":"query","name":"walk_m","schema":{"default":800,"maximum":2000,"type":"number"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":10,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JourneysResponse"}}},"description":"The journeys; empty when none leaves in the feed's service day.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request, or no feed covers both ends."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Transit directions (RAPTOR): the fastest journey for each number of transfers, with walking to, between and from the stops, live delays applied when a realtime feed is.","tags":["Transit"],"x-oslew-product":"routing"}},"/v1/locate":{"post":{"operationId":"locate","requestBody":{"content":{"application/json":{"schema":{"properties":{"cell":{"items":{"$ref":"#/components/schemas/SeenBeacon"},"type":"array"},"wifi":{"items":{"$ref":"#/components/schemas/SeenBeacon"},"type":"array"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"The fix.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No beacon given, or none known."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A position from the Wi-Fi access points and cell towers a device sees, against a beacon feed: a weighted centroid, an accuracy radius, and the ids no feed knew.","tags":["Geolocation"],"x-oslew-product":"platform"}},"/v1/match":{"post":{"operationId":"match","requestBody":{"content":{"application/json":{"schema":{"properties":{"geometry":{"default":true,"type":"boolean"},"points":{"items":{"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"time":{"type":["integer","null"]}},"required":["lat","lon"],"type":"object"},"maxItems":10000,"type":"array"},"profile":{"default":"driving","description":"The mode whose network to match onto.","enum":["driving","walking","cycling","rail"],"type":"string"},"search_m":{"default":50,"description":"How far from a point a road may be, metres.","maximum":200,"minimum":5,"type":"number"},"sigma_m":{"default":4.07,"description":"The GPS noise, metres.","maximum":50,"minimum":1,"type":"number"}},"required":["points"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchResponse"}}},"description":"The match.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Match a GPS trace onto the roads (Newson–Krumm HMM): per point the edge and position it most likely lies on, the matched route, its length and duration, and a confidence.","tags":["Routing"],"x-oslew-product":"routing"}},"/v1/matrix":{"get":{"operationId":"matrix","parameters":[{"description":"`lat,lon;lat,lon;…`","in":"query","name":"points","required":true,"schema":{"type":"string"}},{"description":"The mode; each has its own network, speeds and access rules. `live` is driving on the traffic feed's weights when one is applied, and the release's weights when none is.","in":"query","name":"profile","schema":{"default":"driving","enum":["driving","walking","cycling","rail","live"],"type":"string"}},{"description":"Use the traffic feed's weights when one is applied (driving only); the same as `profile=live`.","in":"query","name":"traffic","schema":{"enum":["live"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatrixResponse"}}},"description":"Seconds, row-major from each point to each point.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Travel times between every pair of up to 500 points.","tags":["Routing"],"x-oslew-product":"routing"}},"/v1/migrate":{"get":{"description":"Free and unauthenticated, because somebody deciding whether to switch has no key yet. Recognises Mapbox, Google, LocationIQ, Nominatim, Geoapify and Photon by host or by path shape. A credential in the URL is never echoed back. Prices are the vendors' published list prices as of 2026-09, summed across every volume band, and this service cannot verify them; a vendor whose pricing is a daily free tier rather than a per-thousand list price is reported unpriced rather than guessed at. Ours is the cheapest plan whose sustained Address rate carries the busier of the month's average rate and `peak_rps`.","operationId":"migrate","parameters":[{"description":"A request you already make, with its query string.","in":"query","name":"url","required":true,"schema":{"type":"string"}},{"description":"Requests a month, for the comparison.","in":"query","name":"volume","schema":{"default":100000,"type":"integer"}},{"description":"The busiest sustained rate your traffic reaches — an import, a month-start backfill. The plan is chosen on the busier of this and the month's average.","in":"query","name":"peak_rps","schema":{"minimum":0,"type":"number"}},{"description":"The base URL to write this service's equivalents against.","in":"query","name":"base","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MigrateResponse"}}},"description":"The two URLs that replace theirs, every parameter accounted for, and the bill."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No url, or one that does not read as a URL."}},"security":[],"summary":"Paste a request you already make to another provider; get this service's equivalent, every parameter that does not carry over and why, and what the month costs either way.","tags":["Service"],"x-oslew-product":"free"}},"/v1/nearby":{"get":{"operationId":"nearby","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"description":"Matched whole or as a token of the place's category: `restaurant` matches `mexican_restaurant`.","in":"query","name":"category","schema":{"type":"string"}},{"description":"Free-text cue (`farmacia cerca`); resolves a category when `category` is absent.","in":"query","name":"q","schema":{"type":"string"}},{"description":"`now` or unix seconds: only places an attributes feed says are open then, in the point's time zone.","in":"query","name":"open_at","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NearbyResponse"}}},"description":"Nearest first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The nearest places to a point, nearest first, optionally of one category.","tags":["Places"],"x-oslew-product":"search"}},"/v1/observations":{"get":{"operationId":"observations","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"description":"`pm25`, `o3`, … as the feed names it; an unknown one lists what is loaded.","in":"query","name":"parameter","required":true,"schema":{"type":"string"}},{"description":"Unix seconds; 24 hours before `to` when absent.","in":"query","name":"from","schema":{"type":"integer"}},{"description":"Unix seconds; the feed's end when absent.","in":"query","name":"to","schema":{"type":"integer"}},{"description":"Nearest stations to answer with.","in":"query","name":"stations","schema":{"default":1,"maximum":10,"minimum":1,"type":"integer"}},{"in":"query","name":"radius_m","schema":{"default":50000,"maximum":50000,"type":"number"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservationsResponse"}}},"description":"Points per station, nearest first; at most 10,000 points in all.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request, or no station carries the parameter within the radius."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"One parameter's time series (air quality, weather) at the stations nearest a point, from a station feed.","tags":["Earth"],"x-oslew-product":"platform"}},"/v1/optimize":{"get":{"operationId":"optimize","parameters":[{"description":"`lat,lon;lat,lon;…`","in":"query","name":"points","required":true,"schema":{"type":"string"}},{"in":"query","name":"roundtrip","schema":{"default":true,"type":"boolean"}},{"in":"query","name":"source","schema":{"default":"first","enum":["first","any"],"type":"string"}},{"in":"query","name":"destination","schema":{"default":"any","enum":["last","any"],"type":"string"}},{"description":"The mode; each has its own network, speeds and access rules.","in":"query","name":"profile","schema":{"default":"driving","enum":["driving","walking","cycling","rail"],"type":"string"}},{"description":"Use the traffic feed's weights when one is applied (driving only).","in":"query","name":"traffic","schema":{"enum":["live"],"type":"string"}},{"in":"query","name":"geometry","schema":{"default":true,"type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptimizeResponse"}}},"description":"The order.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request, or no order visits every point."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The fastest order to visit 2 to 500 points: a duration matrix, then nearest-neighbour, 2-opt and Or-opt (exact up to 8 points), with the legs routed.","tags":["Routing"],"x-oslew-product":"routing"}},"/v1/postcode":{"get":{"description":"The position is the mean of the code's own address points, not a published centroid, so it is where the addresses actually are; `precision_m` is half the diagonal of what they cover, which for a rural code is kilometres. Without `country`, a code that two countries share comes back twice rather than being guessed at. `admin` is filled from the divisions layer, which is where the locality comes from for a country whose address rows carry none — Mexico's do not.","operationId":"postcode","parameters":[{"description":"Any spelling: `03940`, `SW1A 1AA`, `sw1a1aa`.","in":"query","name":"code","required":true,"schema":{"type":"string"}},{"description":"ISO code, to narrow a shared code.","in":"query","name":"country","schema":{"type":"string"}},{"description":"Treat `code` as a prefix: the codes that begin with it.","in":"query","name":"prefix","schema":{"type":"boolean"}},{"in":"query","name":"limit","schema":{"default":10,"maximum":50,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostcodeResponse"}}},"description":"Matches, or none.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No code, or no postcode layer loaded."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A postcode: the centroid of its addresses, their extent, how many there are, and the administrative chain it sits in.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/raster":{"get":{"operationId":"raster","parameters":[{"description":"The layer's name as ingested: `elevation`, `solar_ghi`, `ecmwf_2t`, …; an unknown name lists the loaded ones.","in":"query","name":"layer","required":true,"schema":{"type":"string"}},{"description":"Unix seconds, for a field with a time axis: linear between the two valid times around it; now when absent.","in":"query","name":"time","schema":{"type":"integer"}},{"description":"`lat,lon`; one of at or path.","in":"query","name":"at","schema":{"type":"string"}},{"description":"`lat,lon;lat,lon;…`","in":"query","name":"path","schema":{"type":"string"}},{"in":"query","name":"samples","schema":{"default":32,"maximum":512,"minimum":2,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RasterResponse"}}},"description":"Values in the layer's units, bilinear; null outside coverage.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request or unknown layer."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Any named raster layer (solar irradiance, land cover, elevation) at a point or sampled evenly along a path.","tags":["Earth"],"x-oslew-product":"platform"}},"/v1/reverse":{"get":{"operationId":"reverse","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReverseResponse"}}},"description":"Nearest first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The places nearest a point, nearest first.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/route":{"get":{"operationId":"route","parameters":[{"description":"`lat,lon`.","in":"query","name":"from","required":true,"schema":{"type":"string"}},{"description":"`lat,lon`.","in":"query","name":"to","required":true,"schema":{"type":"string"}},{"description":"Return the path as `(lat, lon)` per node.","in":"query","name":"geometry","schema":{"default":true,"type":"boolean"}},{"description":"The mode; each has its own network, speeds and access rules. `live` is driving on the traffic feed's weights when one is applied, and the release's weights when none is.","in":"query","name":"profile","schema":{"default":"driving","enum":["driving","walking","cycling","rail","live"],"type":"string"}},{"description":"Use the traffic feed's weights when one is applied (driving only); the same as `profile=live`.","in":"query","name":"traffic","schema":{"enum":["live"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouteResponse"}}},"description":"The route, or `found: false`.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request, or no road within 9 km."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The fastest road route between two points, each snapped to the nearest point on a road.","tags":["Routing"],"x-oslew-product":"routing"}},"/v1/scenes":{"get":{"operationId":"scenes","parameters":[{"description":"`lng_lo,lat_lo,lng_hi,lat_hi`; or `at`.","in":"query","name":"bbox","schema":{"type":"string"}},{"description":"`lat,lon`: scenes covering the point.","in":"query","name":"at","schema":{"type":"string"}},{"in":"query","name":"from","schema":{"type":"integer"}},{"in":"query","name":"to","schema":{"type":"integer"}},{"description":"Percent.","in":"query","name":"max_cloud","schema":{"type":"number"}},{"in":"query","name":"limit","schema":{"default":20,"maximum":500,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScenesResponse"}}},"description":"Newest first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"STAC items over a box or point in a time range under a cloud cover, newest first, with asset hrefs.","tags":["Earth"],"x-oslew-product":"platform"}},"/v1/sla":{"get":{"operationId":"sla","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"The accuracy bands and scoreboard headlines.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Published hold-out accuracy bands and places scoreboard headlines: how far answers land from the truth, measured, not promised.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/snap":{"get":{"operationId":"snap","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"description":"The mode whose network to snap to.","in":"query","name":"profile","schema":{"default":"driving","enum":["driving","walking","cycling","rail"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapResponse"}}},"description":"The snap, or null beyond 9 km.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The nearest point on a road to a point, with the road's class and posted limit.","tags":["Routing"],"x-oslew-product":"routing"}},"/v1/static":{"get":{"description":"For a report, an email or anywhere a map cannot run. Part of the **platform** product.","operationId":"static","parameters":[{"description":"`lat,lon` of the centre.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"in":"query","name":"zoom","schema":{"default":13,"type":"number"}},{"in":"query","name":"width","schema":{"default":800,"maximum":2048,"type":"integer"}},{"in":"query","name":"height","schema":{"default":600,"maximum":2048,"type":"integer"}}],"responses":{"200":{"content":{"image/png":{"schema":{"format":"binary","type":"string"}}},"description":"A PNG.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad centre, or no tile archive loaded."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A PNG of the basemap around a point: the tiles it needs, rasterised and stitched here.","tags":["Maps"],"x-oslew-product":"platform"}},"/v1/stops":{"get":{"operationId":"stops","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"in":"query","name":"radius_m","schema":{"default":1000,"maximum":5000,"type":"number"}},{"in":"query","name":"limit","schema":{"default":5,"maximum":50,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StopsResponse"}}},"description":"Nearest first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The transit stops nearest a point, with the routes calling at each, from a GTFS feed.","tags":["Transit"],"x-oslew-product":"routing"}},"/v1/style.json":{"get":{"description":"Hand it to MapLibre or Mapbox GL as the style URL and a map appears. Part of the **platform** product.","operationId":"style_json","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"A MapLibre GL style document.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No tile archive loaded."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A MapLibre GL style over the basemap: layers, colours and the source pointing back at this service.","tags":["Maps"],"x-oslew-product":"platform"}},"/v1/tiles.json":{"get":{"description":"Point any TileJSON-aware client at this. The tile URL is built from the request's own host, so it is right behind a proxy without configuration. Part of the **platform** product.","operationId":"tiles_json","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"TileJSON 3.0.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"No tile archive loaded."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The TileJSON 3.0 document for the basemap: the tile URL template, the zoom range, the bounds and the attribution.","tags":["Maps"],"x-oslew-product":"platform"}},"/v1/tiles/{z}/{x}/{y}":{"get":{"description":"A Mapbox Vector Tile 2.1 body out of a PMTiles archive, or a PNG rendered from it. 204 when the archive has no tile at that address, which is what an empty ocean tile is. Part of the **platform** product.","operationId":"tiles","parameters":[{"in":"path","name":"z","required":true,"schema":{"maximum":24,"minimum":0,"type":"integer"}},{"in":"path","name":"x","required":true,"schema":{"minimum":0,"type":"integer"}},{"description":"The row, optionally with `.mvt`, `.pbf` or `.png`.","in":"path","name":"y","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/vnd.mapbox-vector-tile":{"schema":{"format":"binary","type":"string"}},"image/png":{"schema":{"format":"binary","type":"string"}}},"description":"The tile.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"204":{"description":"No tile at that address.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad address, or no tile archive loaded."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"One basemap tile. `y` may carry an extension: `.mvt` or `.pbf` for the vector tile as stored, `.png` to rasterise it here.","tags":["Maps"],"x-oslew-product":"platform"}},"/v1/timezone":{"get":{"operationId":"timezone","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"description":"Unix seconds; now when absent.","in":"query","name":"timestamp","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimezoneResponse"}}},"description":"Zone and offsets; every field null when no zone holds the point.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The time zone at a point and its offsets at a timestamp.","tags":["Places"],"x-oslew-product":"address"}},"/v1/track":{"get":{"operationId":"track","parameters":[{"in":"query","name":"mmsi","required":true,"schema":{"type":"integer"}},{"in":"query","name":"from","schema":{"type":"integer"}},{"in":"query","name":"to","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrackResponse"}}},"description":"By time.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A vessel's positions in a time range, by time.","tags":["Maritime"],"x-oslew-product":"platform"}},"/v1/traffic":{"delete":{"operationId":"delete_traffic","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficStatus"}}},"description":"Status.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Discard the live weights.","tags":["Operator"],"x-oslew-product":"operator"},"get":{"operationId":"traffic","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficStatus"}}},"description":"Status.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Whether live weights are in force, and which engine answers `profile=live`.","tags":["Operator"],"x-oslew-product":"operator"},"post":{"operationId":"post_traffic","parameters":[{"description":"The body is TomTom Flow Segment Data or HERE Traffic v7 flow rather than this service's edge list.","in":"query","name":"format","schema":{"enum":["tomtom","here"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"edges":{"items":{"properties":{"at":{"description":"`lat,lon` on the road.","type":"string"},"factor":{"description":"On the release's time; 2 is twice as slow.","type":"number"},"speed_kmh":{"type":"number"},"to":{"description":"`lat,lon` further along, for the whole stretch.","type":"string"}},"required":["at"],"type":"object"},"type":"array"}},"required":["edges"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficStatus"}}},"description":"Status after applying.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Apply a traffic feed: roads named by a point (or a stretch between two) with a speed or a factor on the release's time. Live routes answer by Dijkstra at once and by the hierarchy once it is contracted in the background. With `?format=tomtom` or `?format=here` the body is that vendor's flow JSON as returned by its API.","tags":["Operator"],"x-oslew-product":"operator"}},"/v1/transit_rt":{"delete":{"operationId":"delete_transit_rt","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransitRtStatus"},"type":"array"}}},"description":"Status per feed.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Drop every live transit delay.","tags":["Operator"],"x-oslew-product":"operator"},"get":{"operationId":"transit_rt","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TransitRtStatus"},"type":"array"}}},"description":"Status per feed.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Whether live transit delays are in force, per loaded feed.","tags":["Operator"],"x-oslew-product":"operator"},"post":{"operationId":"post_transit_rt","requestBody":{"content":{"application/x-protobuf":{"schema":{"format":"binary","type":"string"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransitRtStatus"}}},"description":"What the feed did.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Not a FeedMessage, or no loaded feed knows its trips."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Apply a GTFS-Realtime FeedMessage (protobuf body): trip updates become delays and skipped calls that departures apply on top of the schedule, for the feed whose trips it names.","tags":["Operator"],"x-oslew-product":"operator"}},"/v1/validate":{"get":{"operationId":"validate","parameters":[{"description":"Free text, `number street, locality, region postcode, country`.","in":"query","name":"text","schema":{"type":"string"}},{"in":"query","name":"house_number","schema":{"type":"string"}},{"in":"query","name":"street","schema":{"type":"string"}},{"in":"query","name":"locality","schema":{"type":"string"}},{"in":"query","name":"region","schema":{"type":"string"}},{"in":"query","name":"postcode","schema":{"type":"string"}},{"in":"query","name":"country","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateResponse"}}},"description":"The validation.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Neither text nor street given."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Validate an address against the addresses and places layers: a verdict (confirmed, corrected, partial, unconfirmed), the corrected form, and each component's agreement.","tags":["Geocoding"],"x-oslew-product":"address"},"post":{"operationId":"post_validate","requestBody":{"content":{"application/json":{"schema":{"properties":{"country":{"type":"string"},"house_number":{"type":"string"},"locality":{"type":"string"},"postcode":{"type":"string"},"region":{"type":"string"},"street":{"type":"string"},"text":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateResponse"}}},"description":"The validation.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Neither text nor street given."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"The same, with the address as a JSON body of the same fields.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/validate/commit":{"post":{"operationId":"validate_commit","requestBody":{"content":{"application/json":{"schema":{"properties":{"country":{"type":"string"},"house_number":{"type":"string"},"locality":{"type":"string"},"postcode":{"type":"string"},"region":{"type":"string"},"selected_rank":{"minimum":1,"type":"integer"},"street":{"type":"string"},"text":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateResponse"}}},"description":"Validation plus receipt.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Neither text nor street given."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Validate an address, seal a receipt, and optionally record the accepted correction as feedback for traffic learning.","tags":["Geocoding"],"x-oslew-product":"address"}},"/v1/vessel":{"get":{"operationId":"vessel","parameters":[{"in":"query","name":"mmsi","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VesselResponse"}}},"description":"The latest position, or null.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"A vessel's last known position.","tags":["Maritime"],"x-oslew-product":"platform"}},"/v1/vessels":{"get":{"operationId":"vessels","parameters":[{"description":"`lat,lon`.","in":"query","name":"at","required":true,"schema":{"type":"string"}},{"description":"Cell level around the point; 8 is ~40 km.","in":"query","name":"level","schema":{"default":8,"maximum":16,"minimum":2,"type":"integer"}},{"description":"Unix seconds; the layer's start when absent.","in":"query","name":"from","schema":{"type":"integer"}},{"description":"Unix seconds; the layer's end when absent.","in":"query","name":"to","schema":{"type":"integer"}},{"in":"query","name":"limit","schema":{"default":100,"maximum":5000,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VesselsResponse"}}},"description":"Latest first.","headers":{"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"Bad request."},"401":{"$ref":"#/components/responses/Unauthorized"},"403":{"$ref":"#/components/responses/NotInPlan"},"429":{"$ref":"#/components/responses/RateLimited"},"503":{"$ref":"#/components/responses/Unavailable"}},"summary":"Each vessel's latest AIS position in a cell around a point during a time range.","tags":["Maritime"],"x-oslew-product":"platform"}}},"security":[{"apiKey":[]}],"tags":[{"description":"Addresses and place names to coordinates and back: forward, autocomplete, reverse, postcodes and validation.","name":"Geocoding"},{"description":"A file of addresses geocoded as one job, paced by the key's own rate.","name":"Batch"},{"description":"What is at or near a point: places by category, the administrative chain, the time zone, and every loaded layer at once.","name":"Places"},{"description":"Roads by mode: routes, travel-time matrices, isochrones, snapping, map matching and visit order.","name":"Routing"},{"description":"Timetabled transit from GTFS feeds: stops, departures and journeys, with live delays when a realtime feed is applied.","name":"Transit"},{"description":"The basemap as vector tiles, TileJSON, a MapLibre style, and static PNGs.","name":"Maps"},{"description":"Elevation and other rasters, station weather and air quality, and satellite scenes.","name":"Earth"},{"description":"What is happening near a point in a time range: ticketed events, earthquakes, and hours when air readings reached alert levels.","name":"Events"},{"description":"AIS vessel positions: latest fixes, tracks, zone crossings and traffic density.","name":"Maritime"},{"description":"A position from the Wi-Fi access points and cell towers a device sees.","name":"Geolocation"},{"description":"Other providers' request and response shapes over this service's data, at their paths.","name":"Compatibility"},{"description":"Feed ingestion — live traffic and GTFS-Realtime — which changes what one pod answers. Enterprise only.","name":"Operator"},{"description":"Health, and pricing a migration before there is a key.","name":"Service"}]}