/v1/meta
Spec
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/inventory-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/inventory-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/inventory-api/v1/meta");
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/inventory-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"notes": "Demand in units, costs per order / per unit-year, lead time in days. Service level as a percentage (e.g. 95). Single-item model with normal demand.",
"service": "inventory-api",
"formulae": {
"eoq": "EOQ = √(2·D·S/H)",
"safety": "SS = Z × σ × √lead_time",
"reorder": "ROP = daily_demand × lead_time + safety_stock"
},
"endpoints": {
"GET /v1/eoq": "Economic order quantity √(2DS/H), order frequency and the annual cost breakdown.",
"GET /v1/meta": "This document.",
"GET /v1/safety": "Safety stock = Z(service level) × σ × √lead_time.",
"GET /v1/reorder": "Reorder point = daily demand × lead time + safety stock."
},
"description": "Inventory-management calculator: economic order quantity (EOQ), reorder point and safety stock."
},
"meta": {
"timestamp": "2026-06-04T18:38:18.749Z",
"request_id": "ce488d5c-ba09-4ea0-9590-eff1602353ae"
},
"status": "ok",
"message": "Meta",
"success": true
}