If you sell on a marketplace or run a catalog of consumer goods, a recalled product in your listings is a problem you want to find before a customer or a regulator does. The U.S. Consumer Product Safety Commission publishes every recall, but matching your products to those notices is the hard part.
This post checks product keywords against CPSC recalls from Python. It uses the Consumer Product Recall Monitor API from Wryborg, which returns CPSC recalls as normalized JSON with filters for keyword, UPC, manufacturer, retailer and hazard.
The data is derived from official CPSC records (saferproducts.gov). It can be delayed or incomplete and is not a safety guarantee. A keyword hit is a lead for a person to check, not a finding that your product is recalled.…