New to Corsair? See API access, authentication, and error handling.
Geo
boundaries
geo.boundaries
Read the administrative boundaries a place belongs to, such as its city, county and country
Risk: read
Identify the place by
id, by lat/lon, or by osm_id with osm_type.
Output
features full type
features full type
elevation
geo.elevation
Sample the terrain elevation at one or more points, in metres or feet
Risk: read
locations full type
locations full type
results full type
results full type
ip
geo.ip
Locate an IP address, or the caller when none is given, returning its country, city and coordinates
Risk: read
Output
location full type
location full type
postcodeList
geo.postcodeList
Search postcodes by a prefix or a spatial filter, which is what a postcode autocomplete needs
Risk: read
Output
results full type
results full type
postcodeSearch
geo.postcodeSearch
Look up a postcode, returning its coordinates and the places it covers
Risk: read
Output
results full type
results full type
timezone
geo.timezone
Read the time zone at a point, including whether daylight saving applies at a given moment
Risk: read
Output
timezones full type
timezones full type
Geocode
autocomplete
geocode.autocomplete
Suggest addresses from a partial one as a user types, which is what a search box needs
Risk: read
Output
results full type
results full type
query full type
query full type
forward
geocode.forward
Turn an address or place name into coordinates, a formatted address and its components, with a confidence for the match
Risk: read
Always asks for
format: json, so matches are under results.
Output
results full type
results full type
query full type
query full type
reverse
geocode.reverse
Turn a latitude and longitude into the address at that point, with its full set of components
Risk: read
Output
results full type
results full type
query full type
query full type
Places
details
places.details
Read one place by its ID, with its address, categories, contact details and opening hours
Risk: read
Output
features full type
features full type
search
places.search
Find places by category within an area, such as restaurants inside a circle, with the details each place carries
Risk: read
A v2 route, so it always answers a feature collection under
features.
Output
features full type
features full type
Routing
isoline
routing.isoline
Calculate the area reachable from a point within a time or distance, one polygon per range. A slow calculation returns only an id to read it with later
Risk: read
Output
features full type
features full type
properties full type
properties full type
matrix
routing.matrix
Calculate the time and distance between every source and target, one row per source. A pair with no route has null distance and time
Risk: read
Points are
{ lat, lon }. A pair with no route has null distance and time, and the rest of the matrix is still valid.
sources full type
sources full type
targets full type
targets full type
sources_to_targets full type
sources_to_targets full type
sources full type
sources full type
targets full type
targets full type
route
routing.route
Calculate a route between waypoints, with distance, time and optional turn-by-turn steps and geometry
Risk: read
format defaults to json, where geometry is one list of { lat, lon } points per leg; geojson returns features instead of results.
Output
results full type
results full type