Start off with simply sending demand in the api. The response will contain the projected stock and optimal buying suggestions!
{ "demand": [ 200, 250, 123, 58, 40, 200 ] }