saylorinnovations.com/api/inventory/eoq
EOQ with total cost, orders per year, sensitivity and quantity-discount comparison
GET
https://saylorinnovations.com/api/inventory/eoqUptime100% of 3 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://saylorinnovations.com/api/inventory/eoq?unit_cost=18&order_cost=75&working_days=300&annual_demand=12000&discount_tiers=1%3A18%7C500%3A17.4%7C1000%3A16.8&holding_percent=22" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"unit_cost": "18",
"order_cost": "75",
"working_days": "300",
"annual_demand": "12000",
"discount_tiers": "1:18|500:17.4|1000:16.8",
"holding_percent": "22"
}