- Stars
- 105k
- Forks
- 10.2k
- Licence
- MIT
- Language
- Python
- Version
- 0.162.2
- Updated
At a glance
- Validation and serialisation from Python type hints
- Interactive OpenAPI documentation generated automatically
- Async support built on Starlette
Get started
Install
pip install "fastapi[standard]"What it is
FastAPI turns typed Python functions into HTTP endpoints. Declare the parameter types and it validates input, converts output and documents the API.
Why it stands out
The automatic interactive docs and editor autocompletion make APIs quick to build and easy to consume.
Who it is for
Python developers building JSON APIs and model-serving backends.
