Skip to content
ExtractorHub

Drug Shortage Monitor — openFDA Availability & Duration

Monitor US drug shortages from openFDA: product, firm, status, availability, dosage form and how long it has been in shortage. Keyless, one row per shortage episode.

Drug Shortage Monitor — openFDA Availability & Duration returns 19 documented output fields, including id, genericName, companyName, status and availability. Every field carries a declared type, a written description and an example value. 0 runs are recorded on Apify.

Run it on ApifyPay per result · no subscription
19
Output fields
5
Inputs
0
Runs

01 — output

What it returns

Every field the extractor writes to its dataset, with its type, a written description and an example value.

FieldTypeWhat it holdsExample
idstringStable row identity: product, package, firm and the posting date. A shortage that recurred is a second episode with its own id.clindamycin-phosphate-injection|0009-0870-26|pfizer-inc-|03-21-2023
genericNamestringGeneric name of the product in shortage.Clindamycin Phosphate Injection
companyNamestringThe company that reported or holds the product.Pfizer Inc.
statusstringopenFDA status: Current, To Be Discontinued or Resolved.Current
availabilitystringAvailable, Limited Availability, Unavailable — or **Not stated** when the record publishes no value. Not stated does not mean available.Unavailable
dosageFormstringInjection, Tablet, Capsule and so on.Injection
presentationstringThe full product description including strength and NDC.Cleocin Phosphate, Injection, 300 mg/2 mL (NDC 0009-0870-26)
therapeuticCategorystringOne or more categories, comma-separated.Anesthesia, Pediatric
packageNdcstringNational Drug Code for the package.0009-0870-26
initialPostedAtstringWhen this shortage episode was first posted, as ISO 8601.2023-03-21T00:00:00.000Z
updatedAtstringLast update date on the record.2026-10-16T00:00:00.000Z
updateTypestringNew, Revised or Reverified.Reverified
daysInShortagenumberWhole days from the posting date to this run. Null when no date was published — not 0.1308
isCurrentbooleanStatus is Current.true
isDiscontinuedbooleanThe firm has announced discontinuation.false
isResolvedbooleanThe shortage is resolved.false
isUnavailablebooleanAvailability is explicitly Unavailable.true
isLimitedbooleanAvailability is explicitly Limited Availability.false
sourceUrlstringThe openFDA endpoint this row came from.https://open.fda.gov/apis/drug/drugshortages/

02 — sample

One record

Assembled from the example values declared on the schema above, not invented at render time.

{
  "id": "clindamycin-phosphate-injection|0009-0870-26|pfizer-inc-|03-21-2023",
  "genericName": "Clindamycin Phosphate Injection",
  "companyName": "Pfizer Inc.",
  "status": "Current",
  "availability": "Unavailable",
  "dosageForm": "Injection",
  "presentation": "Cleocin Phosphate, Injection, 300 mg/2 mL (NDC 0009-0870-26)",
  "therapeuticCategory": "Anesthesia, Pediatric"
}

03 — input

What you give it

InputTypeDescription
querystringoptionalA generic name to search for, such as insulin. Leave blank to fetch every shortage on record.
statusstringoptionalFilter by openFDA status.
includeResolvedbooleanoptionalResolved shortages are historical. Uncheck to see only live ones.
maxItemsintegeroptionalHard limit. A run that stops early says so.
timeoutSecsintegeroptionalPer page.

04 — run

Run Drug Shortage Monitor on your own input

It runs in the cloud on Apify. Nothing to install, and you are billed per result returned rather than per attempt.

Open on Apify ↗

05 — questions

Asked before running it

19 of 19 fields described

What does Drug Shortage Monitor — openFDA Availability & Duration return?
It returns 19 documented output fields: id, genericName, companyName, status, availability, dosageForm, presentation, therapeuticCategory, packageNdc, initialPostedAt, updatedAt and updateType. Each field declares its type, a description of what it holds, and an example value. The remaining 7 are listed in the output schema below.
What input does Drug Shortage Monitor — openFDA Availability & Duration take?
All 5 inputs are optional and ship with usable defaults, so it runs as-is. They are listed with their types below.
Does Drug Shortage Monitor — openFDA Availability & Duration need an API key or login?
No. None of its inputs is a credential, and it reads only public data. Nothing to sign up for before the first run.
How do I run Drug Shortage Monitor — openFDA Availability & Duration?
It runs on Apify. Start it from its listing with the inputs above, or call the Apify API with the Actor's ID. Results land in a dataset you can export as JSON, CSV or Excel, or read through the Apify API into your own pipeline.