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.
1.2 credits/call
Pricing
1.2 credits/call
| Condition | Charge |
|---|---|
| Each call | 1.2 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
lat | number | Yes | The latitude to be queried. | — |
lon | number | Yes | The longitude to be queried. | — |
bands | string | No | A comma-separated list of bands to query, rather than querying all bands. If a specified band does not exist, it is skipped. | — |
limit | integer | No | The 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. | — |
dedupe | boolean | No | Determines whether the features in the result will be deduplicated (true, default) or not (false). | — |
layers | string | No | A comma-separated list of layers to query, rather than querying all layers. If a specified layer does not exist, it is skipped. | — |
radius | number | No | The 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. | — |
geometry | enum (polygon | linestring | point) | No | Return only a specific geometry type. Options are polygon, linestring, or point. Defaults to returning all geometry types. | — |
tileset_id | string | Yes | The 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-KeyRequest 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
{
"message": "id must be a string with the format account.handle"
}

