Print Exports
APIs to export map images
With these APIs, you can render a map to a PNG, JPG or PDF image.
Render the map to a PNG, JPG or PDF image at a chosen size and view — what the app's "Export as image" produces, without a browser.
The request waits up to 55 seconds and returns 200 with a completed export. Follow download_url to download the file before expires_at. Invalid requests return 4xx; rendering failures return 503, and a render that exceeds the request deadline returns 504. There is no polling endpoint.
The ID of the map to export
Output settings, geographic view and legend options for a map image export.
Draw the scale bar. Attribution is always drawn. Defaults to true.
trueChoose exactly one of bounds or viewport. Omit view to use the map's default view.
Completed image export
A URL for the finished image; it redirects to the file, so follow redirects. Expires at expires_at.
https://felt.com/map-image-exports/auFxn9BO4RrGGiKrGfaS7ZB/downloadWhen download_url stops working.
2026-08-28T19:04:11ZMy map.pngluCHyMruTQ6ozGk3gPJfEBThe [west, south, east, north] the image actually covers — the requested view.bounds fitted to the canvas's aspect ratio, or the viewport's frame. Adjust framing from this rather than by measuring pixels. An east west of west crosses the antimeridian.
[-129,41.25,-116.1,47.03]UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
ServiceUnavailableError
Gateway timeout
POST /api/v2/maps/{map_id}/image_exports HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 254
{
"legend": {
"show_components": true,
"show_description": true,
"show_title": true,
"visible": true
},
"output": {
"format": "png",
"height_px": 1500,
"jpg_quality": 0.9,
"pixel_ratio": 2,
"width_px": 2000
},
"show_scale_bar": true,
"view": {
"bounds": [
-122.52,
37.7,
-122.35,
37.83
]
}
}{
"download_url": "https://felt.com/map-image-exports/auFxn9BO4RrGGiKrGfaS7ZB/download",
"expires_at": "2026-08-28T19:04:11Z",
"filename": "My map.png",
"id": "luCHyMruTQ6ozGk3gPJfEB",
"output": {
"format": "png",
"height_px": 1500,
"jpg_quality": 0.9,
"pixel_ratio": 2,
"width_px": 2000
},
"rendered_bounds": [
-129,
41.25,
-116.1,
47.03
]
}Last updated
Was this helpful?