Observed stockout risk, post-restock depletion, and cost declines
const url = 'https://api.oldsteelarsenal.com/v1/catalog/inventory/signals?distributor=rsr&days=7&limit=25';const options = { method: 'GET', headers: { 'x-client-id': '<x-client-id>', 'x-signature': '<x-signature>', 'x-timestamp': '<x-timestamp>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.oldsteelarsenal.com/v1/catalog/inventory/signals?distributor=rsr&days=7&limit=25' \ --header 'x-client-id: <x-client-id>' \ --header 'x-signature: <x-signature>' \ --header 'x-timestamp: <x-timestamp>'Distributor/SKU observations, not retail sales or market demand. Only continuous, fresh samples qualify. Stockout needs 24 hours of coverage and 6 in-stock hours; cover <=7 days. Fast depletion: >=50% of post-restock stock within 72 hours. Cost decline: >=5% and >=$1 since the window/segment start. Unknown distributors return empty lists. Scope: catalog:read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Header Parameters
Section titled “Header Parameters”Responses
Section titled “ Responses ”Successful Response
object
object
Observed depletion units or cost decrease in USD; not sales.
Stockout: estimated cover days. Other lists: percent decline.
object
Observed depletion units or cost decrease in USD; not sales.
Stockout: estimated cover days. Other lists: percent decline.
object
Observed depletion units or cost decrease in USD; not sales.
Stockout: estimated cover days. Other lists: percent decline.
Example
{ "observations": [ { "metric": "qty", "state": "never_sampled" } ]}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}