Skip to content

Glossary: Building APIs with FastAPI

APIRouter

Also written: router, routers

A mini-app that holds a group of endpoints in their own file, with an optional `prefix` and `tags`. You attach it to the main app with `app.include_router`.

Where the book teaches it

Related terms

EndpointSwagger UI