New to Corsair? See API access, authentication, and error handling.
Directions
route
directions.route
Get a route between 2 to 25 waypoints for driving, driving with traffic, walking or cycling, with optional steps, annotations and alternatives; throws when Mapbox finds no route
Risk: read
Throws a MapboxAPIError with code NoRoute or NoSegment when Mapbox finds no route; it answers those with HTTP 200.
coordinates full type
coordinates full type
waypoints full type
waypoints full type
routes full type
routes full type
Geocoding
forward
geocoding.forward
Turn an address or place name into coordinates and structured address context; a query with no match returns an empty features list
Risk: read
Searches by text; for structured address input or permanent storage, call Mapbox directly. Mapbox ignores a limit outside 1 to 10, so the plugin rejects it.
proximity full type
proximity full type
features full type
features full type
reverse
geocoding.reverse
Turn a longitude and latitude into the address, place or other features at that point
Risk: read
Output
features full type
features full type
Isochrone
get
isochrone.get
Get the area reachable from a point within up to four travel times or distances, as GeoJSON lines or polygons
Risk: read
Give contours_minutes (1 to 60) or contours_meters (1 to 100000), up to four, strictly increasing. Mapbox returns the largest contour first.
coordinate full type
coordinate full type
features full type
features full type
Matrix
calculate
matrix.calculate
Get travel times, distances or both between up to 25 points (10 with traffic), as a sources by destinations table
Risk: read
Up to 25 coordinates, or 10 for mapbox/driving-traffic. A null cell means no route between that pair.
coordinates full type
coordinates full type
sources full type
sources full type
destinations full type
destinations full type
Tilequery
query
tilequery.query
List the features of one or more vector tilesets at or near a point, nearest first
Risk: read
Needs a radius for point and line data. A default token showed a limit of 50 requests a minute.
coordinate full type
coordinate full type
features full type
features full type
Trips
optimize
trips.optimize
Find the fastest order to visit 2 to 12 stops (Optimization v1, answered immediately); throws on NoSegment or an unsupported roundtrip/source/destination combination
Risk: read
Optimization v1, answered immediately. roundtrip: false needs source: first and destination: last; Mapbox answers NotImplemented for any other pair.
coordinates full type
coordinates full type
waypoints full type
waypoints full type
trips full type
trips full type