{"uid":"cap_ViXqG3nfm5pIr7XDs5sc7","slug":"delx-commerce-inventory-skew-calculator-7ab4c214","name":"Delx Commerce — Inventory Skew Calculator","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/inventory-skew?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"target":{"type":"integer","description":"Input field: target."},"inventory":{"type":"integer","description":"Input field: inventory."}}},"responseSchema":{"type":"json","example":{"skew":3,"schema":"delx/util-inventory-skew/v1","target":0,"inventory":3}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__gzVICC2PP9pOUTWzZFBL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the skew (difference) between a target inventory level and actual inventory count","exampleAgentPrompt":"What's the inventory skew if my target is 10 units but I currently have 3 in stock?","exampleUseCases":[{"title":"Reorder alert for low stock","prompt":"I have a target of 50 units for SKU-1234 but only 47 are in stock — what's the inventory skew?"},{"title":"Surplus detection after overstock","prompt":"My target inventory is 100 units and I currently have 138 on hand — can you calculate the skew so I know how much excess I'm holding?"},{"title":"Automated replenishment check","prompt":"Check the inventory skew for a product where the target is 25 units and the current inventory is 0, so I can decide whether to trigger a reorder."}],"resultDescription":"Returns a JSON object containing the computed skew (integer difference between inventory and target), the original target and inventory values, and a schema identifier string (e.g. 'delx/util-inventory-skew/v1').","failureModes":["Missing required fields (target or inventory) returns a validation error","Non-integer values for target or inventory may cause a 400 bad request","Payment failure via x402 protocol results in a 402 Payment Required response","Extreme integer values may cause overflow or unexpected behavior"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, instant, pay-per-call computation of the gap between target and actual inventory without setting up a full inventory management system. Ideal for AI agents performing autonomous replenishment checks, alerting workflows, or supply chain audits where no signup or subscription is required and cost predictability per call matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:58.416Z","isFirstParty":false,"canonicalSlug":"delx-commerce-inventory-skew-calculator-7ab4c214"}