Drug Shortages · Data API

United States Drug Shortages

Current and resolved shortages of prescription medicines in the United States.

Records of drug shortages reported to the US Food and Drug Administration, including the generic drug name, manufacturer, dosage form, presentation, shortage status, availability notes and reason for the shortage. Pharmacies, health-tech startups, supply-chain analysts and clinical AI agents use it to flag unavailable medicines and suggest alternatives.

Source: openFDA Drug Shortages · CC0 1.0 (US Government public domain) · Data from openFDA, U.S. Food and Drug Administration. FDA does not endorse this product.

Endpoints

Every request is authenticated with your X-API-Key and counted against your plan.

  • GET /v1/data/united-states-drug-shortages
  • GET /v1/data/united-states-drug-shortages/search?q=...
  • GET /v1/data/united-states-drug-shortages/{key}

Base path /v1/data/united-states-drug-shortages · full reference in the interactive docs. Also exposed as an MCP tool for AI agents.

Fields

FieldTypeDescription
package_ndcstrNational Drug Code of the affected package
generic_namestrGeneric (non-proprietary) drug name
proprietary_namestrBrand name, if any
company_namestrManufacturer or labeler
dosage_formstrDosage form, e.g. Injection, Tablet
presentationstrPackage presentation and strength description
statusstrShortage status, e.g. Current, Resolved, To Be Discontinued
availabilitystrAvailability notes from the manufacturer
shortage_reasonstrReason given for the shortage
related_infostrAdditional related information
initial_posting_datestrDate the shortage was first posted (MM/DD/YYYY)
update_datestrDate of the latest update (MM/DD/YYYY)

What you get

Current and resolved FDA-reported drug shortages
Search by generic drug name
Filter by status, dosage form and manufacturer
Lookup by National Drug Code
Shortage reasons and availability notes
Agent-ready MCP tool

FAQ

Where does the data come from?
The openFDA Drug Shortages endpoint, which mirrors the FDA drug shortage database.
Does it include patient data?
No. It only describes products and their supply status.
Can I use it commercially?
Yes. openFDA data is public domain, with a request not to imply FDA endorsement.

Pricing

Simple, transparent pricing

Start free, upgrade when you need more. All plans include full API access.

Free

$0forever

Get started and explore the API

100 requests/day
  • 100 API requests per day
  • All endpoints included
  • Community support
Most popular

Pro

$9/month

For production apps and AI agents

10,000 requests/day
  • 10,000 API requests per day
  • All endpoints included
  • Priority support
  • Usage dashboard

Enterprise

$49/month

Unlimited access for high-volume use

Unlimited requests
  • Unlimited API requests
  • All endpoints included
  • Priority support
  • Usage dashboard
  • Dedicated support channel

Getting Started

Start building in minutes

Register for a free API key, make your first request, and upgrade when you're ready.

1

Register

Create an account to get your API key. It's free — no credit card required.

curl -X POST https://api.aristocles.com.au/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "name": "Your Name"}'
2

Make a request

Use your API key in the X-API-Key header to authenticate requests.

curl https://api.aristocles.com.au/v1/data/asx \
  -H "X-API-Key: your_api_key_here"
3

Upgrade

Need more requests? Upgrade to Pro or Enterprise — you'll be redirected to Stripe Checkout.

curl -X POST "https://api.aristocles.com.au/v1/billing/checkout?tier=pro" \
  -H "X-API-Key: your_api_key_here"
4

Check usage

Monitor your daily request count and remaining quota at any time.

curl https://api.aristocles.com.au/v1/usage \
  -H "X-API-Key: your_api_key_here"