2 problems here, first, can you use competitors data for comparison and making your data better? Second, calculating difference is very difficult and size of difference could be overwhelming. But first issue is the main problem.
2. Difficult how? You don't have to perform it on items that can't be automatically searched for. Then you do subtraction, square, check if you're over a kilometer.