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.

MapsImage
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
xintegerYesSpecifies the tile's column, as described in the Slippy Map Tilenames specification.—
yintegerYesSpecifies the tile's row, as described in the Slippy Map Tilenames specification.—
zoomintegerYesSpecifies the tile's zoom level, as described in the Slippy Map Tilenames specification.—
scaleenum ( | @2x)YesRequest a higher DPI version of the image (512x512 tile appropriate for high-density displays).—
formatenum (grid.json | png | png32 | png64 | png128 | png256 | jpg | jpg70 | jpg80 | jpg90 | webp)YesSpecifies the format of the returned tiles. Options include grid.json, png, png32, png64, png128, png256, jpg, jpg70, jpg80, jpg90, webp.—
tileset_idstringYesUnique 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-Key
Request 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
JSON
{
  "message": "id must be a string with the format account.handle"
}