/v1/plate
Menu pricing & food-cost %
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/foodcost-api/v1/plate" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/foodcost-api/v1/plate", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/foodcost-api/v1/plate");
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/foodcost-api/v1/plate",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Menu price = plate cost / target food-cost %. A 30% target means a 3.33x markup. Prime cost (food + labour) under ~60% of sales is the usual benchmark.",
"inputs": {
"plate_cost": 1.25
},
"gross_profit": 2.92,
"markup_factor": 3.3333,
"gross_margin_percent": 70,
"suggested_menu_price": 4.17,
"target_food_cost_percent": 30
},
"meta": {
"timestamp": "2026-06-05T21:48:47.898Z",
"request_id": "50874672-2d72-490d-8baa-d16dd4acf4c2"
},
"status": "ok",
"message": "Plate pricing",
"success": true
}