skillfed

stac-fastapi-api

An implementation of STAC API based on the FastAPI framework.

stac-fastapi-api v6.5.0 94.0K downloads/30d#13,351 on PyPI321
Permissive license MIT Active released

What it is and what it does

stac-fastapi-api is a FastAPI-based framework for implementing the STAC API specification. STAC (Spatiotemporal Asset Catalog) is a standard for describing and discovering geospatial data assets. This package provides the core API layer that handles HTTP endpoints, request/response serialization, and STAC specification compliance, letting you focus on connecting your data sources and catalog logic rather than building the API framework from scratch.

The package depends on brotli-asgi for compression support and stac-fastapi-types for shared type definitions. It targets Python 3.11 through 3.14 and is actively maintained. You would typically use this as the foundation for a geospatial data discovery service, integrating it with your own backend storage and metadata management systems.

Use it for:

  • Build a searchable catalog API for satellite imagery, aerial photography, or other geospatial datasets
  • Expose existing geospatial data repositories through a standardized STAC-compliant interface
  • Create a federated search endpoint that aggregates STAC catalogs from multiple sources
  • Develop a cloud-native geospatial data platform with standardized discovery and access patterns

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a FastAPI-based implementation of the STAC API specification, enabling you to build and serve Spatiotemporal Asset Catalog endpoints.

Yes. The package is actively maintained, has no known vulnerabilities, minimal dependencies, and targets current Python versions. Install it if you need to build a STAC-compliant API; skip it if you're not working with geospatial asset catalogs or prefer a different framework.

Install

stac-fastapi-api on PyPI

pip

pip install stac-fastapi-api

uv

uv add stac-fastapi-api

poetry

poetry add stac-fastapi-api

Installing stac-fastapi-api

Before you install

Low install friction with only 2 runtime dependencies. Actively maintained with a commit on 2026-08-13 and no known vulnerabilities.

License in practice

MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.

Quickstart

pip install stac-fastapi-api

from stac_fastapi.api.app import StacApi

api = StacApi()

Requires Python 3.11 or later

Verify before relying

  • Whether this package includes backend storage implementations or requires separate data source configuration
  • What STAC API version(s) this implementation targets
  • Performance characteristics and scalability limits for large catalogs

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 2 — brotli-asgi, stac-fastapi-types
Maintenance actively maintained — 11 days since the last release
Last repo commit
First released
Downloads 93,979/month — #13,351 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: stac_fastapi_api-6.5.0-py3-none-any.whl

Keywords: FastAPI, STAC, STAC-API

Intended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

STAC API FastAPI implementationspatiotemporal asset catalog serverSTAC endpoint frameworkFastAPI STAC servergeospatial catalog APISTAC specification implementationgeospatial data discovery API
geospatialstacfastapi

More Dynamic Content packages