A café counter API: browse drinks, place orders — and GET /teapot, which proudly returns HTTP 418 "I'm a teapot".
The Coffee Shop API is the catalog's rate-limiting playground and the home of HTTP 418. Its rush endpoint enforces a real quota: exceed it and you get a 429 with Retry-After and the usual X-RateLimit headers, refreshed on a live window. Client-side throttling and backoff are almost impossible to test against a well-behaved API, and this one misbehaves on request.
Base URL: https://funapi.dev/api/coffee/v1 · 6 endpoints · OpenAPI 3.1 spec and Postman collection available. New here? Read the getting started guide.
hot and cold
GET /coffee/v1/drinks — List drinks, filter by typeGET /coffee/v1/drinks/{id} — Get one drinkname on the cup
POST /coffee/v1/orders — Order a drinkPUT /coffee/v1/orders/{id}/ready — Mark an order ready (409 if already ready)hammer it and watch the 429s
GET /coffee/v1/rush-hour — Rush hour special — max 3 requests per 10sRFC 2324 compliance
GET /coffee/v1/teapot — Try to brew coffee in a teapot