Mapbox Maps Tilequery Get Tilequery

1.2 credits/call
ae_mapbox_maps_tilequery_get_tilequery

Look up geographic features, such as points of interest or land use, at a specific latitude and longitude.

Maps
1.2 credits/call

Pricing

1.2 credits/call
ConditionCharge
Each call1.2 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
latnumberYesThe latitude to be queried.—
lonnumberYesThe longitude to be queried.—
bandsstringNoA comma-separated list of bands to query, rather than querying all bands. If a specified band does not exist, it is skipped.—
limitintegerNoThe number of features between 1-50 to return. Defaults to 5. The specified number of features are returned in order of their proximity to the queried location.—
dedupebooleanNoDetermines whether the features in the result will be deduplicated (true, default) or not (false).—
layersstringNoA comma-separated list of layers to query, rather than querying all layers. If a specified layer does not exist, it is skipped.—
radiusnumberNoThe approximate distance to query for features, in meters. Defaults to 0, which does a point-in-polygon query. Has no upper bound. Required for queries against point and line data.—
geometryenum (polygon | linestring | point)NoReturn only a specific geometry type. Options are polygon, linestring, or point. Defaults to returning all geometry types.—
tileset_idstringYesThe ID of the map being queried. To query multiple tilesets at the same time, use a comma-separated list of up to 25 tileset IDs.—

Invocation example

Copy the request and explore its response example.

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_maps_tilequery_get_tilequery' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "lat": 1,
    "lon": 1,
    "tileset_id": "test"
  }
}'
Response exampleresponse.json
JSON
{
  "message": "id must be a string with the format account.handle"
}