FDA Drug Shortage Scraper — Supply Change Alerts avatar

FDA Drug Shortage Scraper — Supply Change Alerts

Pricing

from $5.00 / 1,000 fda drug shortage rows

Go to Apify Store
FDA Drug Shortage Scraper — Supply Change Alerts

FDA Drug Shortage Scraper — Supply Change Alerts

Track FDA drug shortages and supply changes: one row per openFDA shortage record with generic name, company, NDC, status and availability. Pressing Start with defaults saves a free baseline and charges nothing; paste the README JSON (emit_backfill) to get rows on the first run. From USD 5/1k.

Pricing

from $5.00 / 1,000 fda drug shortage rows

Rating

0.0

(0)

Developer

naoki anzai

naoki anzai

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Security

Limited permissions

Share

FDA Drug Shortage Supply Change Report

What you get: one row per matching openFDA drug-shortage record with generic name, company, presentation, NDC, status, availability, therapeutic category, and update dates.

Sample output from a real run of the JSON below (2026-10-18, current injectable shortages updated in 2026, maxRecordsPerWatch: 1):

genericNamecompanyNamepackageNdcstatusavailabilitytherapeuticCategoryupdateDate
Lidocaine Hydrochloride InjectionHospira, Inc., a Pfizer Company0409-4776-01CurrentAvailableAnesthesia, Pediatric2026-10-08

Open Input

Console defaults vs. the JSON below: if you leave the Console defaults and press Start, the first run is prefilled with initialRunMode: "emit_backfill" and maxChargeUsd: 11, so it returns current matching shortage rows and the supply report right away. Choose baseline_only instead if you only want to save a free baseline (no charge) and receive new or changed records on later runs with the same monitorKey. For a low-cost first look, paste the JSON below: it returns 1 fda-shortage-row (USD 0.005) plus 1 fda-shortage-change-alert (USD 0.25), about USD 0.26 in total, with the report turned off.

Keep reports, exports, and movement options bounded for the first run. Open Console Input (deep link above) and run this JSON.

{
"watches": [
{
"id": "current-injectable-shortages-wave-n",
"statuses": [
"Current"
],
"dosageForms": [
"Injection"
],
"updateDateFrom": "2026-01-01",
"updateDateTo": "2026-12-31"
}
],
"monitorKey": "fda-shortage-wave-n",
"initialRunMode": "emit_backfill",
"generateReport": false,
"emitRawRows": true,
"emitExport": false,
"maxRecordsPerWatch": 1,
"maxChargeUsd": 0.5,
"dryRun": false
}

Paste shortage watch and Start.

Pharma supply-chain, procurement, and regulatory-operations teams provide bounded drug shortage watches. The Actor reads official openFDA shortage records and returns source-linked change alerts, descriptive supply reports, and JSON exports.

It uses the official openFDA Drug Shortages API. No API key or login is required for normal use; an optional user-supplied openFDA key can be provided for regular high-volume use. The Actor never returns the source contact field and does not make medical, treatment, safety, causal, legal, or procurement recommendations.

Store Quickstart

{
"watches": [
{
"id": "current-injectables",
"statuses": [
"Current"
],
"dosageForms": [
"Injection"
],
"updateDateFrom": "2026-01-01",
"updateDateTo": "2026-12-31"
}
],
"monitorKey": "hospital-injectables",
"initialRunMode": "baseline_only",
"generateReport": true,
"emitUnchanged": false
}
  1. Start with initialRunMode: "baseline_only" to save the current public records without rows or charges.
  2. Run the same monitorKey later with generateReport: true and emitUnchanged: false to receive only new or changed records.
  3. Use initialRunMode: "emit_backfill" once when an explicit first report is wanted. Set emitExport: true for a compact source-linked export.

Use with Apify MCP

Exact actor: taroyamada/fda-drug-shortage-supply-change-report

Sample input JSON:

{
"watches": [
{
"id": "current-injectable-shortages-2026",
"statuses": [
"Current"
],
"dosageForms": [
"Injection"
],
"updateDateFrom": "2026-01-01",
"updateDateTo": "2026-12-31"
}
],
"maxRecordsPerWatch": 3,
"maxChargeUsd": 3
}

Run the next report

Example 1: current injectable watch

{
"watches": [{
"id": "current-injectables",
"statuses": ["Current"],
"dosageForms": ["Injection"],
"updateDateFrom": "2026-01-01",
"updateDateTo": "2026-12-31"
}],
"monitorKey": "hospital-injectables",
"initialRunMode": "baseline_only",
"generateReport": true,
"emitUnchanged": false
}

Example 2: named product and manufacturer watch

{
"watches": [{
"id": "hydromorphone-hospira",
"genericNames": ["Hydromorphone Hydrochloride Injection"],
"companyNames": ["Hospira"],
"packageNdcs": ["0409-1805-01"]
}],
"monitorKey": "named-product-watch",
"initialRunMode": "emit_backfill",
"generateReport": true,
"emitExport": true,
"maxChargeUsd": 25
}

Example 3: availability and update watch

{
"watches": [{
"id": "limited-or-unavailable",
"availabilities": ["Limited Availability", "Unavailable"],
"updateTypes": ["New", "Revised"],
"therapeuticCategories": ["Cardiovascular"]
}],
"monitorKey": "availability-review",
"initialRunMode": "baseline_only",
"generateReport": true,
"emitExport": true
}

Outputs and pricing

The primary output is a descriptive change report. Raw records are optional and lower priced.

EventPriceWhat it contains
fda-shortage-row$0.005One normalized public shortage record
fda-shortage-change-alert$0.25One source-linked new or changed-record alert
fda-shortage-supply-report$10Aggregate report by status, availability, company, and generic name
fda-shortage-export$6Compact source-linked JSON export

The first baseline run and a later unchanged run emit zero rows and zero charge. A run fails closed if planned charges exceed maxChargeUsd, a configured event is unknown, delivery does not return charge proof, or state cannot be saved.

What the change types mean

  • shortage_record_added: a matching public record was not in the previous snapshot.
  • availability_changed: the public availability field changed.
  • status_changed: the public status field changed.
  • supply_update_changed: another tracked public update, date, presentation, or information field changed.

These are source changes, not conclusions about clinical care or future supply.

Compliance guardrails

  • Official https://api.fda.gov/drug/shortages.json only.
  • No login, browser automation, private FDA system, or bypass behavior.
  • The API key is optional and is never written to output, state, audit data, or source URLs.
  • Source contact fields are excluded from normalized output.
  • No replacement-drug suggestions, treatment directions, safety conclusions, causal conclusions, procurement recommendations, or patient-specific interpretations.
  • Verify the linked FDA record and consult qualified professionals before acting.

Integration

See docs/integration-guide.md for recurring state-safe runs, and docs/sample-output.json for the report/alert/export contract.

See also

The neighboring actor covers public device-clearance records. This Actor is limited to openFDA drug-shortage record changes.