# FastAPI

*noun*

say it: **“FAST-AY-PEE-EYE”** **/ˈfæstˌeɪˌpiˌaɪ/**

A Python framework for building web APIs: you describe each route's inputs with type hints, and it checks the data, converts it and writes interactive documentation.

## What is **FastAPI**?

**FastAPI** is a modern Python framework for building APIs. You describe inputs with type hints, and it checks the data, converts it and writes interactive documentation for you.

```python
from fastapi import FastAPI

app = FastAPI()

@app.get('/')
def home():
    return {'message': 'Welcome to Recipe Box'}
```

## In a sentence

- “**FastAPI** turned the recipe_id in the address into an int and refused "abc" with a 422.”
- “The recipe app's API is built with **FastAPI**, so /docs shows every route.”

Level: Novice · [More FastAPI terms at this level](https://www.ask-codey.com/glossary?category=fastapi&level=1)

Updated: November 19, 2026

Source: https://www.ask-codey.com/glossary/fastapi
