
This problem covers reading the values that sit inside a web address, so a caller who puts something unexpected there is turned away before any of your code runs.
Read the full problemThis problem covers what happens when two addresses could both match the same request, so a page with a fixed name keeps working after a more general pattern is added beside it.
Read the full problemThis problem covers limiting part of an address to a known list of choices, so a typo is refused and told what was allowed rather than quietly answering with nothing.
Read the full problemThis problem covers laying out the whole set of addresses a file browser needs, so each one reaches the handler it was meant for and none of them quietly swallows another.
Read the full problemRouting, Pydantic models, responses, uploads, errors and OpenAPI docs.
Practice FastAPI by building the request and response side of real APIs, one concept at a time. Each challenge opens a FastAPI 0.139 project on Python 3.13 in a browser IDE, and its tests grade your code. The 7 modules cover what every FastAPI endpoint is made of: path operations and routing, query parameters, request bodies with Pydantic models, response models and status codes, form data, file uploads, cookies and headers, error handling, and the metadata that shapes your OpenAPI docs. Each module ends with a larger challenge that pulls its pieces together, such as a catalog search contract, a document portal intake or partner-ready public docs. All 28 challenges are easy. You should be able to write basic Python, including type hints, before you start; no earlier FastAPI experience is needed. More modules are planned. Every module is open on a free account, and on every challenge you choose whether to work with AI agents, AI chat only, or no AI.
7 modules: Path Operations & Routing, Query Parameters, Request Body and Pydantic Models, Response Models and Status Codes, Form Data, Files & Cookies/Headers, Error Handling and Metadata & Documentation.
28 exercises, all easy.
Challenges run on FastAPI 0.139 and Python 3.13.
No. Every challenge runs in a browser-based IDE with everything already set up, and your code is graded automatically against a test suite.
Not yet. The current modules cover the request and response layer: routing, parameters, Pydantic models, responses, uploads, errors and docs. More modules are planned.
No. The Request Body module teaches Pydantic models from the start: field constraints, nested models and validation. Basic Python with type hints is enough.
Yes. Every challenge has a public page with its full problem statement. Signing up lets you open it in the browser IDE and run the tests.
Yes. All 7 modules are open on a free account, within the free plan’s weekly hour and monthly solution unlock.
Yes, if you want to. Each challenge lets you choose how to work: with AI agents, with AI chat only, or with no AI at all.