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.
GET
https://api.mappinest.com/tiles/{tilesetId}/{z}/{x}/{y}.{format}?key=YOUR_KEY
- 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.
Last updated: April 14, 2026