Skip to content

The best FastAPI alternatives

3 tools that do a similar job to FastAPI, 3 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

FastAPI

A Python framework for building web APIs quickly, using standard type hints.

  1. 1

    Redoc

    Open source · MIT · ★ 26k

    Turns OpenAPI, AsyncAPI, or GraphQL specs into a readable, browsable API documentation page.

    Best for: Teams that already write OpenAPI or Swagger specs and want public or internal API docs; Developers who want to embed API docs in a React app or a plain HTML page

  2. 2

    Dear ImGui

    Open source · MIT · ★ 76.9k

    A lightweight C++ library for building immediate-mode graphical user interfaces, mainly for tools and games.

    Best for: Game developers who want an in-engine debug or tools panel; C++ developers building internal tools that need a quick interface

  3. 3

    peewee

    Open source · MIT · ★ 12k

    A small Python ORM for working with PostgreSQL, MySQL, and SQLite databases.

    Best for: Python developers who want a lightweight ORM instead of a large framework; Projects using SQLite, PostgreSQL, or MySQL

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to FastAPI. We don't take payment for placement.