Skip to main content
POST
Says whether the US Food and Drug Administration lists a drug as in shortage, matched by generic or brand name: each presentation’s status, availability, company, dosage form, package NDC, reason and dates. A drug that is not listed is not in shortage on this list, which says nothing about a particular pharmacy’s stock.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

string
required
The drug’s generic or brand name, for example quinapril or sodium chloride. 2 to 100 characters.
string
Only presentations with this status; all statuses when omitted. One of current, to_be_discontinued, resolved.
integer
The most presentations to return. From 1 to 25. Defaults to 10.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always product_drug_shortages
object
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always US Food and Drug Administration.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
number
How many presentations matched, including any beyond limit.
object[]
The matching presentations, most recently updated first.
string | null
The generic name, with the dosage form. null when the source gives no value.
string[]
The brand names.
string | null
The company that makes it. null when the source gives no value.
string | null
Current, To Be Discontinued or Resolved. null when the source gives no value.
string | null
Whether it is available, for example Unavailable or Limited Availability. null when the source gives no value.
string | null
The dosage form, for example Tablet. null when the source gives no value.
string | null
The strength and package. null when the source gives no value.
string | null
The package National Drug Code. null when the source gives no value.
string[]
The therapeutic categories.
string | null
Why it is short. Null when the source gives none. null when the source gives no value.
Related information from the source. null when the source gives no value.
string | null
The date it was first posted, YYYY-MM-DD. null when the source gives no value.
string | null
The date it was last updated, YYYY-MM-DD. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • A name of several words is matched as a phrase.
  • status narrows the list to current shortages, drugs to_be_discontinued or shortages that are resolved.
  • Each listed presentation gives the generic name, the brand names, the company, the status, whether it is available, the dosage form, the presentation and its package NDC, the therapeutic categories, the reason it is short, any related information and the dates it was first posted and last updated. Most recently updated first.
  • total is how many presentations matched, including any beyond limit, and is 0 when the drug is not on the list.
  • The source says its data must not be relied on for decisions about medical care.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}