# Changelog of openFDA Drug Labels Search: SPL Product Labeling (`fecklesspleb/openfda-drug-labels-search`) Actor

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

## Changelog

### 2026-11-13: 0.1 (Lex review)

- README (What you get and Limits) and the row disclaimer, when any section was trimmed, now say that trimmed sections are incomplete and that users must read the full label (sourceUrl, or DailyMed by set_id) before relying on any section.
- boxed_warning and contraindications are never trimmed.
- New nullable dailyMedUrl field: https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=\<set_id>, also in the dataset schema.
- sample_output.json is now a real item row from a live run (plus a status row).

### 2026-11-13: 0.1

- First version (private, not published). openFDA drug labeling (SPL) endpoint only: keyword, brand name, generic name, manufacturer, product NDC, product type, route, date range on effective_time, sort newest or oldest first, a compact default set of sections with long text trimmed by maxSectionChars (default 2,000), 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 (id, set_id and version in a named key-value store).
- Output: document id, set id, version, effective time, brand and generic names, manufacturer, product NDC, product type, route, only the chosen sections (trimmed), a list of truncated section names, the openfda annotation with every GMDN field removed, and a source URL. Unlisted sections are omitted. E-mail addresses and phone numbers are removed from saved section text.
- 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 responsible-use text and drug-label disclaimer quoted verbatim.
