{"inputSchema":{"type":"object","properties":{"stock":{"type":"string","maxLength":25,"minLength":1},"threshold_pence":{"type":"integer","minimum":1,"maximum":1000000}},"required":["stock","threshold_pence"],"additionalProperties":false},"outputSchema":{"type":"object","required":["measured_at","source","data","limitations"],"properties":{"measured_at":{"type":"string"},"source":{"type":"object","required":["reference","retrieved_at"],"properties":{"reference":{"type":"string"},"retrieved_at":{"type":"string"}}},"data":{"type":"object","properties":{"at_or_lower_units":{"type":"integer"},"higher_units":{"type":"integer"},"at_or_lower_pence":{"type":"integer"},"higher_pence":{"type":"integer"}},"required":["at_or_lower_units","higher_units","at_or_lower_pence","higher_pence"]},"limitations":{"type":"string"}}},"requestExample":{"stock":"85123A","threshold_pence":255},"usageGuide":["Derived from D. Chen, Online Retail (UCI), CC BY 4.0: https://creativecommons.org/licenses/by/4.0/. UK sample, top 100 products, 2010-12-01 to 2010-12-17. Baskets and credits refer to the retained lines.","Supported UK sample stock codes: 20685, 20725, 20727, 20914, 21034, 21080, 21098, 21166, 21175, 21181, 21212, 21232, 21258, 21479, 21481, 21484, 21485, 21733, 21754, 21790, 21791, 21843, 21889, 21915, 21931, 22077, 22082, 22083, 22086, 22111, 22112, 22113, 22114, 22141, 22144, 22147, 22178, 22197, 22198, 22411, 22423, 22457, 22469, 22470, 22553, 22558, 22568, 22569, 22570, 22585, 22624, 22625, 22629, 22630, 22632, 22633, 22659, 22666, 22694, 22726, 22727, 22728, 22739, 22745, 22748, 22752, 22834, 22835, 22837, 22865, 22866, 22867, 22900, 22909, 22910, 22940, 22943, 22952, 22960, 22961, 22969, 22988, 37370, 79321, 82482, 82483, 82484, 82486, 84347, 84879, 84946, 84991, 85150, 85152, 85123A, 84029E, 84029G, 85099B, 82494L, 84030E."],"outputExample":{"measured_at":"2026-11-24T20:24:58.593Z","source":{"reference":"https://doi.org/10.24432/C5BW33","retrieved_at":"2026-11-24T17:39:39.260212+00:00"},"data":{"at_or_lower_units":2434,"higher_units":1071,"at_or_lower_pence":620670,"higher_pence":396455},"limitations":"Derived from D. Chen, Online Retail (UCI), CC BY 4.0: https://creativecommons.org/licenses/by/4.0/. UK sample, top 100 products, 2010-12-01 to 2010-12-17. Baskets and credits refer to the retained lines."},"tags":["retail analytics","basket analysis","product sales","credit notes"],"price_usdc":"0.005"}