Run UDFs as API
Every UDF can be used as a file system:

Output formats
UDFs can return data in various formats via the format query parameter:
Vector data formats
| Format | Extension | Description |
|---|---|---|
parquet | .parquet | Efficient columnar storage format |
geojson | .geojson | Standard GeoJSON format |
json | .json | JSON objects and GeoJSON |
csv | .csv | Comma-separated values |
mvt | .mvt | Mapbox Vector Tiles |
feather | .feather | Apache Arrow IPC format |
excel | .xlsx | Excel spreadsheet |
xml | .xml | XML data |
html | .html | HTML document |
Raster data formats
| Format | Extension | Description |
|---|---|---|
png | .png | Lossless raster images |
jpeg | .jpeg / .jpg | Compressed raster images |
gif | .gif | Animated or static images |
webp | .webp | Modern efficient image format |
apng | .apng | Animated PNG images |
svg | .svg | Scalable vector graphics |
tiff | .tiff / .tif | GeoTIFF and TIFF rasters |
npy | .npy | NumPy array binary format |
Example usage
Returning as JSON
https://udf.ai/YOUR_TOKEN.json
Returning as CSV
https://udf.ai/YOUR_TOKEN.csv
Returning as HTML
https://udf.ai/YOUR_TOKEN.html
Tile endpoints
For map tile servers, use the tiles path with {z}/{x}/{y} template:
Vector tiles (MVT)
https://udf.ai/YOUR_TOKEN/run/tiles/{z}/{x}/{y}?=mvt
Raster tiles (PNG)
https://udf.ai/YOUR_TOKEN/run/tiles/{z}/{x}/{y}?=png
Integrations
These dynamic endpoints work with: