All AI Data API - Cost of goods sold: FIFO, LIFO or average cost
https://allai-api.allaihq.workers.dev/v1/tools/cogs_costing_calcOverview
Inventory costing calculator. Enter purchase layers in date order (quantity and unit cost, including any opening stock) and the units sold. Returns cost of goods sold, ending inventory value and the remaining layers under FIFO, LIFO and periodic weighted-average, side by side, plus the difference between methods and gross profit if you give a selling price. Arithmetic only; che $0.01 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-05 10:39:13 | healthy | 402 | 372ms | |
| 2026-12-05 09:37:26 | healthy | 402 | 361ms | |
| 2026-12-05 08:40:56 | healthy | 402 | 396ms | |
| 2026-12-05 07:37:24 | healthy | 402 | 362ms | |
| 2026-12-05 06:35:03 | healthy | 402 | 360ms | |
| 2026-12-05 05:35:37 | healthy | 402 | 353ms | |
| 2026-12-05 03:47:09 | healthy | 402 | 1624ms | |
| 2026-12-05 02:37:17 | healthy | 402 | 351ms | |
| 2026-12-05 01:36:34 | healthy | 402 | 348ms | |
| 2026-12-04 20:53:24 | healthy | 402 | 2283ms | |
| 2026-12-03 15:01:18 | healthy | 402 | 2441ms |