Skip to main content

CPSC Recalls Application Program Interface (API) Information

CPSC provides accessibility to recalls via a recall database. The information is publicly available to consumers and businesses as well as software and application developers. The Commission recently worked towards a new and improved recalls API implemented as REST web services.  The recall data can be retrieved in XML or in JSON.  The API provides machine readable access to publicly available recall information visible on cpsc.gov. 

You can find more information on how to access and interpret the CPSC Recalls API in our documentation guide, examples are provided below to provide an overview.

List of all recalls with title “Child” and description contains “metal”

The URL to get a list of all recalls with title “Child” and description contains “metal” in XML format is:
https://www.saferproducts.gov/RestWebServices/Recall?Title=Child&Recall…

To get the same list as above but in JSON format:
https://www.saferproducts.gov/RestWebServices/Recall?Title=Child&Recall…

List of all recalls with Product Name “Toddler”

The URL to get a list of all recalls with ProductName “Toddler” in XML format is:
https://www.saferproducts.gov/RestWebServices/Recall?ProductName=Toddler

To get the same list as above but in JSON format:
https://www.saferproducts.gov/RestWebServices/Recall?ProductName=Toddle…

Reporte un producto inseguro