Mapbox Maps Raster Tiles Get Raster Tiles
1 credits/call
ae_mapbox_maps_raster_tiles_get_raster_tiles
Retrieve individual raster map tiles, such as satellite imagery or custom aerial photos, for use in mapping applications.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
x | integer | Yes | Specifies the tile's column, as described in the Slippy Map Tilenames specification. | — |
y | integer | Yes | Specifies the tile's row, as described in the Slippy Map Tilenames specification. | — |
zoom | integer | Yes | Specifies the tile's zoom level, as described in the Slippy Map Tilenames specification. | — |
scale | enum ( | @2x) | Yes | Request a higher DPI version of the image (512x512 tile appropriate for high-density displays). | — |
format | enum (grid.json | png | png32 | png64 | png128 | png256 | jpg | jpg70 | jpg80 | jpg90 | webp) | Yes | Specifies the format of the returned tiles. Options include grid.json, png, png32, png64, png128, png256, jpg, jpg70, jpg80, jpg90, webp. | — |
tileset_id | string | Yes | Unique identifier for the raster tileset in the format username.id. To composite multiple tilesets, use a comma-separated list of up to 15 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_raster_tiles_get_raster_tiles' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"format": "grid.json",
"scale": "",
"tileset_id": "test",
"x": 1,
"y": 1,
"zoom": 1
}
}'Response exampleresponse.json
{
"message": "id must be a string with the format account.handle"
}

