Updated

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.

Open sourceSelf-hostableFree tier

Profile checked

Ask your AI about this, with this page as the source:ChatGPT ↗Claude ↗Perplexity ↗

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

Backend Framework · Minimal router →Python APIs with request validation and interactive docs generated from type hints.Trade-off: No built-in ORM, admin or auth; you assemble those from separate libraries.
Laravel66Django31FastAPI30Ruby on Rails26NestJS21Makers' products on each, for backend framework

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%).

OptionMakers' productsOpen source
Laravel66 34%Yes
Django31 16%YesCompare →
FastAPI30 15%Yes
Ruby on Rails26 13%Yes
NestJS21 11%YesCompare →
Hono5 3%YesCompare →

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

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.
From each decision's guide, written from what makers' products chose and why.

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
Product Hunt review tags
ease of use5
fast performance5
automatic OpenAPI schema2
fast development2
high performance2
modern framework2

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

YearComments choosing it, per monthNet praise
20237.9+12%
20246.3+8%
20258.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

Open on 2026-10-04 in fastapi/fastapi, with activity in the last year — issues and feature requests by 👍.

Who switches

More projects move to FastAPI: 62 pull requests in, 52 out; the most come from Django and leave for Django.

Moving to FastAPIMoving away
FastAPI
Django → FastAPI43 PRs
Express → FastAPI19 PRs
FastAPI → Django25 PRs
FastAPI → Express20 PRs
FastAPI → Fastify4 PRs
FastAPI → NestJS3 PRs

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.

The maker says so 29Job posting 2Declared in code 399How evidence is collected →
Polar
PolarOpen-source merchant of record aimed at developers: subscriptions, usage billing, licens…

“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 ↗
reflex
reflexOpen-source Python framework for building full-stack web apps, frontend and backend, in…

“Reflex backends use FastAPI for fast state updates, file uploads and api routes.”

Backend FrameworkMaker says so +1 · source ↗
Warestack
WarestackEngineering delivery governance for GitHub organizations

“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 ↗
Cure AI
Cure AIGone · site taken down on its host, Oct 2026Your companion for evidence-based research.

“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 ↗
GAIA
GAIAYour Personal AI assistant for email, calendar, tasks & more

“Insanely sped up our execution speed for developing the backend”

Backend FrameworkMaker says so · source ↗
Glazed
GlazedShip tracking from your Figma files

“Making API's has never been so simple, FastAPI has definitely saved us plenty of hours of development!”

Backend FrameworkMaker says so · source ↗
Permit.io
Permit.ioPermissions for The AI Era

“As a Python-based product, FastAPI gave us the best capabilities to create an API-based low-code product.”

Backend FrameworkMaker says so · source ↗
Ranova
RanovaYour AI-Hospitality Reputation Manager

“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 ↗
Small Hours
Small HoursGone · site taken down on its host, Oct 2026AI powered software observability and root cause analysis.

“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 ↗
Atlas.co
Atlas.coGIS and maps in the browser

“Allows us to build fast APIs with great performance while maintaining high dev freedom”

Backend FrameworkMaker says so · source ↗
Rinkoe
RinkoeA Place for Everything

“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 ↗
SplitHub.io
SplitHub.ioThe Ultimate Tool for Split Testing

“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 ↗
Zenkan
ZenkanDrag and drop your notes in flexible nested boards

“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 ↗
EasyClips
EasyClipsFind the BEST Twitch Clips for Viral Compilations (With AI!)

“FastAPI is powering the backend of EasyClips with ease!”

Backend FrameworkMaker says so · source ↗
My Financé
My FinancéThe easy way to fall in love with your personal finances

“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 ↗
Silence Remover
Silence RemoverCut the silence from your Videos, Tiktoks and Podcasts

“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
Trace-AIKnow What You Ship. Secure What You Depend On.

“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 ↗
ReliAPI
ReliAPIStop losing money on failed OpenAI and Anthropic API calls.

“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 ↗

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 →

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.

1,043words in the median file
uvthe package manager most named, in 65 of 133 files
72%say how to test a change
Named more in these files than in other projects' — in how many of the 133:
What AGENTS.md files say about other tools →What open-source products tell their coding agents →

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 ↗