{"slug":"handel-halowerk-com-v1-demand-forecast-367f17","title":"Forecasts one SKU from a history you supply","host":"handel.halowerk.com","method":"POST","resource":"https://handel.halowerk.com/v1/demand-forecast","category":"other","description":"Forecasts one SKU from a history you supply. The pipeline is fixed and fully disclosed in the response rather than hidden behind a score. The series is decomposed multiplicatively while every observation is positive and additively as soon as a zero or a negative appears, because a ratio is not defin","price_listed":0.006,"price_asked":0.006,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":1201,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"backtest_periods":4,"confidence_level":0.9,"frequency":"weekly","future_events":[{"period_start":"2026-06-15","promotion":true}],"history":[{"period_start":"2026-01-05","quantity":117},{"period_start":"2026-01-12","quantity":90},{"period_start":"2026-01-19","quantity":102},{"period_start":"2026-01-26","quantity":113},{"period_start":"2026-02-02","promotion":true,"quantity":191},{"period_start":"2026-02-09","quantity":104},{"period_start":"2026-02-16","quantity":115},{"period_start":"2026-02-23","quantity":120},{"period_start":"2026-03-02","quantity":145},{"holiday":true,"period_start":"2026-03-09","quantity":150},{"period_start":"2026-03-16","quantity":125},{"period_start":"2026-03-23","quantity":136},{"period_start":"2026-03-30","quantity":154},{"period_start":"2026-04-06","promotion":true,"quantity":188},{"period_start":"2026-04-13","quantity":137},{"period_start":"2026-04-20","quantity":144},{"period_start":"2026-04-27","quantity":174},{"period_start":"2026-05-04","quantity":133},{"holiday":true,"period_start":"2026-05-11","quantity":199},{"period_start":"2026-05-18","quantity":159},{"period_start":"2026-05-25","quantity":182},{"period_start":"2026-06-01","quantity":150}],"horizon_periods":4,"season_length_periods":4},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"backtest_periods":{"default":0,"description":"How many of the last periods to hold back for the comparison against the baselines. Zero picks a quarter of the history, capped at the horizon.","maximum":52,"minimum":0,"type":"integer"},"confidence_level":{"default":0.9,"description":"Confidence level of the prediction interval.","enum":[0.8,0.9,0.95],"type":"number"},"frequency":{"description":"Length of one period. Sets the default season length: 7 for daily, 52 for weekly, 12 for monthly.","enum":["daily","weekly","monthly"],"type":"string"},"future_events":{"description":"Promotions and holidays you already know about for the forecast periods. Matched on period_start against the generated periods; an entry that matches no period is reported back as unmatched.","items":{"additionalProperties":false,"properties":{"holiday":{"default":false,"type":"boolean"},"period_start":{"description":"First day of the forecast period this applies to.","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"promotion":{"default":false,"type":"boolean"}},"required":["period_start"],"type":"object"},"maxItems":104,"type":"array"},"history":{"description":"The demand history, one entry per period, oldest first. Periods must be consecutive and each period_start must be unique and ascending.","items":{"additionalProperties":false,"properties":{"holiday":{"default":false,"description":"Whether that period contained a holiday you consider relevant. The calendar is yours; no holiday list is looked up.","type":"boolean"},"period_start":{"description":"First day of the period as YYYY-MM-DD.","pattern":"^\\d{4}-\\d{2}-\\d{2}$","type":"string"},"promotion":{"default":false,"description":"Whether the SKU was on promotion in that period.","type":"boolean"},"quantity":{"description":"Units sold in that period. Zero is allowed and switches the decomposition to additive.","maximum":1000000000,"minimum":-1000000000,"type":"number"}},"required":["period_start","quantity"],"type":"object"},"maxItems":520,"minItems":4,"type":"array"},"horizon_periods":{"default":8,"description":"How many periods to forecast.","maximum":104,"minimum":1,"type":"integer"},"season_length_periods":{"description":"Override the season length in periods. Zero switches seasonality off. Omitted uses the default for the frequency.","maximum":53,"minimum":0,"type":"integer"}},"required":["history","frequency"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1201,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1206,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1227,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1205,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1184,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1174,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1177,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1178,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1174,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1170,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1132,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1189,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1168,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1307,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1134,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1170,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1138,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1310,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1306,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1160,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1194,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1154,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1306,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1163,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":1338,"error":null}],"description_full":"Forecasts one SKU from a history you supply. The pipeline is fixed and fully disclosed in the response rather than hidden behind a score. The series is decomposed multiplicatively while every observation is positive and additively as soon as a zero or a negative appears, because a ratio is not defined there; the seasonal index is the median ratio per phase against a centred moving average, estimated only on periods that carry no promotion and no holiday so that a campaign in week twelve does…","last_updated":"2026-11-02T15:06:50.455Z","schemes":["exact"]}