FDA Recalls (openFDA food + drug enforcement)
Pricing
$4.00 / 1,000 recall founds
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
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.
- Food enforcement:
https://api.fda.gov/food/enforcement.json - Drug enforcement:
https://api.fda.gov/drug/enforcement.json - Documentation: https://open.fda.gov/apis/food/enforcement/ , https://open.fda.gov/apis/drug/enforcement/
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
| Field | Description |
|---|---|
categories | food and/or drug |
classification | openFDA classification filter: Class I/Class II/Class III (empty = all) |
searchQuery | Additional Lucene-like openFDA search expression (empty = none) |
maxItemsPerCategory | Maximum 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 pricingrecall-found event (this cannot be done from the CLI).
Local run
cd ~/rua/products/apify/fda-recallsmkdir -p storage/key_value_stores/defaultcat > storage/key_value_stores/default/INPUT.json <<'EOF'{"categories": ["food", "drug"], "maxItemsPerCategory": 10}EOFAPIFY_LOCAL=1 python3 main.py# output: storage/datasets/default/*.json
Known limitations
- A
device/enforcement.jsonendpoint also exists but is not included in this actor (it could easily be added to the input schema). - The
linkfield is not provided directly in the openFDA record; a URL into FDA's own search interface is built from theevent_id(the exact detail page is not guaranteed, but the search context leads to the right record).