Microproduct Data GuideBeginner

CPSC Product Recalls

Consumer product recall records for building bounded product-safety lookups and owner-notification tools.

Report a Problem

At a Glance

Difficulty
Beginner — comfortable for a first prototype
Size
Tiny · ≤0.05 GB
Formats
JSON, XML
Access
API
API Key
Not Required
Provider
U.S. Consumer Product Safety Commission
Updates
Daily
Last Verified
Aug 18, 2026
Source Type
Government Source
  • Python Syntax Checked
  • Runnable Notebook

From Source to Product Signal

Test a Product Idea in Four Steps

CPSC's Recall Retrieval service returns consumer product recalls as JSON. Start with a short date window; an unfiltered request can return the entire catalog. A recall record is not a current inventory check, and date parameters must be spelled exactly.

1

Check the Setup

  • Python 3.10 or newer
  • A notebook environment such as Jupyter or Google Colab
  • An internet connection
2

Access the Data

  1. 1.Open the CPSC recalls page and note that the retrieval service lives on saferproducts.gov.
  2. 2.Query JSON for a bounded recall-date window.
  3. 3.Keep recall numbers, titles, and dates before summarizing hazards.
Open Official Source
3

Run the Python Example

Install the packages, then run the notebook cell.

python -m pip install pandas requests

import pandas as pd
import requests

response = requests.get(
    "https://www.saferproducts.gov/RestWebServices/Recall",
    params={
        "format": "json",
        "RecallDateStart": "2025-01-01",
        "RecallDateEnd": "2025-03-31",
    },
    timeout=30,
)
response.raise_for_status()
recalls = pd.DataFrame(response.json())
recalls["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(recalls[["RecallNumber", "Title", "RecallDate"]].head(20))
4

Test a Useful Signal

Summarize First-Quarter Consumer Product Recalls

Identify which product titles appear most often in a bounded CPSC recall window.

  1. 01Confirm the request used RecallDateStart and RecallDateEnd rather than an unfiltered dump.
  2. 02Count recalls by month and inspect a sample of titles and hazards.
  3. 03State that CPSC recalls are not vehicle or food-enforcement records and that remedy status can change after publication.

Dataset Details

U.S. Consumer Product Safety Commission is a government source. Last verified 2026-08-18. Temporal coverage: 1973-present.

Geography

Formats

Provider

U.S. Consumer Product Safety Commission

Data Terms

U.S. Government public data / federal copyright guidance

Send Feedback