Sitelet https://funapi.dev/docs/pizza

Pizza Orders API — free mock REST API for testing

A tiny pizzeria backend: menu, order placement with validation, an order-status flow — and /oven/status, which always returns 500 for negative testing.

The Pizza Orders API is a small order-lifecycle service: a menu, orders that move through states, and an oven endpoint that fails on purpose. It is the page to open when you need a guaranteed, repeatable 500 — most sandboxes make server errors impossible to reproduce, which is exactly why retry logic and error handling so often ship untested.

Base URL: https://funapi.dev/api/pizza/v1 · 9 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.

Example request and response

GET https://funapi.dev/api/pizza/v1/menu — Get the menu. No token, no signup:

curl -i https://funapi.dev/api/pizza/v1/menu

answers 200 OK with:

{
  "total": 6,
  "data": [
    {
      "id": 1,
      "name": "Margherita",
      "price": 9.5,
      "vegetarian": true
    },
    {
      "id": 2,
      "name": "Pepperoni",
      "price": 11,
      "vegetarian": false
    },
    {
      "id": 3,
      "name": "Quattro Formaggi",
      "price": 12.5,
      "vegetarian": true
    },
    {
      "id": 4,
      "name": "Veggie Garden",
      "price": 10.5,
      "vegetarian": true
    },
    {
      "id": 5,
      "name": "BBQ Chicken",
      "price": 12,
      "vegetarian": false
    },
    {
      "id": 6,
      "name": "Hawaiian",
      "price": 11,
      "vegetarian": false,
      "controversial": true
    }
  ]
}

Open and run this endpoint

What you can practise here

six pizzas, one controversial

orders

received → baking → out-for-delivery → delivered

oven

do not trust the oven

All 39 mock REST APIs

Use this response elsewhere

Last updated