Skip to content
GET /v1/food

Food quantities

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/catering-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/catering-api/v1/food" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/catering-api/v1/food", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/catering-api/v1/food");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/catering-api/v1/food",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "note": "Main protein ≈ 0.5 lb cooked per person (light 0.33, hearty 0.75). Each side ≈ 4 oz per person; appetizers ≈ 6 pieces per person; ~1.5 rolls each. Scale up 10–15% for big eaters or no other food.",
        "inputs": {
            "sides": 3,
            "guests": 50,
            "appetite": "standard",
            "appetizers_per_person": 6
        },
        "side_dishes": 3,
        "dinner_rolls": 75,
        "each_side_lb": 12.5,
        "total_sides_lb": 37.5,
        "main_protein_lb": 25,
        "appetizer_pieces": 300
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:07.406Z",
        "request_id": "9659078b-8cb9-4b03-b6f1-4e052b23c859"
    },
    "status": "ok",
    "message": "Food quantities",
    "success": true
}