Skip to main content
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
Input Waypoints are joined in the path, origins then destinations. depart_at uses future traffic when traffic is on.
Output

fuzzy

search.fuzzy Search for places, addresses, streets and geography, with optional geo bias and country filters Risk: read
Input 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

geocode

search.geocode Turn an address into coordinates Risk: read
Input The query goes in the path. Pass the address as plain text; the plugin encodes it. Output

reverseGeocode

search.reverseGeocode Turn coordinates into the nearest address Risk: read
Input Output

Traffic

flow

traffic.flow Read the current speed and free-flow speed on the road at a point Risk: read
Input Output

incidents

traffic.incidents List live traffic incidents in a bounding box, with their delay and road numbers Risk: read
Input 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

tile

traffic.tile Fetch one traffic flow or incident map tile Risk: read
Input Returns the PNG as base64. The flow layer defaults to the relative style and the incidents layer to s3. Output