FDA Drug Shortages Scraper - openFDA Supply Tracker avatar

FDA Drug Shortages Scraper - openFDA Supply Tracker

Pricing

from $3.00 / 1,000 results

Go to Apify Store
FDA Drug Shortages Scraper - openFDA Supply Tracker

FDA Drug Shortages Scraper - openFDA Supply Tracker

Extract FDA drug shortage records from the openFDA API. Filter by status, generic name, and posting date. Includes manufacturer, dosage form, NDC, and shortage reason fields.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Compute Edge

Compute Edge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

FDA Drug Shortages Scraper — openFDA Supply Disruption Tracker

Extract structured drug shortage records from the openFDA Drug Shortages API, the official U.S. Food & Drug Administration feed used by hospitals, pharmacies, group purchasing organizations (GPOs), and pharmaceutical wholesalers to monitor U.S. drug supply continuity. The actor pulls the entire shortage catalog and enriches each record with the openFDA metadata block (NDC codes, application numbers, substance names, route, brand names) so the output is immediately usable in procurement, clinical decision support, and supply-chain analytics pipelines.

The FDA Drug Shortage list is the authoritative source for CGMP supply disruption tracking in the United States. Currently in Shortage status, Resolved status, To Be Discontinued, and full Discontinuation notices are all surfaced through a single endpoint. Pharmacy benefit managers, hospital pharmacists, 340B program administrators, and pharmaceutical analysts rely on this data to anticipate stock-outs and plan therapeutic substitutions.

Key Features

  • Complete openFDA Drug Shortages coverage — pulls the full ~1,700 record catalog with API pagination
  • Status filtering — Currently in Shortage / Resolved / Discontinuation / To Be Discontinued
  • Generic name filter — for monitoring a specific molecule across all manufacturers
  • Date-range filtering on the initial posting date (YYYY-MM-DD)
  • Enriched fields — joins openFDA's product metadata (application number, NDC, route, brand)
  • No authentication required — the openFDA endpoint is public
  • Clean JSON output — ready for RAG pipelines, BI dashboards, or PostgreSQL ingestion

Output Data Fields

FieldTypeDescription
genericNamestringGeneric / nonproprietary drug name
proprietaryNamestringBrand or proprietary name
statusstring"Currently in Shortage", "Resolved", etc.
availabilitystringFree-text availability/supply notes
dosageFormstringe.g., "Tablet", "Solution"
strengthstringConcentration / strength
packageNdcstringNational Drug Code (package level)
productNdcstringNational Drug Code (product level)
applicationNumberstringFDA ANDA/NDA application number
companystringManufacturer
shortageReasonstringFDA-reported reason (e.g., "Demand increase for the drug")
therapeuticCategorystringTherapeutic class
routestringRoute of administration
substanceNamestringActive ingredient
contactInfostringManufacturer contact for the shortage
relatedInfostringAdditional notes
updateTypestringAdd / Update / Reverified
initialPostingDatestringFirst date posted (MM/DD/YYYY from openFDA)
updateDatestringLast update timestamp
brandNamestringopenFDA brand name (when available)

How to Scrape FDA Drug Shortages

  1. Open the FDA Drug Shortages Scraper Actor page on Apify Store.
  2. Click Start to open the input form.
  3. (Optional) Set Status Filter to Currently in Shortage to only retrieve open shortages.
  4. (Optional) Set Generic Name Filter to focus on a single molecule, e.g., Amoxicillin.
  5. (Optional) Use Initially Posted After / Before to narrow the window (YYYY-MM-DD).
  6. Set Max Results to cap the output. Leave at 0 for everything.
  7. Click Start.
  8. Download as JSON / CSV / Excel from the Dataset tab, or hit the API endpoint for automation.

Input Example

{
"statusFilter": "Currently in Shortage",
"maxResults": 200
}

Output Example

{
"genericName": "Clonazepam Tablet",
"proprietaryName": "Clonazepam",
"status": "Resolved",
"availability": "Available",
"dosageForm": "Tablet",
"company": "Advagen Pharma Ltd.",
"shortageReason": "Demand increase for the drug",
"applicationNumber": "ANDA075468",
"packageNdc": "72888-154-05",
"initialPostingDate": "03/10/2023"
}

Pricing

This Actor calls a free public API. Compute cost is minimal — a complete catalog pull finishes well under a minute.

  • Per-result pricing: $0.003/result
  • Typical run: complete catalog (~1,700 records) for a few cents

Other Actors

  • CISA Known Exploited Vulnerabilities Scraper
  • openFDA Drug Adverse Events Scraper
  • ClinicalTrials.gov Scraper
  • CMS Hospital General Information Scraper

FAQ

Does this Actor require an FDA / openFDA API key? No. The openFDA Drug Shortages endpoint is public and requires no authentication.

How fresh is the data? openFDA pushes updates daily. The updateDate field reflects when the FDA last touched the record.

Can I get only shortages that are currently active? Yes — set statusFilter to Currently in Shortage.

This Actor extracts publicly available data from the openFDA API operated by the U.S. Food & Drug Administration. No personal data is collected. Users are responsible for complying with the openFDA Terms of Service (https://open.fda.gov/terms/) when redistributing data.