FastAPI's Avatar

FastAPI

@fastapi.tiangolo.com

FastAPI framework, high performance, easy to learn, fast to code, ready for production. πŸš€ Web APIs with Python type hints. 🐍 By @tiangolo.com πŸ€“ GitHub: https://github.com/fastapi/fastapi Web: https://fastapi.tiangolo.com/

904
Followers
2
Following
80
Posts
02.12.2024
Joined
Posts Following

Latest posts by FastAPI @fastapi.tiangolo.com

Do you code with Cursor? ↗️

Try the official (and verified βœ…) FastAPI Extension from the marketplace ✨

open-vsx.org/extension/Fa...

02.03.2026 16:42 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0

Are you using Google Antigravity as your editor? β˜„οΈ

Now you can install the official FastAPI Extension open-vsx.org/extension/Fa... 🎁

01.03.2026 21:30 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

Sneak peek, that's it: response_class and yield ⚑️

01.03.2026 10:20 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Server-Sent Events (SSE) - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.135.0, with Server-Sent Events: fastapi.tiangolo.com/tutorial/ser... ✨

01.03.2026 09:30 πŸ‘ 16 πŸ” 2 πŸ’¬ 1 πŸ“Œ 1
Post image

Big features in FastAPI 0.134.0 ✨

🌊 Stream JSON Lines with yield: fastapi.tiangolo.com/tutorial/str...

πŸ¦€ @pydantic.dev serializes each item to JSON (on Rust) for max perf

πŸ“¦οΈStream binary data with yield: fastapi.tiangolo.com/advanced/str...

πŸ€– Library Agent Skill updated with this

πŸ₯š Easter egg

27.02.2026 21:28 πŸ‘ 12 πŸ” 2 πŸ’¬ 0 πŸ“Œ 1
Preview
FastAPI Extension - Visual Studio Marketplace Extension for Visual Studio Code - VS Code extension for FastAPI development

I've been working on something very cool for the past few months and today, it's finally yours!

The *official* @fastapi.tiangolo.com extension for VS Code has launched! πŸŽ‰

Install: marketplace.visualstudio.com/items?itemNa...
GitHub: github.com/fastapi/fast...

26.02.2026 20:09 πŸ‘ 30 πŸ” 8 πŸ’¬ 2 πŸ“Œ 2
Preview
FastAPI Extension - Visual Studio Marketplace Extension for Visual Studio Code - VS Code extension for FastAPI development

Here's a big one! πŸŽ‰

Official FastAPI extension for @vscode.dev 🎁

πŸ—ΊοΈ Path operations explorer
πŸ”Ž ...and search
βœ… From tests: go to definition
🎁 And more!

marketplace.visualstudio.com/items?itemNa...

GitHub: github.com/fastapi/fast...

Thank you @savannah.dev πŸ™Œ

26.02.2026 19:51 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 1

FastAPI 0.133.1 comes with the official FastAPI Agent Skill bundled πŸ“¦οΈ

More important than the current skill content is that it will be kept up to date with new versions of FastAPI 😎

AI coding agents will be able to use best practices and new features as they come πŸ€–

25.02.2026 18:25 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
Strict Content-Type Checking - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.132.0 adds strict Content-Type checking for JSON requests 🏰

This would solve a CSRF risk in local-network apps (apps intended to run on users' machines, on localhost) πŸ”’οΈ

If your clients don't send a Content-Type, you can also disable it: fastapi.tiangolo.com/advanced/str...

23.02.2026 18:24 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Post image

Increase your FastAPI JSON response performance by 2x or more πŸš„

1. Upgrade to the just released FastAPI 0.131.0 🎁
2. Declare your response model - return type ✨

With that, now @pydantic.dev handles the JSON serialization on the Rust side πŸ¦€

fastapi.tiangolo.com/advanced/cus...

22.02.2026 16:49 πŸ‘ 16 πŸ” 1 πŸ’¬ 0 πŸ“Œ 1
Preview
JSON with Bytes as Base64 - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

πŸ› Here's FastAPI 0.129.1 with a bug fix in the JSON Schema for binary data and file uploads.

πŸ“ And a new guide to use base64 binary data in JSON payloads: fastapi.tiangolo.com/advanced/jso...

21.02.2026 13:15 πŸ‘ 3 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

The FastAPI docs are now fully translated to:

German
Spanish
French
Japanese
Korean
Portuguese
Russian
Turkish
Ukrainian
Chinese
Traditional Chinese

Done by AI guided by humans and native speakers πŸ€–

Shoutout to YuriiMotov for handling a lot of this πŸ™Œ

fastapi.tiangolo.com

16.02.2026 14:53 πŸ‘ 7 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.129.0 drops support for Python 3.9, which reached its End Of Life months ago πŸͺ“

Make sure you have a recent Python version, ideally 3.14 😎

fastapi.tiangolo.com

12.02.2026 13:58 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Here's FastAPI 0.128.7 with a couple of bug fixes and small features 🍰

...the plan is to release 0.129.0 today, dropping support for Python 3.9 πŸͺ“

github.com/fastapi/fast...

10.02.2026 12:29 πŸ‘ 6 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

With some finagling, I managed to build @fastapi.tiangolo.com against Python 3.15 to run the new FastAPI pyperformance benchmark, with and without the JIT.

3.13: 142ms β†’ 141ms w/ JIT (~0.7% faster)
3.14: 147ms β†’ 149ms w/ JIT (~1.4% slower)
3.15a5+ (main): 145ms β†’ 134ms w/ JIT (8% faster!!!)

09.02.2026 18:32 πŸ‘ 16 πŸ” 2 πŸ’¬ 1 πŸ“Œ 0

Several FastAPI releases during the weekend and today with internal refactors and a bug fix, the latest is 0.128.6 πŸ€“

09.02.2026 18:24 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

How much do you like Friday releases? 🍫

FastAPI 0.128.3, compatible with the latest (and future) Starlette πŸš€

github.com/fastapi/fast...

06.02.2026 17:04 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Here's FastAPI 0.128.2, with more bug fixes and features 🎁

github.com/fastapi/fast...

05.02.2026 20:12 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.128.1 comes with with several small bug fixes and features 🍰

fastapi.tiangolo.com

04.02.2026 17:37 πŸ‘ 4 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

This also includes:

βœ… E2E tests
πŸ€– New pre-commit setup
πŸ”’οΈMigration from Bcrypt to Argon2 for hashing passwords (while keeping compatibility with existing ones)

23.01.2026 16:52 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The full-stack-fastapi-template now has 40k+ GitHub stars, 0 open PRs, 0 open issues 🀯

To celebrate: version 0.10.0 πŸ₯‚

Highlight: alejsdev set it up as a uv workspace, and a bun monorepo, now all works from the top level πŸš€

github.com/fastapi/full...

23.01.2026 16:52 πŸ‘ 9 πŸ” 1 πŸ’¬ 1 πŸ“Œ 1
Post image

LLMs and other tools are great, use them wisely πŸ§™

fastapi.tiangolo.com/contributing...

11.01.2026 22:50 πŸ‘ 18 πŸ” 6 πŸ’¬ 1 πŸ“Œ 1
Preview
Development - Contributing - FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

The FastAPI docs are now FULLY translated to multiple languages, always up to date 🌐

LLMs, carefully guided by the FastAPI team plus native speakers πŸ€–πŸ™‹

Spanish - @tiangolo.com
German - Nils Lindemann
Russian - Yurii Motov
Portuguese - Rafael Marques

fastapi.tiangolo.com/contributing...

11.01.2026 18:27 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

FastAPI 0.128.0 drops support for pydantic.v1 ⚰️

Now only @pydantic.dev v2 is supported ⬆️

This will unlock many things ✨

fastapi.tiangolo.com

27.12.2025 15:28 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
FastAPI FastAPI framework, high performance, easy to learn, fast to code, ready for production

Here's FastAPI 0.127.1 πŸ”–

It adds a custom deprecation warning to make sure you see any deprecated code and update it πŸ”Š

fastapi.tiangolo.com

26.12.2025 13:09 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 1

FastAPI 0.127.0 raises a deprecation warning if you use pydantic.v1 πŸ”Š

Support for pydantic.v1 will be fully dropped next β˜•οΈ

You should (and probably are) using @pydantic.dev v2 ✨

21.12.2025 16:52 πŸ‘ 3 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0

FastAPI 0.126.0 drops support for Pydantic v1 ⚰️

The minimum version is now @pydantic.dev >= 2.7.0 ⬆️

Importing from pydantic.v1 is still temporarily supported, but will no longer be supported in a future release in the next few days. πŸ”₯

20.12.2025 16:23 πŸ‘ 3 πŸ” 3 πŸ’¬ 0 πŸ“Œ 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

FastAPI 0.125.0 drops support for Python 3.8 ⚰️

github.com/fastapi/fast...

17.12.2025 21:43 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

Bug fix releases: FastAPI 0.124.3 and 0.124.4 πŸ›

The highlight: YuriiMotov fixed support for @pydantic.dev aliases (validation and serialization) in multiple edge cases. πŸš€

If there are no new reports, FastAPI will drop support for Python 3.8 next week. ⚰️

github.com/fastapi/fast...

12.12.2025 15:29 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 1
Preview
GitHub - fastapi/fastapi: FastAPI framework, high performance, easy to learn, fast to code, ready for production FastAPI framework, high performance, easy to learn, fast to code, ready for production - fastapi/fastapi

A couple of bug-fix releases, FastAPI 0.124.1 and 0.124.2 πŸ›

github.com/fastapi/fast...

10.12.2025 17:56 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0