Too many variables, seasonal variations, emerging trends, anomalies and shifting goalposts imo. Would need a lot of data example hundreds of recent sales for each keyword to make any acurate analysis. You could write a program or get someone off Fiverr to do it. Will be a challenge.