Mapbox Nav Isochrone Get Isochrone

1.6 credits/call
ae_mapbox_nav_isochrone_get_isochrone

Show areas reachable within a specific time or distance from a location by car, bike, or foot.

Maps
1.6 credits/call

Pricing

1.6 credits/call
ConditionCharge
Each call1.6 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
denoisenumberNoA floating point value from 0.0 to 1.0 that can be used to remove smaller contours. The default is 1.0. A value of 1.0 will only return the largest contour for a given value.—
excludestringNoExclude certain road types and custom locations from routing. Default is to not exclude anything. You can specify multiple values as a comma-separated list.—
profileenum (mapbox/driving-traffic | mapbox/driving | mapbox/walking | mapbox/cycling)YesA Mapbox Directions routing profile ID.—
polygonsbooleanNoSpecify whether to return the contours as GeoJSON polygons (true) or linestrings (false, default). When polygons=true, any contour that forms a ring is returned as a polygon.—
depart_atstringNoThe departure time from the given coordinates. Formatted in one of three ISO 8601 formats: YYYY-MM-DDThh:mm:ssZ, YYYY-MM-DDThh:mmss±hh:mm, or YYYY-MM-DDThh:mm.—
generalizenumberNoA positive floating point value, in meters, used as the tolerance for Douglas-Peucker generalization specified for each contour.—
coordinatesstringYesA {longitude,latitude} coordinate pair around which to center the isochrone lines.—
contours_colorsstringNoThe colors to use for each isochrone contour, specified as hex values without a leading # (for example, ff0000 for red). If this parameter is used, there must be the same number of colors as there are entries in contours_minutes or contours_meters.—
contours_metersstringConditionalThe distances, in meters, to use for each isochrone contour. You can specify up to four contours. Distances must be in increasing order. The maximum distance that can be specified is 100000 meters (100km).—
contours_minutesstringConditionalThe times, in minutes, to use for each isochrone contour. You can specify up to four contours. Times must be in increasing order. The maximum time that can be specified is 60 minutes.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_mapbox_nav_isochrone_get_isochrone' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "profile": "mapbox/driving-traffic",
    "coordinates": "xxx",
    "contours_minutes": "xxx"
  }
}'

No response example available yet.