# FDA Drug Shortages Lookup

> FDA Drug Shortages Lookup is a paid API for AI agents from www.x402pulse.dev, paid per call via x402, $0.0175/call, status unknown (last checked 2026-10-12).

Returns current FDA drug shortage information grouped by drug, including availability status, affected companies, dosage forms, shortage reasons, and estimated recovery notes.

## Facts

- Endpoint: GET https://www.x402pulse.dev/v1/health/drug-shortages?utm_source=zero.xyz
- Price: $0.0175/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fda-drug-shortages-lookup-9142b1a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RW0kyJ8au4xJyaTU8zgN7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fda-drug-shortages-lookup-9142b1a2
```

Example prompt: Can you check if amoxicillin is currently in shortage according to the FDA, and tell me why and which companies are affected?

## When to prefer this

Use this endpoint when you need real-time FDA drug shortage data for a specific medication or a broad list of current shortages, especially for hospital formulary management, pharmacy procurement decisions, or supply chain risk assessments. Prefer this over general web search when you need structured, filterable shortage data with reasons and recovery estimates directly from openFDA.

## Known failure modes

- Drug name not found — returns empty results if the queried drug has no shortage record
- Invalid status enum value — may return error or default behavior
- Limit parameter out of range (outside 1–50) — may be clamped or rejected
- openFDA upstream unavailability — endpoint may return 503 or timeout
- Resolved or discontinued shortages not returned if status filter defaults to 'current'

## How this service works

FDA drug shortages: which medicines are in shortage now, grouped by drug, with availability (unavailable or limited) per package, companies, dosage forms, shortage reasons, estimated recovery notes and posting dates. Search one drug or list current shortages. For hospitals, pharmacies and supply chains. openFDA data, not medical advice.

## Output

A structured list of drug shortage records grouped by drug name, each including availability status per package (unavailable or limited), affected companies, dosage forms, shortage reasons, estimated recovery notes, and FDA posting dates — sourced from openFDA data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "drug": {
       "type": "string",
       "description": "Drug brand or generic name"
      },
      "limit": {
       "type": "string",
       "description": "1 to 50"
      },
      "status": {
       "enum": [
        "current",
        "resolved",
        "discontinued",
        "all"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "drugs": [
    {
     "drug": "Amino Acid Injection",
     "packages": 4,
     "companies": [
      "Baxter Healthcare Corporation"
     ],
     "firstPosted": "2020-12-08",
     "lastUpdated": "2026-09-30",
     "availability": {
      "Limited": 2,
      "Unavailable": 2
     },
     "recoveryNotes": [
      "Estimated recovery: December 2026"
     ]
    }
   ],
   "query": "amino acid injection",
   "status": "current",
   "drugsFound": 1,
   "packagesFound": 4
  },
  "cached": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fda-drug-shortages-lookup-9142b1a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.x402pulse.dev](https://www.zero.xyz/host/www.x402pulse.dev/llms.txt)
