|
| 1 | +# TiTiler API Reference |
| 2 | + |
| 3 | +This section provides interactive API documentation for the TiTiler ecosystem components. Each application has its own specialized API while sharing common patterns from the core framework. |
| 4 | + |
| 5 | +## Available Applications |
| 6 | + |
| 7 | +<div class="grid cards" markdown> |
| 8 | + |
| 9 | +- **TiTiler Core** |
| 10 | + |
| 11 | + --- |
| 12 | + |
| 13 | + Foundation API for COGs and STAC items. Base functionality that all other applications extend. |
| 14 | + |
| 15 | + [:octicons-arrow-right-24: Core API Reference](titiler-core.md) |
| 16 | + |
| 17 | +- **TiTiler CMR** |
| 18 | + |
| 19 | + --- |
| 20 | + |
| 21 | + NASA CMR-focused application for satellite data collections with time series support. |
| 22 | + |
| 23 | + [:octicons-arrow-right-24: CMR API Reference](titiler-cmr.md) |
| 24 | + |
| 25 | +- **TiTiler Multidim** |
| 26 | + |
| 27 | + --- |
| 28 | + |
| 29 | + Multi-dimensional dataset processing for NetCDF, Zarr, and scientific data formats. |
| 30 | + |
| 31 | + [:octicons-arrow-right-24: Multidim API Reference](titiler-multidim.md) |
| 32 | + |
| 33 | +</div> |
| 34 | + |
| 35 | +## Common API Patterns |
| 36 | + |
| 37 | +All TiTiler applications follow consistent patterns: |
| 38 | + |
| 39 | +### Authentication |
| 40 | +- **API Keys**: Some endpoints require authentication via API keys |
| 41 | +- **CORS**: Cross-Origin Resource Sharing is configured for web applications |
| 42 | +- **Rate Limiting**: Default rate limits may apply |
| 43 | + |
| 44 | +### Response Formats |
| 45 | +- **JSON**: Metadata, statistics, and configuration responses |
| 46 | +- **Images**: PNG, JPEG, WebP tiles and previews |
| 47 | +- **GeoJSON**: Spatial data responses |
| 48 | +- **HTML**: Interactive viewers and documentation |
| 49 | + |
| 50 | +### Error Handling |
| 51 | +- **HTTP Status Codes**: Standard codes (200, 400, 404, 500, etc.) |
| 52 | +- **Error Messages**: Detailed error descriptions in JSON format |
| 53 | +- **Validation**: Parameter validation with helpful error messages |
| 54 | + |
| 55 | +### Performance |
| 56 | +- **Caching**: Response caching for improved performance |
| 57 | +- **Compression**: Automatic response compression |
| 58 | +- **Streaming**: Efficient data streaming for large responses |
| 59 | + |
| 60 | +!!! tip "Testing APIs" |
| 61 | + Use the embedded interactive documentation to test endpoints directly in your browser. Each API reference page includes a full interactive interface for exploring available endpoints and parameters. |
0 commit comments