FastAPI
banner
fastapi.tiangolo.com
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/
A basic FastAPI app in one command 🚀

Install uv: docs.astral.sh/uv/getting-s...

Run:

uvx fastapi-new awesomeapp

✨ Done! ✨

Thanks @savannah.dev ! 🙌

github.com/fastapi/fast...
GitHub - fastapi/fastapi-new: Create a new FastAPI project in one command
Create a new FastAPI project in one command. Contribute to fastapi/fastapi-new development by creating an account on GitHub.
github.com
November 10, 2025 at 11:04 PM
The FastAPI CLI now supports declaring the entrypoint (your app location) in pyproject.toml ✨

Configure there once, and then you can just run:

$ fastapi dev

...without having to pass a file path 😎

Thanks @patrick.wtf! 🙌
November 10, 2025 at 3:56 PM
Here's a smol bug-fix release for the weekend, FastAPI 0.121.1 🐛

luzzodev just fixed Depends(func, scope="function") when used in the router, at the top level. 😎

github.com/fastapi/fast...
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
github.com
November 8, 2025 at 9:57 PM
Here's FastAPI 0.121.0 🍰

In case you needed to exit early from dependencies with yield, you can now opt in with:

Depends(some_func, scope="function")

fastapi.tiangolo.com/tutorial/dep...
Dependencies with yield - FastAPI
FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi.tiangolo.com
November 3, 2025 at 1:21 PM
You wanted Halloween scare jumps? 🎃

Here are THREE releases in a row, on a Friday. 🧛

FastAPI 0.120.2, 0.120.3, 0.120.4 🦇

The first 2 from yesterday, refactors and cleanup, preparing for a big feature coming. 🍬

Last, Yurii quickly fixed a bug from the previous one. 🧌

fastapi.tiangolo.com
FastAPI
FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi.tiangolo.com
October 31, 2025 at 6:44 PM
Here's FastAPI 0.120.2 ☕️

Fixing a bug when generating schemas for multiple nested models 🐛

github.com/fastapi/fast...
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
github.com
October 29, 2025 at 2:24 PM
fastapi-cli 0.0.14 comes with support for Python 3.14 🐍

Just install "fastapi[standard]" 🤓

fastapi.tiangolo.com
FastAPI
FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi.tiangolo.com
October 20, 2025 at 4:37 PM
Quick fix release, 0.119.1 🍫

This fixes compatibility (warnings) with @pydantic.dev 2.12.1 on Python 3.14 🐍

Nothing changed for the final users, but still a lot of work underneath to get it done. 😅 Thanks @oxykodit.bsky.social! 🙌

github.com/fastapi/fast...
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
github.com
October 20, 2025 at 11:41 AM
Here's FastAPI 0.119.0 🚀

With support for both @pydantic.dev v2 and v1 on the same app, at the same time 🤯

This is just so you can migrate to Pydantic v2 if you haven't done it yet, here's your (last) chance! 🤓

Pydantic v1 is now deprecated ⛔️

Read more fastapi.tiangolo.com/how-to/migra...
October 11, 2025 at 5:33 PM
Who's hungry? There's pi 🥧

FastAPI 0.118.3 has official support for Python 3.14 🎉

Big thanks to @oxykodit.bsky.social for a long debugging and preparation process! 🙌

And shoutout to @1st1.dev and Fantix from @geldata.com for the new httptools with support for 3.14 🙇
October 10, 2025 at 10:56 AM
Here's another quick FastAPI bug fix release, 0.118.2 🚀

This fixes a use case with Pydantic models using discriminated unions in the body. 🐛

(If you don't understand or use that, no need to worry about it either 😎)

Thanks François Voron! 🙌

And thanks @patrick.wtf and Yurii! 🍰
October 8, 2025 at 3:01 PM
Here's FastAPI 0.118.1, with compatibility for the latest @pydantic.dev. 🚀

This one had the combined effort of the community, the @pydantic.dev team, and the @fastapi.tiangolo.com team, all together. 🙌

github.com/fastapi/fast...
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
github.com
October 8, 2025 at 9:14 AM
FastAPI 0.118.0 was just released 🎁

🐛 This fixes a bug when using a StreamingResponse and dependencies with yield or UploadFile.

Details: Now the exit code of dependencies with yield runs after the response is sent back.

If you want to read more: fastapi.tiangolo.com/advanced/adv...
Advanced Dependencies - FastAPI
FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi.tiangolo.com
September 29, 2025 at 4:07 AM
What's a better weekend treat than a release packed with features and bug fixes? 🍰

FastAPI 0.117.0 has too many things to list. ✨

Check the release notes: fastapi.tiangolo.com/release-notes/

Shoutout to YuriiMotov for the work reviewing and tweaking PRs! 🙌
Release Notes - FastAPI
FastAPI framework, high performance, easy to learn, fast to code, ready for production
fastapi.tiangolo.com
September 20, 2025 at 7:48 PM
Just released, fastapi-cli version 0.0.12 🤓

With support for the PORT environment variable, used by many cloud providers. 🚀

Just use:

✨ fastapi run ✨

Thanks Marco Burro! 🙌
September 17, 2025 at 7:27 PM
Here's FastAPI 0.116.2 with support for the latest Starlette 🚀

github.com/fastapi/fast...
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
github.com
September 16, 2025 at 6:42 PM
Now you can use the entrypoint syntax with the FastAPI CLI 🚀

(fastapi-cli version 0.0.11)

Thanks @patrick.wtf! 🙌
September 9, 2025 at 1:44 PM
Reposted by FastAPI
I was just checking, and @fastapi.tiangolo.com has been downloaded 4,297,849 times... in the last day.

4M+ times a day. 🚀

That also means that, since you started reading this post, it has been downloaded around 400 times. 🤯

pypistats.org/packages/fas...
PyPI Download Stats
PyPI Download Stats
pypistats.org
September 2, 2025 at 2:55 PM
FastAPI is now officially the most used web framework by Python developers 😁🚀🎉

From the Python Developer Survey 🐍

blog.jetbrains.com/pycharm/2025...
August 20, 2025 at 10:47 AM
Reposted by FastAPI
Love to see:

- @fastapi.tiangolo.com usage up 9%
- 1/3 contributing to open source
- New developers choosing Python!
🚀 The State of Python 2025 is here!

Our findings from the #Python Developers Survey done in collab with @python.org:

📊 51% use Python for data
🌐 46% use it for web dev
👨‍💻 Half of the community is new
🔧 83% still use older Python versions

Check out the takeaways by @mkennedy.codes: jb.gg/uka16g
The State of Python 2025 | The PyCharm Blog
Discover the latest Python trends and predictions backed by a survey of over 30,000 developers.
jb.gg
August 18, 2025 at 3:41 PM
"The +5 point increase for FastAPI is one of the most significant shifts in the web framework space."

"This signals a strong trend towards using Python for building performant APIs and reflects the overall strength of the Python ecosystem."

🤯🐍🚀

survey.stackoverflow.co/2025/technol...
July 29, 2025 at 5:01 PM
Reposted by FastAPI
"[At OpenAI] Pretty much everything operates around @fastapi.tiangolo.com to create APIs and @pydantic.dev for validation" 🚀

- Calvin French-Owen

calv.info/openai-refle...
Reflections on OpenAI
calv.info
July 16, 2025 at 7:16 PM
Here's FastAPI 0.115.14 🚀

@patrick.wtf fixed support for unions of @pydantic.dev models in Form data. 🐛🎉

(This will make it easier to implement single sign-on 😉)

github.com/fastapi/fast...
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
github.com
June 26, 2025 at 3:34 PM
The cake was not a lie.
June 20, 2025 at 4:35 PM
Here's FastAPI 0.115.13 with a bunch of bug fixes and tweaks 🎁

Special thanks to Yurii for all the work handling discussions and PRs! 🙌

github.com/fastapi/fast...
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
github.com
June 17, 2025 at 12:59 PM