
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.
- 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.
| Field | Type | What it holds | Example |
|---|---|---|---|
| id | string | Stable 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 |
| genericName | string | Generic name of the product in shortage. | Clindamycin Phosphate Injection |
| companyName | string | The company that reported or holds the product. | Pfizer Inc. |
| status | string | openFDA status: Current, To Be Discontinued or Resolved. | Current |
| availability | string | Available, Limited Availability, Unavailable — or **Not stated** when the record publishes no value. Not stated does not mean available. | Unavailable |
| dosageForm | string | Injection, Tablet, Capsule and so on. | Injection |
| presentation | string | The full product description including strength and NDC. | Cleocin Phosphate, Injection, 300 mg/2 mL (NDC 0009-0870-26) |
| therapeuticCategory | string | One or more categories, comma-separated. | Anesthesia, Pediatric |
| packageNdc | string | National Drug Code for the package. | 0009-0870-26 |
| initialPostedAt | string | When this shortage episode was first posted, as ISO 8601. | 2023-03-21T00:00:00.000Z |
| updatedAt | string | Last update date on the record. | 2026-10-16T00:00:00.000Z |
| updateType | string | New, Revised or Reverified. | Reverified |
| daysInShortage | number | Whole days from the posting date to this run. Null when no date was published — not 0. | 1308 |
| isCurrent | boolean | Status is Current. | true |
| isDiscontinued | boolean | The firm has announced discontinuation. | false |
| isResolved | boolean | The shortage is resolved. | false |
| isUnavailable | boolean | Availability is explicitly Unavailable. | true |
| isLimited | boolean | Availability is explicitly Limited Availability. | false |
| sourceUrl | string | The 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
| Input | Type | Description |
|---|---|---|
| query | stringoptional | A generic name to search for, such as insulin. Leave blank to fetch every shortage on record. |
| status | stringoptional | Filter by openFDA status. |
| includeResolved | booleanoptional | Resolved shortages are historical. Uncheck to see only live ones. |
| maxItems | integeroptional | Hard limit. A run that stops early says so. |
| timeoutSecs | integeroptional | Per 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.
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.