Layer Exports
APIs to export layer data
With these APIs, you can export data to CSV, GeoJSON, and other formats.
Generate a direct download link for layer data export.
Get a link to export a layer as a GeoPackage (vector layers) or GeoTIFF (raster layers).
The ID of the map where the layer is located
The ID of the layer to export
Export link
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
ServiceUnavailableError
GET /api/v2/maps/{map_id}/layers/{layer_id}/get_export_link HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_API_KEY
Accept: */*
{
"export_link": "text"
}
Check the processing status and download availability of a custom export request.
If the export is successful, the response will include a download_url
for accessing the exported data.
The ID of the map where the layer is located
The ID of the layer to export
The ID of the export
Custom export request status
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
GET /api/v2/maps/{map_id}/layers/{layer_id}/custom_exports/{export_id} HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_API_KEY
Accept: */*
{
"download_url": "https://us1.data-pipeline.felt.com/fcdfd96c-06fa-40b9-9ae9-ad034b5a66df/Felt-Export.zip",
"export_id": "FZWQjWZJSZWvW3yn9BeV9AyA",
"filters": [],
"status": "completed"
}
Start a custom export with specific format and filter options for layer data.
Export requests are asynchronous. A successful response will return a poll_endpoint
to check the status of the export using the poll custom export endpoint.
The ID of the map where the layer is located
The ID of the layer to export
Send an email to the requesting user when the export completes. Defaults to true
csv
Possible values: Custom export response
UnauthorizedError
UnauthorizedError
NotFoundError
Unprocessable Entity
Unprocessable Entity
InternalServerError
ServiceUnavailableError
POST /api/v2/maps/{map_id}/layers/{layer_id}/custom_export HTTP/1.1
Host: felt.com
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 63
{
"email_on_completion": true,
"filters": [],
"output_format": "csv"
}
{
"export_request_id": "luCHyMruTQ6ozGk3gPJfEB",
"poll_endpoint": "http://felt.com/api/v2/maps/vAbZ5eKqRoGe4sCH8nHW8D/layers/7kF9Cfz45TUWIiuuWV8uZ7A/custom_exports/auFxn9BO4RrGGiKrGfaS7ZB"
}
Was this helpful?