v2.4 · Margherita Release

The HTTP API for building pizza, programmatically.

TomatoPy gives developers a clean, RESTful interface to the entire pizza supply chain — from sourcing San Marzano tomatoes to baking a finished pie at 482°C. Acquire, simmer, assemble, and analyze, all over HTTPS.

REST + Webhooks
SDKs for Python, Node, Go
99.94% uptime
from tomatopy import PizzaStack

client = PizzaStack(api_key="sk_live_...")

# 1. Acquire ingredients
tomato = client.ingredients.acquire(
    variety="san_marzano",
    grade="DOP",
    quantity_g=800,
)

# 2. Simmer the sauce
sauce = client.sauce.simmer(
    tomato_id=tomato.id,
    minutes=45,
    salt_g=6,
    basil=True,
)

# 3. Bake the pizza
pizza = client.pizzas.bake(
    style="napoletana",
    sauce_id=sauce.id,
    toppings=["fior_di_latte", "basil"],
    oven_temp_c=482,
)

print(pizza.url)  # https://cdn.tomatopy.pizza/pi_1aB...
// Four primitives

Everything you need to ship a pizza, end-to-end.

A small, composable surface area. Each primitive is a single resource with predictable verbs, idempotent writes, and webhooks for long-running events like fermentation and bake.

01 / Source

Acquire ingredients

Source San Marzano tomatoes, fior di latte, 00 flour, and 200+ other SKUs from a global supplier index. Filter by DOP, organic, harvest date.

POST/v2/ingredients/acquire
02 / Cook

Prep & cook

Simmer sauce, ferment dough, render meats. Long-running cook jobs return a job ID; subscribe to webhooks for state transitions.

POST/v2/sauce/simmer
03 / Build

Assemble & bake

Compose dough, sauce, and toppings into a pizza resource. Specify style, oven temp, and bake time — we handle the rest.

POST/v2/pizzas/bake
04 / Inspect

Taste & analyze

Run quality scoring on any baked pizza. Returns crust char %, cheese melt index, structural integrity, and a 1–10 nonna score.

GET/v2/pizzas/{id}/analyze
// API surface

One base URL. Verbs you'd expect.

POST /v2/ingredients/acquire Source raw ingredients from the supplier index
POST /v2/dough/ferment Cold-ferment a dough ball for n hours
POST /v2/sauce/simmer Reduce a tomato into a sauce object
POST /v2/pizzas/bake Assemble and bake a pizza resource
GET /v2/pizzas/{id} Retrieve a single pizza by ID
GET /v2/pizzas/{id}/analyze Run sensory + structural analysis

Ready to ship your first pie?

Get an API key in 30 seconds. The first 50 bakes are on us.

Get started