The Mapbox Raster Tiles API serves raster tiles generated from satellite imagery tilesets and tilesets generated from raster data uploaded to Mapbox.com.
|Unique identifier for the raster tileset in the format |
|Specifies the tile's zoom level, as described in the Slippy Map Tilenames specification.|
|Specifies the tile's column |
|Specifies the format of the returned tiles: |
Note: Tiles that include
|Request a higher DPI version of the image.|
# Retrieve a 2x tile; this 512x512 tile is appropriate for high-density displays $ curl "https://firstname.lastname@example.org?access_token=YOUR_MAPBOX_ACCESS_TOKEN"
The response is a raster image tile in the specified format. For performance, image tiles are delivered with a
max-age header value set 12 hours in the future.
|Response body ||HTTP status code||Description|
|No token was used in the query.|
|Check the access token you used in the query.|
|There may be an issue with your account. Check your Account page for more details.|
In some cases, using an access tokens with URL restrictions can also result in a
|Check the name of the tileset you used in the query.|
|Check the column and row of the tile requested in the query.|
|The zoom level specified in the query is larger than 30 or contains non-numeric characters.|
- The default rate limit for the Mapbox Raster Tiles API endpoint is 100,000 requests per minute. If you require a higher rate limit, contact us.
- If you exceed the rate limit, you will receive an
HTTP 429 Too Many Requestsresponse. For information on rate limit headers, see the Rate limit headers section.
- If you composite multiple tileset IDs, the API request will have the cache time of the tileset with the highest
- Billed by requests
- See rates and discounts per tile requests in the pricing page's Maps section
Usage of the Raster Tiles API is measured in tile requests. Details about the number of tile requests included in the free tier and the cost per request beyond what is included in the free tier are available on the pricing page.