debugboolean
Enable formatted output for debugging.
pointObligatoirearray
Route waypoints as 'latitude,longitude' strings. Specify at least origin and destination. Via points are possible. Example: ['51.131,12.414', '48.224,3.867']
localestring
Locale for turn instructions. Examples: 'en', 'de', 'fr', 'pt_PT'
detailsarray
Path detail types to include. Available: 'street_name', 'street_ref', 'street_destination', 'leg_time', 'leg_distance', 'roundabout', 'country', 'time', 'distance', 'max_speed', 'max_weight', 'max_width', 'toll', 'road_class', 'road_class_link', 'road_access', 'road_environment'…
headingarray
Preferred heading direction for each point in degrees (0-360, north-based clockwise). Specify one for start or one per point. Requires ch.disable=true.
profilestring
The routing profile determining network, speed, and physical attributes. Common values: 'car', 'bike', 'foot', 'motorcycle', 'mtb', 'racingbike', 'hike'. Default: 'car'
curbsidearray
Side of the road for leaving/arriving at each point. Specify for all points or none. Only for motor vehicles.
optimizestring
If 'true', reorders points to minimize total travel time. Applies route optimization limits and costs more credits.
algorithmstring
Special routing algorithm. 'round_trip': returns to start with randomness. 'alternative_route': provides multiple route options.
elevationboolean
Include altitude as third coordinate in response. Changes format of points and snapped_waypoints fields.
ch.disableboolean
Enable flexible mode to use custom_model or advanced options below. Set to true for heading, algorithm, etc.
point_hintarray
Optional road name hints for snapping each point. Specify none or the same number as points.