# Changelog of openFDA Recalls Search: Food, Drug and Device Enforcement (`fecklesspleb/openfda-recalls-search`) Actor

- **URL**: https://apify.com/fecklesspleb/openfda-recalls-search/changelog.md
- **Full Actor documentation**: https://apify.com/fecklesspleb/openfda-recalls-search.md

## Changelog

### 2026-11-12: 0.1 (output schema only)

- Added .actor/output_schema.json (dataset items plus the RUN_SUMMARY record) and linked it from actor.json as outputSchema; Apify requires an output schema to make an Actor public. Added a test that checks both. No code, input, pricing or README change.

### 2026-11-12: 0.1

- First version (private, not published). openFDA food, drug and device enforcement (recall) endpoints only: keyword, recalling firm, classification, status, state, country, date range on report_date or recall_initiation_date, sort newest or oldest first, up to 25,000 records per run with skip/limit paging, and an only-new mode that returns only records not seen in previous runs (recall_number + event_id in a named key-value store).
- Output: recall number, event id, product type, classification, status, recalling firm, firm city/state/country, product description, code info, reason, distribution pattern, quantity, voluntary or mandated, initial firm notification, ISO dates, the openfda annotation with every GMDN field removed, and a source URL. Street address_1/address_2 and postal code are omitted. E-mail addresses and phone numbers are removed from free-text fields.
- Optional user openFDA API key (secret input, no team key), sent only as the api_key query parameter and redacted from all messages. Keyless by default. Keyless limits are 240 requests/min and 1,000/day per IP (shared on Apify IPs); a key raises the daily limit to 120,000 per key. On HTTP 429 the Actor backs off, then stops with a free status row telling a keyless user to add their own key. No proxy and no IP rotation.
- Never an empty dataset: a free status row (recordType "status") on no results, invalid input, robots.txt refusal, rate-limit stop, the 25,000 skip cap, or a zero cost limit. Decided by an in-code write counter. Invalid input ends SUCCEEDED with a status row.
- Pay per event (final, set by Mike): $0.001 per record; no start fee; status rows free. Respects the maximum cost per run.
- Listing includes the requested FDA attribution, an unofficial not-affiliated note, and openFDA's disclaimer quoted verbatim. No recall-alert or lifecycle-tracking claims.
