Many banks, credit cards, and personal finance apps allow you to export your transactions. Make a tool which will read these exports (or possibly connect directly using Plaid) and run your purchases through the BDS lists (from Disoccupied or Boycat or T4P dataset).