FDA Recalls (openFDA food + drug enforcement) avatar

FDA Recalls (openFDA food + drug enforcement)

Pricing

$4.00 / 1,000 recall founds

Go to Apify Store
FDA Recalls (openFDA food + drug enforcement)

FDA Recalls (openFDA food + drug enforcement)

Pulls US food and drug recall (enforcement) records from the FDA's official, open, key-free openFDA API.

Pricing

$4.00 / 1,000 recall founds

Rating

0.0

(0)

Developer

Korhan Coşan Ergün

Korhan Coşan Ergün

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Pulls US FDA food and drug recall (enforcement) records from the official, open, key-free openFDA API. No scraping, no HTML parsing — purely a JSON API.

The API can be used without a key (a key only raises the rate limit), and no signup or payment form is required.

api.fda.gov is a pure REST API host — it has no robots.txt (HTTP 404), so there is no HTML site to index either. This was checked with RobotsChecker; on a 404 the library's default behaviour is "allowed" (visible in the log).

Input

FieldDescription
categoriesfood and/or drug
classificationopenFDA classification filter: Class I/Class II/Class III (empty = all)
searchQueryAdditional Lucene-like openFDA search expression (empty = none)
maxItemsPerCategoryMaximum records per category (openFDA limit: 1000 per request)

Output (each record)

{
"id": "H-0095-2027",
"title": "Pur Aqua Sparkling Frost Cherry Limeade 17 oz., UPC: 4099100167023",
"link": "https://www.accessdata.fda.gov/scripts/ires/index.cfm?searchtype=basic&event_id=...",
"date": "2026-...",
"source_url": "https://api.fda.gov/food/enforcement.json",
"scraped_at": "2026-11-10T00:39:58Z",
"category": "food",
"company": "...",
"reason": "...",
"classification": "Class II",
"status": "Ongoing",
"distribution_pattern": "Nationwide",
"voluntary_mandated": "Voluntary: Firm initiated",
"report_date": "...",
"state": "CA",
"country": "United States"
}

sample_output.json contains 20 records taken from a real local run (10 food + 10 drug, sorted by the most recent recall_initiation_date).

Pricing (PPE)

A recall-found event is fired for every recall record found (Actor.charge("recall-found")). Based on the niche data (research/data/niches_v2.csv, "FDA databases" row, med_p1k=4.0 USD per 1000 records), the suggested price is ≈ $0.004 per recall-found event.

Important: in a live test run on the real platform (apify call, 10 November 2026) the Actor.charge() calls produced this warning:

Ignored attempt to charge for an event - the Actor does not use the pay-per-event pricing
. To activate the price you need to pick the "Pay per event" model in Apify Console → Actor → Monetization and enter a $0.004 price for the recall-found event (this cannot be done from the CLI).

Local run

cd ~/rua/products/apify/fda-recalls
mkdir -p storage/key_value_stores/default
cat > storage/key_value_stores/default/INPUT.json <<'EOF'
{"categories": ["food", "drug"], "maxItemsPerCategory": 10}
EOF
APIFY_LOCAL=1 python3 main.py
# output: storage/datasets/default/*.json

Known limitations

  • A device/enforcement.json endpoint also exists but is not included in this actor (it could easily be added to the input schema).
  • The link field is not provided directly in the openFDA record; a URL into FDA's own search interface is built from the event_id (the exact detail page is not guaranteed, but the search context leads to the right record).