# FDA Drug Shortage Lookup

> FDA Drug Shortage Lookup is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-15).

Returns current FDA drug shortage records for a given generic drug name, including status, therapeutic category, dosage form, company, and dates.

## Facts

- Endpoint: GET https://payai.agentstools.dev/drug/shortages
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fda-drug-shortage-lookup-cf70c13a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ziv3T9PoljmIQFGXZUFhm

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-shortage-lookup-cf70c13a
```

Example prompt: Can you check if there's currently an FDA shortage for amoxicillin? I need to know the status, which companies are affected, what dosage forms are impacted, and when the shortage was reported.

## When to prefer this

Use this endpoint when you need real-time FDA drug shortage status for a specific generic drug — for example, to inform procurement decisions, alert healthcare providers, or verify supply chain risks. Prefer this over general drug databases when the specific need is shortage tracking and FDA-sourced status.

## Known failure modes

- Drug name not found in FDA shortage database — returns empty list or no results
- Misspelled or brand-name drug name provided — may return no results (requires generic name)
- FDA data source temporarily unavailable — upstream service error
- Rate limiting or payment failure via x402 protocol

## How this service works

Current FDA drug-shortage records for a generic drug name: status, therapeutic category, dosage form, company and dates. Informational, not medical advice.

## Output

A list of current FDA drug shortage records for the queried generic drug name, each containing shortage status (e.g. active, resolved), therapeutic category, dosage form, the company reporting the shortage, and relevant dates (e.g. start date, resolution date). Returns informational data only, not medical advice.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "drug"
     ],
     "properties": {
      "drug": {
       "type": "string",
       "description": "Generic drug name to check for FDA shortages"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

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