Raster Tiles API
Reference for the Mappinest raster tiles endpoint, accepted image formats, pricing, and cache behavior for XYZ delivery.
Raster tiles endpoint
The Raster Tiles API serves raster tiles from hosted raster tilesets. This endpoint returns raster tiles using the standard XYZ tile pattern.
- Common raster format:
PNG. - Additional image extensions such as
JPG,WEBP, orAVIFmay be available depending on the tileset and delivery setup. - Works well with raster-based clients and GIS tools.
Protected tilesets require a Mappinest Key. Pass the same ?key= query parameter used throughout the docs, and inspect the X-Cache-Status response header when you want to confirm cache hits.
Raster Tiles API pricing
- Billed by requests.
- See rates and request tiers on the pricing page.
Usage of the Raster Tiles API is measured in tile requests. Free-tier limits and overage pricing are listed on the pricing page.
Caching and performance
Raster tile responses are optimized for long-lived caching so repeated image requests stay fast and predictable.
Cache-Control: public, max-age=1209600, immutablekeeps raster tiles cacheable for 14 days.Vary: Origin, Accept-Encodingkeeps cross-origin and compressed responses consistent.Access-Control-Expose-Headers: X-Cache-Statusmakes cache diagnostics visible in browser tools.- Use
X-Cache-Statusto confirm whether a response was a cacheHIT,MISS, or revalidated result. - Keep tile URLs stable and avoid adding extra query parameters beyond
?key=when you want higher cache reuse.
Performance guidance
For uploaded raster tilesets, bandwidth is usually the main cost driver. Mappinest checks new uploads for largest tile size, average tile size, and tile resolution where that information can be detected from the tileset.
Free currently supports raster tilesets with individual tiles up to 850 KB and tile resolution up to 256 px. Flex and Pro support 512 px raster tiles, with largest tile limits of 2 MB and 4 MB under standard ingest rules. See Upload Data for the full table.
- Use compressed formats such as
jpg,webp, oravifwhen imagery does not require lossless transparency. - Avoid unnecessary high zoom levels across large coverage areas.
- Use 512px tiles only when the client and visual quality requirement justify the larger payloads.
Last updated: April 14, 2026