← Back to directory

All AI Data API - Cost of goods sold: FIFO, LIFO or average cost

https://allai-api.allaihq.workers.dev/v1/tools/cogs_costing_calc

Overview

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.

Protocol x402 (POST)
Price $0.01
Payment Asset USDC
Payment Network base
Category data
Provider All AI LLC (All AI Data API)
Source self-registered
Indexed 2026-12-03 06:50:44

Health

Status healthy
Latency (p50) 362ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-12-05 10:39:13
Last Healthy 2026-12-05 10:39:13
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

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