New to Corsair? See API access, authentication, and error handling.
Routing
calculate
routing.calculate
Calculate a route between waypoints with travel mode, traffic and avoidance options; makes no booking
Risk: read
Waypoints are joined in the path, origins then destinations.
depart_at uses future traffic when traffic is on.
origins full type
origins full type
destinations full type
destinations full type
routes full type
routes full type
Search
fuzzy
search.fuzzy
Search for places, addresses, streets and geography, with optional geo bias and country filters
Risk: read
radius needs both lat and lon. limit caps at 100. summary.totalResults is the total match count and summary.numResults the size of this page.
Output
summary full type
summary full type
results full type
results full type
geocode
search.geocode
Turn an address into coordinates
Risk: read
The query goes in the path. Pass the address as plain text; the plugin encodes it.
Output
summary full type
summary full type
results full type
results full type
reverseGeocode
search.reverseGeocode
Turn coordinates into the nearest address
Risk: read
Output
summary full type
summary full type
addresses full type
addresses full type
Traffic
flow
traffic.flow
Read the current speed and free-flow speed on the road at a point
Risk: read
Output
flowSegmentData full type
flowSegmentData full type
incidents
traffic.incidents
List live traffic incidents in a bounding box, with their delay and road numbers
Risk: read
The bounding box is minLon,minLat,maxLon,maxLat. The box may cover at most 10,000 km².
category_filter is a list of category numbers, such as [1, 6] for Accident and Jam, and time_validity_filter takes present, future or both.
Output
incidents full type
incidents full type
tile
traffic.tile
Fetch one traffic flow or incident map tile
Risk: read
Returns the PNG as base64. The flow layer defaults to the relative style and the incidents layer to s3.
Output