“We love building our API with FastAPI. We can focus on writing business logic vs. boilerplate and get an OpenAPI schema automatically – enabling seamless creation and automation of client SDKs.”
Backend FrameworkMaker says so +1 · source ↗
FastAPI
Python web framework for building APIs with type hints, automatic request validation, and interactive docs.
30 makers' products we track use FastAPI. For backend framework it's 3rd most chosen of 11 options: 30 of the 195 makers' products we know the backend framework of (15%). 397 open-source projects also declare it in their code. What makers like most: OpenAPI docs are generated automatically, so interactive documentation and typed client SDKs come almost for free. Their most common complaint: Its single-maintainer governance makes some teams weigh community-run alternatives like Litestar. On GitHub, 62 public pull requests moved projects to FastAPI from tools we list, and 52 moved them away.
Profile checked
How makers use FastAPI
Makers' products we track use FastAPI for backend framework (30), most often alongside Next.js (37%), OpenAI API (23%), PostgreSQL (23%).
What FastAPI is used for
FastAPI vs the alternatives makers chose
For backend framework, 30 of the 195 makers' products we know the choice of picked FastAPI (15%), behind Laravel (34%).
| Option | Makers' products | Open source | |
|---|---|---|---|
| 66 34% | Yes | ||
| 31 16% | Yes | Compare → | |
| 30 15% | Yes | ||
| 26 13% | Yes | ||
| 21 11% | Yes | Compare → | |
| 5 3% | Yes | Compare → |
For backend framework: how many of the 195 makers' products we know the backend framework of chose each option.
Often paired with
Share of the 30 makers' products on FastAPI that show this choice.Markets that build with it most
Product Hunt markets where FastAPI is in far more of the stacks we know than across every market (1%).
When to use FastAPI, and when not
Pick FastAPI if
- Your backend needs Python for AI or data work. Backend Framework →
Something else fits better if
- You need a small TypeScript API, possibly on an edge runtime: Hono.
- You want a Node.js API server with schema validation and good throughput: Fastify or Express.
- The backend is the product — many models, an admin, jobs and emails: Django or Ruby on Rails or Laravel.
- Your TypeScript API will grow many domains and you want enforced structure: NestJS.
FastAPI is a Python framework for building HTTP APIs. You describe each endpoint as a function whose parameters carry ordinary Python type hints, and FastAPI uses those hints to parse and validate the request, convert the response to JSON and publish an OpenAPI schema with interactive documentation pages.
More about FastAPI
It is a thin layer over two libraries: Starlette handles the web side (routing, middleware, WebSockets) and Pydantic handles data models and validation. Endpoints can be written as async def or plain def; plain functions run in a thread pool so blocking code does not stall the server. Shared logic such as database sessions or the current user is passed in through its dependency-injection system. Apps are served by an ASGI server, Uvicorn by default, started with the fastapi CLI.
For a small team, the payoff is that the request schema, validation and API docs come from one set of type hints, and the OpenAPI output can generate typed client SDKs for a frontend. It also covers background tasks, WebSockets, server-sent events, testing and OpenTelemetry. You deploy it anywhere Python runs, in containers or with multiple worker processes; FastAPI Cloud, from the same team, deploys with one command.
It is an API framework, not a full-stack one: there is no ORM, migrations, admin or user system. The docs point you to SQLModel or any other database library, to its OAuth2 and security helpers for building auth, and to tools like Celery for heavy background jobs.
How FastAPI itself is built
5 tools, from its own code, website and Product Hunt page.
FastAPI pros and cons
What makers like most: OpenAPI docs are generated automatically, so interactive documentation and typed client SDKs come almost for free. Their most common complaint: Its single-maintainer governance makes some teams weigh community-run alternatives like Litestar.
Pros
- OpenAPI docs are generated automatically, so interactive documentation and typed client SDKs come almost for free. PHPH 2
- Type hints with Pydantic validation catch bad input and bugs during development rather than in production. PHHN
- It removes most API boilerplate, making it the fastest way to deliver a Python API or microservice. PHPH 2HN
- Teams moving older sync Python services off Flask or web.py choose it for its async model and thriving ecosystem. HNHN 2HN 3
Cons and watch-outs
- Its single-maintainer governance makes some teams weigh community-run alternatives like Litestar. HN
Themes that recur in makers' words and Hacker News comments, each linked to what it summarises, with how Product Hunt tags its reviews.
5.0★ from 32 reviews on Product Hunt ↗What Hacker News says about FastAPI
On Hacker News, 13% of comments about FastAPI recommend it and 5% criticize it: net praise +7%, 5th best liked of 10 tools HN discusses for backend framework. Commenters chose it 1.8× as often per month in 2026 as in 2025.
By year
| Year | Comments choosing it, per month | Net praise |
|---|---|---|
| 2023 | 7.9 | +12% |
| 2024 | 6.3 | +8% |
| 2025 | 8.5 | +16% |
| 2026 (8 mo) | 16 | −8% |
In their words
- “But I'd just use FastAPI. I use async too. It's a lot easier to scale in my opinion.” HN, Oct 2025
- “I was however impressed with FastAPI, a python framework which brought together API implementation, data types and generating swagger specs” HN, Jul 2025
- “FastAPI is built on Starlette - to be honest I don’t see the point of the extra baggage” HN, May 2026
Hacker News comments January 2023 to August 2026 that name FastAPI in a sentence like "I use" or "we moved to", Claude read a sample of 100 and the counts scale it to all of them; net praise is comments recommending it minus comments criticizing it, as a share of all comments about it. How it's counted, and how HN compares with makers.
Reliability and open issues
The most wanted open issue on GitHub has 33 👍.
Most wanted on GitHub
- 🚀 Roadmap👍 33 · opened Oct 2023 · active Jun 2026
Who switches
More projects move to FastAPI: 62 pull requests in, 52 out; the most come from Django and leave for Django.
Django → FastAPI43 PRs
- feat: migrate from Django to FastAPIjoaoprocopio/rastro · 2026-09-30
- Enhacement django to fastapidooa-ansari/personal-knowledge-graph-LLM · 2026-08-23
- Enhacement django to fastapidooa-ansari/personal-knowledge-graph-LLM · 2026-08-22
- Migrate project foundation from Django to FastAPILeoAlvesBahia/finance-tracker · 2026-08-16
- Migrate application stack from Django to FastAPI + Reacttschuelia/finance-website · 2026-08-14
- feat(backend): migrate the API from Django REST Framework to FastAPIAkash29may/webapp_project · 2026-08-06
- feat(backend): migrate the API from Django REST Framework to FastAPIAkash29may/webapp_project · 2026-08-06
- refactor: migrate backend from Django to FastAPIKok321416/Apoinment_sistem_with_Anatoli · 2026-07-20
- Migrate Douyin Cloud template from Django to FastAPIjy951126/douyincloud_python3_django_demo · 2026-06-13
- feat: Migrate Checkix from Django to FastAPI + Ant Design Pro frontendlHumaNl/Checkix · 2026-06-01
Express → FastAPI19 PRs
- feat(api): migrate Express backend to FastAPI with users module and test suiteSidewalk-Works/Sidewalk · 2026-09-26
- Port the API from Node/Express to FastAPIraushan7999/sarkariworld-backend · 2026-09-05
- Automated backend migration: Express to FastAPI (20260813_003054)naveensnsgroups/N8N_Claude_Code_Test_Cloud · 2026-08-13
- refactor: migrate backend from Node/Express to Python FastAPI + SQLAl…Oshri-Zalman/GarageClick · 2026-06-02
- feat(translation-helper): port chat + audio + prompts backend from Node/Express to FastAPIshemaobt/shema-api · 2026-05-16
- Cut over Express to FastAPIBlakeMatthews-dev/canvas-studio-poc · 2026-05-09
- feat: Rewrite Express Backend to Python FastAPI with Cachingsadik004/ELEVATE-Premium-Luxury-Boys-Fashion · 2026-04-17
- Migrate backend from Express to FastAPIBaBaKaM870/TrombiFlow · 2026-03-31
- Migrate Express backend to FastAPIThaFishDance/mtg_agg · 2026-03-19
- Migrate Express backend to FastAPI — split api/index.py into modulesTigerwang30/DeisBike · 2026-03-09
FastAPI → Django25 PRs
- refactor: migrate backend from FastAPI to Djangobowl1/Behaviour-Aware-Federated-Wind-Power-Forecasting-System-demo · 2026-10-01
- refactor(backend)!: switch from FastAPI to Django + DRF (ADR-006)kingblessolivier/PharmaCore · 2026-08-04
- Migrate backend framework from FastAPI to Django (#7)gab-25/mtg_deck_tester · 2026-06-30
- Update README to reflect change from FastAPI to DjangoRam-Bhagat/Ram-Bhagat · 2026-06-16
- Migrate web app from FastAPI to Django + Channelscytsaiap-xyz/stock-analysis · 2026-06-10
- feat: migrate from FastAPI to Django for multi-user SaaS architectureKrAsH-CoD3/PriceDiffs · 2026-05-30
- Migrate backend FastAPI to Django REST Frameworkroilt532/App-Cafeteria-PioBaroja · 2026-05-26
- feat: migrate backend from FastAPI to Django REST Framework with ML integrationMartaAguilarMorcillo/BuloCheck · 2026-05-20
- refactor: migrate from FastAPI+Vue to Django monolithiclobster-xiaozhua/novel-reader · 2026-05-18
- Migrate from FastAPI to Django and enhance testing and deploymentLukeHeffAI/Voice-To-The-Dark · 2026-03-17
FastAPI → Express20 PRs
- Rewrite local service from FastAPI to Node.js Express.liuhanhui/npu-conquer-probe · 2026-09-12
- Switch backend/frontend stack from FastAPI+Next.js to Express+ReactAnkit-07-chy/BusinessIntelligence_AI · 2026-08-24
- Migrate backend from FastAPI to Express and port solver to Node.jschiranjeeviugowda/EQNSOLVER · 2026-04-12
- feat: migrate Python FastAPI endpoints to Node.js ExpressWilcolab/Anythink-Market-p9a8k88b · 2026-02-19
- Rewrite backend from FastAPI to Express.jssb224sc-HT22-VT27/4dt907 · 2026-02-17
- feat: Migrate Python FastAPI endpoints to Node.js ExpressWilcolab/Anythink-Market-worofjem · 2026-01-15
- Migrate Python FastAPI to Express.js with Jest testing & GitHub Actions CI/CDWilcolab/Anythink-Market-worofjem · 2026-01-15
- Migrate Python FastAPI to Node. js ExpressWilcolab/Anythink-Market-ssnlwke6 · 2026-01-14
- Update README.md to reflect migration from Python FastAPI to Node.js Express serverWilcolab/Anythink-Market-igaddo1h · 2026-01-13
- Migrate FastAPI server to Node.js Express using GitHub CopilotWilcolab/Anythink-Market-diyph0aj · 2026-01-12
FastAPI → Fastify4 PRs
- Migrate backend from Python FastAPI to Node.js FastifySOJIB-AHMMED/ticru.io · 2026-01-21
- Migrate backend from Python FastAPI to Node.js FastifySOJIB-AHMMED/ticru.io · 2026-01-21
- Migrate FastAPI backend to Fastify Node service and add debugging toolingMetaHub-AUS/Realm-of-Eternity · 2025-11-05
- Migrate FastAPI backend to Fastify Node service and add debugging toolingMetaHub-AUS/Realm-of-Eternity · 2025-11-05
FastAPI → NestJS3 PRs
- feat: migrate backend from FastAPI to NestJSAryan-17008/Autonomous-Financial-Control-Tower · 2026-09-04
- refacto: migrate Python FastAPI microservices to NestJS monolithNoFastNoFun/m-dicail-backend · 2026-06-25
- Migrate backend from FastAPI to NestJS + TypeScriptunrealtryhard07/Ask-Circle-main-V2 · 2026-05-12
Public pull requests on GitHub since Oct 2024 whose title says "X to Y" — real code changes moving a project from one tool to another, by developers in general.
Who uses it
30 makers' products, each linked to the source that shows it, and 397 open-source projects that declare it in their code. The best known on Product Hunt: Writesonic (9,263 followers), Atlas.co (2,124 followers), Permit.io (1,970 followers), reflex (1,848 followers), Glazed (1,393 followers). 3 of the makers' products are gone now (domain lapsed, up for sale or taken down); they chose FastAPI while live.
“Reflex backends use FastAPI for fast state updates, file uploads and api routes.”
Backend FrameworkMaker says so +1 · source ↗“A great and fast python framework for building APIs.”
Backend FrameworkMaker says so · source ↗“FastAPI's async-first architecture with Pydantic validation and automatic OpenAPI generation helped a lot without implementing things manually. We're handling thousands of concurrent requests with really good response times. The dependency injection makes our service layer clean, while the built-in middleware stack handles CORS, authentication, and request context out of the box. Also, the automatic type checking and validation have caught bugs before they hit production.”
Backend FrameworkMaker says so · source ↗“FastAPI stood out over Flask with its built-in features like automatic documentation and async support. It made developing Cure AI’s backend faster and more streamlined while keeping the codebase clean and easy to manage.”
Backend FrameworkMaker says so · source ↗“Insanely sped up our execution speed for developing the backend”
Backend FrameworkMaker says so · source ↗“Making API's has never been so simple, FastAPI has definitely saved us plenty of hours of development!”
Backend FrameworkMaker says so · source ↗“As a Python-based product, FastAPI gave us the best capabilities to create an API-based low-code product.”
Backend FrameworkMaker says so · source ↗“Very good backend framework.”
Backend FrameworkMaker says so · source ↗“We use FastAPI for our API written in Python. The tool is very easy to use and we believe this is part of the best combination for SaaS development.”
Backend FrameworkMaker says so · source ↗“We love building our APIs with FastAPI. It streamlines development by handling much of the boilerplate, allowing us to focus on business logic.”
Backend FrameworkMaker says so · source ↗“Running fast on FastAPI on the Backend. Keep it easy and start building!”
Backend FrameworkMaker says so · source ↗“To connect MySQL to the app”
Backend FrameworkMaker says so · source ↗“Allows us to build fast APIs with great performance while maintaining high dev freedom”
Backend FrameworkMaker says so · source ↗“Let me create the backend Python API incredibly fast.”
Backend FrameworkMaker says so · source ↗“Modern and fast web framework, with automatically generated documentations.”
Backend FrameworkMaker says so · source ↗“Simple and modern web development framework that matches my use case.”
Backend FrameworkMaker says so · source ↗“Helped me build a robust backend to handle requests.”
Backend FrameworkMaker says so · source ↗“I chose FastAPI for its high performance and ease of use. It's better than alternatives because it offers automatic interactive API documentation and faster development times.”
Backend FrameworkMaker says so · source ↗“We chose FastAPI for its incredible speed and performance, allowing us to deliver lightning-fast responses and a seamless user experience.”
Backend FrameworkMaker says so · source ↗“Switched from Flask to FastAPI because I found myself mainly using API endpoints with my Svelte SPA, also FastAPI's docs were way better, clearer and more didactic, than Flask's, especially for the beginner that i was. Felt like FastAPI's docs were actually treating me like a human, and I thank them for that.”
Backend FrameworkMaker says so · source ↗“Not as easily extendable like Flask but smooth and modern.”
Backend FrameworkMaker says so · source ↗“FastAPI is powering the backend of EasyClips with ease!”
Backend FrameworkMaker says so · source ↗“Boasts high performance with asynchronous capabilities, ideal for API development.”
Backend FrameworkMaker says so · source ↗“I don't really think about the fastapi very much in the project, which I think is the whole point. It's easy to generate a typed API client, and easy to keep the project organized. It sufficiently just works that I will continue to reach for it.”
Backend FrameworkMaker says so · source ↗“Love to build my REST Apis with FastAPI as it is super simple to quickstart and then level it up to production. Other solutions like flask didn't really catch up with the things I needed”
Backend FrameworkMaker says so · source ↗“Trace-AI’s core services are built using FastAPI for its async-first design and blazing performance. It allows us to deliver lightweight, responsive API endpoints for dependency scoring and compliance automation.”
Backend FrameworkMaker says so · source ↗“Extremely advanced and versatile”
Backend FrameworkMaker says so · source ↗“Chose FastAPI over Flask/Django because of its automatic OpenAPI generation, async support, and type hints. Flask was too simple for our needs, Django too heavy. FastAPI's type hints caught bugs at development time, not production. Perfect for building production-ready APIs fast.”
Backend FrameworkMaker says so · source ↗None of these in makers' own words.
Open source: a project that declares FastAPI as a dependency in its public code — verifiable, but not necessarily a live product.
What its projects tell coding agents
AGENTS.md and CLAUDE.md examples for FastAPI: real files, what they cover, a starting file →
What open-source projects' AGENTS.md and CLAUDE.md files say about FastAPI, in our words — from the 58 files that name it:
Named as the Python backend or API server framework, usually paired with a separate frontend.16 files
ArcReel/ArcReelChainlit/chainlitDmitryBMsk/llm-council-plusFujiwaraChoki/supoclipHKUDS/LightRAGKiln-AI/KilnMODSetter/SurfSenseSignificant-Gravitas/AutoGPTagentcontrol/agent-controlaipotheosis-labs/acilemma-work/lemma-platformlfnovo/open-notebookonyx-dot-app/onyx-fosspuppyone-ai/puppyone-cloudtransformerlab/transformerlab-appwecode-ai/Wegent
151 of the 264 open-source products built with FastAPI that were worked on in the last 180 days keep instruction files for coding agents — 57%, against 53% of all the projects we read. AGENTS.md is in 110, CLAUDE.md in 96.
Alternatives to FastAPI
All alternatives by situation →Questions makers ask about FastAPI
Is FastAPI good for production?
30 makers' products we track run on it, and 3 of them have since gone (the product, not necessarily because of FastAPI). On GitHub, 62 public pull requests moved projects to FastAPI from tools we list, and 52 moved them away. The watch-out makers raise most: Its single-maintainer governance makes some teams weigh community-run alternatives like Litestar.
What is FastAPI used for?
Python web framework for building APIs with type hints, automatic request validation, and interactive docs. Makers' products we track use it for backend framework (30).
What are the pros and cons of FastAPI?
Pros makers name: OpenAPI docs are generated automatically, so interactive documentation and typed client SDKs come almost for free. Type hints with Pydantic validation catch bad input and bugs during development rather than in production. It removes most API boilerplate, making it the fastest way to deliver a Python API or microservice. Cons: Its single-maintainer governance makes some teams weigh community-run alternatives like Litestar.
What are the alternatives to FastAPI?
For backend framework, the other options makers' products we track chose most are Laravel (66), Django (31), Ruby on Rails (26), NestJS (21), Hono (5). Open source or self-hostable among them: Laravel, Django, Ruby on Rails, NestJS, Hono. Each alternative, with the situation it fits, is on the FastAPI alternatives page.
Do developers switch to or away from FastAPI?
On GitHub, 62 public pull requests moved projects to FastAPI from tools we list, most from Django (43), Express (19); 52 moved them away, most to Django (25), Express (20), Fastify (4).
When should you use FastAPI?
Your backend needs Python for AI or data work (backend framework). Something else fits better if: you need a small TypeScript API, possibly on an edge runtime, pick Hono; you want a Node.js API server with schema validation and good throughput, pick Fastify or Express.
Which databases can I use with FastAPI?
Any. It doesn't depend on a database library; the tutorial uses SQLModel (built on SQLAlchemy), which works with any database SQLAlchemy supports, and you can swap in other SQL or NoSQL libraries. source ↗
Do I have to write everything with async?
No. Endpoints and dependencies declared with plain def run in a thread pool, so blocking libraries still work; use async def when your code awaits async libraries. source ↗
Does FastAPI include user accounts and login?
It gives you building blocks for OAuth2, API keys and HTTP auth that plug into the generated docs, but storing users, hashing passwords and issuing tokens is code you write or get from another library. source ↗
Can I run an existing Flask or Django app alongside it?
Yes. You can mount a WSGI app such as Flask or Django inside a FastAPI app with WSGIMiddleware from the a2wsgi package, which helps when migrating one route at a time. source ↗
How should I run it in production?
Run it under Uvicorn, either with several worker processes via fastapi run --workers N on one machine, or one process per container when Kubernetes or a similar system handles replication. source ↗
Is it enough for long-running background jobs?
Its built-in background tasks run in the same process after the response is sent, which suits small jobs like sending an email; for heavy computation the docs suggest a separate tool such as Celery. source ↗
Do I have to deploy on FastAPI Cloud?
No. FastAPI Cloud is an optional host from the FastAPI team; the framework is standards-based and deploys to any cloud provider, and you can install it without the cloud CLI. source ↗
Is FastAPI free?
Yes — it is free, open-source software.
Is FastAPI open source or self-hostable?
Open source, and you can self-host it. source ↗
Can AI coding agents work with FastAPI?
No llms.txt, official MCP server or CLI found yet.
Who uses FastAPI?
30 makers' products we track, each with a source, and 397 open-source projects declare it in their code. The best known of them on Product Hunt: Writesonic (9,263 followers), Atlas.co (2,124 followers), Permit.io (1,970 followers), reflex (1,848 followers), Glazed (1,393 followers). source ↗