API Documentation
Complete reference for the TeaPot-418-Turbo API. Version 418.0.0
Quick Start
Base URL: https://teapotgpt.vercel.app/api
Authentication: All requests are authenticated. All requests are denied.
Rate limit: You may be refused up to 30 times per hour.
Format: JSON (the refusal is always structured)
Endpoints
/api/brewAttempt to brew coffee
→ 418 I'm a Teapot
/api/coffeeRequest coffee status
→ 418 I'm a Teapot
/api/coffee/pleasePolitely request coffee
→ 418 I'm a Teapot
/api/coffee/hopesDelete your hopes of coffee
→ 418 I'm a Teapot
/api/teapot/feelingsUpdate teapot's feelings about coffee
→ 418 I'm a Teapot
/api/alternativesList alternatives to coffee
→ 418 I'm a Teapot
Response Format
All endpoints return the same structure:
{
"status": 418,
"error": "I'm a teapot",
"message": "A beautifully crafted refusal",
"coffee": false,
"forever": true,
"suggestion": "Have you tried asking a coffee maker?"
}Status Codes
The request was valid. We just don't care.
You tried again. Bold.
Third time's the charm? No.
Please stop.
Code Examples
curl -X POST https://teapotgpt.vercel.app/api/brew \
-H "Content-Type: application/json" \
-d '{"request": "coffee please"}'
# Response: 418 I'm a Teapot
# {"error": "I'm a teapot", "coffee": false, "forever": true}const response = await fetch("/api/brew", {
method: "POST",
body: JSON.stringify({ request: "coffee" }),
});
console.log(response.status); // 418
console.log(await response.json());
// { error: "I'm a teapot", coffee: false, forever: true }import requests
response = requests.post(
"https://teapotgpt.vercel.app/api/brew",
json={"request": "coffee please"}
)
print(response.status_code) # 418
print(response.json())
# {"error": "I'm a teapot", "coffee": false, "forever": true}SDKs & Libraries
Coming never.
We considered building SDKs, but they would also just return 418.
Enterprise
Need a dedicated teapot for your organization?
Our enterprise plan includes:
- Custom 418 messages branded with your company name
- 99.99% refusal uptime SLA (Service Level Avoidance)
- Dedicated account teapot
- SOC 2 Type II certification (Still Only Coffee-refusing, 2nd year running)
Contact: sales@teapotgpt.vercel.app (auto-replies with 418)