📈 GH Trending Explorer 🎲 Surprise me

← all repos

fastapi / fastapi

git clone https://github.com/fastapi/fastapi.git 0.156.4 · 2d ago 🔥 on GitHub Trending today

FastAPI is a Python web framework for building APIs using standard type hints, with automatic OpenAPI and JSON Schema documentation.

Why you might care

Suited to Python developers building REST APIs who want request validation and interactive docs generated from type annotations. Built on Starlette and Pydantic, it is advertised as high-performance and fully compatible with OpenAPI and JSON Schema.

Categories

Alternatives

FlaskDjango REST FrameworkStarletteLitestarSanic
+563
stars, 24h · #41
+~1.5k
stars, 7 days · #134
+~6.4k
stars, 30 days · #126
104k
★ total · +1% this week
10k
forks · 55 open issues

Star history (as recorded here)

2026-10-20 · 103,285 ★ 2026-10-23 · 103,928 ★
LanguagePython
LicenseMIT
Created2018-12-08 (7y ago)
Last pushtoday
Watchers773
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-23 — #3 daily in python · +101 ★
  • 2026-10-23 — #7 daily · +101 ★

GitHub topics

Links

README excerpt
FastAPI framework, high performance, easy to learn, fast to code, ready for production 
---
**Documentation**: https://fastapi.tiangolo.com
**Source Code**: https://github.com/fastapi/fastapi
---
FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.
The key features are:
* **Fast**: Very high performance, on par with **NodeJS** and **Go** (thanks to Starlette and Pydantic). One of the fastest Python frameworks available.
* **Fast to code**: Increase the speed to develop features by about 200% to 300%. *
* **Fewer bugs**: Reduce about 40% of human (developer) induced errors. *
* **Intuitive**: Great editor support. Completion everywhere. Less time debugging.
* **Easy**: Designed to be easy to use and learn. Less time reading docs.
* **Short**: Minimize code duplication. Multiple features from each parameter declaration. Fewer bugs.
* **Robust**: Get production-ready code. With automatic interactive documentation.
* **Standards-based**: Based on (and fully compatible with) the open standards for APIs: OpenAPI (previously known as Swagger) and JSON Schema.
 * estimation based on tests conducted by an internal development team, building production applications. 
## Sponsors
### Keystone Sponsor
### Gold Sponsors
### Silver Sponsors
Other sponsors
## Opinions
"_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
 Kabir Khan - Microsoft (ref) 
---
"_We adopted the **FastAPI** library to spawn a **REST** server that can be queried to obtain **predictions**. [for Ludwig]_"
 Piero Molino, Yaroslav Dudin, and Sai Sumanth Miryala - Uber (ref) 
---
"_**Netflix** is pleased to announce the open-source release of our **crisis management** orchestration framework: **Dispatch**! [built with **FastAPI**]_"
 Kevin Glisson, Marc Vilanova, Forest Monsen - Netflix (ref) 
---
"_If anyone is looking to build a production Python API, I would highly recommend **FastAPI**. It is **beautifully designed**, **simple to use** and **highly scalable**, it has become a **key component** in our API first development strategy and is driving many automations and services such as our Virtual TAC Engineer._"
 Deon Pillsbury - Cisco (ref) 
---
## FastAPI mini documentary
There's a FastAPI mini documentary released at the end of 2025, you can watch it online:
## **Typer**, the FastAPI of CLIs
If you are building a CLI app to be used in the terminal instead of a web API, check out **Typer**.
**Typer** is FastAPI's little sibling. And it's intended to be the **FastAPI of CLIs**. ⌨️ 🚀
## Requirements
FastAPI stands on the shoulders of giants:
* Starlette for the web parts.
* Pydantic for the data parts.
## Installation
First, install `uv`, and then add FastAPI to your project:
 [code] 
**Note**: Make sure you put `"fastapi[standard]"` 

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.