Build APIs with FastAPI, a Python framework described as easy to learn and ready for production.

fastapi.tiangolo.com
FastAPI homepage screenshot

About FastAPI

FastAPI is a modern, high-performance Python web framework for building APIs, constructed using standard Python type hints. It is designed to be easy to learn, fast to code, and production-ready, with performance comparable to NodeJS and Go, enabled by the Starlette and Pydantic libraries.

The framework adheres to open API standards including OpenAPI (formerly Swagger) and JSON Schema, and includes built-in interactive documentation. It natively supports common API functionality such as CORS, background tasks, WebSockets, SQL relational database integration, static file serving, and Jinja2 templating.

Key features

  • High performance comparable to NodeJS and Go
  • Built on standard Python type hints
  • Automatic interactive OpenAPI documentation
  • Native support for CORS, WebSockets, background tasks
  • Integrated SQL relational database support
  • Built-in static file serving and Jinja2 templating
Best for: Python developers building production-ready APIs who prioritize fast development, type safety, and high performance.
Good for
  • High performance comparable to NodeJS and Go
  • Designed to reduce code duplication and developer-induced errors
  • Includes built-in interactive documentation and OpenAPI compliance

FastAPI at a glance

Type
Online tool
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

FastAPI alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 10 alternatives

Popular in APIs & Databases

Well-known listings from the same topic.

All 93

FastAPI FAQ

What is FastAPI built on?
FastAPI is built on standard Python type hints, with performance supported by Starlette and Pydantic.
What open API standards does FastAPI comply with?
FastAPI is fully compatible with OpenAPI (formerly Swagger) and JSON Schema open standards for APIs.
What common API features are included natively?
Native features include CORS support, background tasks, WebSockets, SQL database integration, static files, and Jinja2 templating.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing