stac-fastapi-types
Core API for stac-fastapi modules.
What it is and what it does
stac-fastapi-types is a core library that defines the type system and Pydantic data models for the STAC FastAPI implementation. It sits at the foundation of STAC API servers, providing standardized schemas for spatiotemporal asset catalogs—collections of geospatial data indexed by time and location. The package depends on FastAPI, Pydantic, attrs, iso8601, and starlette to deliver these models, and is designed to be used by other stac-fastapi modules that build complete server implementations on top of it.
Developers typically install this package as a dependency when building STAC API services or when integrating with other stac-fastapi components. It is not a standalone application but rather a foundational library that enforces schema consistency across STAC catalog implementations.
Use it for:
- Building a STAC API server that indexes geospatial datasets by time and location
- Integrating STAC catalog validation into a geospatial data pipeline using Pydantic models
- Extending stac-fastapi with custom STAC API endpoints while maintaining schema compliance
- Consuming STAC API responses in a client application that validates catalog structure
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides core type definitions and data models for building STAC API servers using FastAPI, enabling standardized geospatial catalog interfaces.
Yes, if you are building or extending a STAC API server or integrating with stac-fastapi components. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and carries low install friction. Install it as a dependency of a larger STAC implementation.
Install
stac-fastapi-types on PyPI
pip
pip install stac-fastapi-typesuv
uv add stac-fastapi-typespoetry
poetry add stac-fastapi-typesInstalling stac-fastapi-types
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance with a recent release 11 days ago and last commit on 2026-08-13. Supports current Python versions 3.11–3.14.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most deployment scenarios.
Quickstart
pip install stac-fastapi-types
from stac_fastapi_types import core
import fastapi
app = fastapi.FastAPI()
# Use stac-fastapi-types models in your STAC API implementation
Requires Python 3.11 or later.
Verify before relying
- Whether this package is intended for end-user applications or primarily as a dependency for other STAC server implementations
- What specific STAC API specification version(s) this release implements
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — attrs, fastapi, iso8601, pydantic-settings, stac-pydantic, starlette |
| Maintenance | actively maintained — 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 96,904/month — #13,187 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: stac_fastapi_types-6.5.0-py3-none-any.whl
Keywords: FastAPI, STAC, STAC-API
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
stac-fastapi-apiProvides a FastAPI-based implementation of the…
permissive · top 15,000 on PyPI
stac-fastapi-extensionsProvides FastAPI extensions for the STAC API…
permissive · top 15,000 on PyPI
stac-pydanticProvides Pydantic models for validating and…
permissive · top 15,000 on PyPI
stac-fastapi-pgstacProvides a FastAPI-based HTTP interface to…
permissive · top 15,000 on PyPI
pystacPySTAC is a Python library for reading,…
permissive · top 5,000 on PyPI
pystac-corePySTAC Core provides the foundational API for…
permissive · top 5,000 on PyPI
stactools-met-office-deterministicGenerates STAC (SpatioTemporal Asset Catalog)…
permissive · top 5,000 on PyPI
pypgstacpypgstac provides Python bindings and utilities…
permissive · top 15,000 on PyPI
pystac-clientPySTAC Client is a Python library for querying…
permissive · top 15,000 on PyPI
GitHubKit-schemas-2026-03-10Provides type-safe GitHub API models and…
permissive · top 15,000 on PyPI