{"uid":"cap_5xe4UEdiY-D8qKGck5mBj","slug":"x402stock-fda-drug-shortages-8e1e2ed3","name":"x402stock FDA Drug Shortages","description":"Current and resolved US drug shortages from openFDA, newest update first. Optional `?company=Pfizer` narrows to one manufacturer (omit for market-wide); `?limit=` (max 100). Each carries the generic name, company, status, therapeutic category, dosage form, presentation, posting/update dates, and reason. A supply-side catalyst for generic makers. From x402stock","url":"https://x402stock.xyz/api/v1/fda/shortages?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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","$schema":"https://json-schema.org/draft/2020-12/schema","required":["limit"],"properties":{"limit":{"type":"integer","default":20,"maximum":100,"exclusiveMinimum":0},"company":{"type":"string","maxLength":120,"minLength":2}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["source","as_of","company","total_matched","count","shortages","attribution"],"properties":{"as_of":{"type":"string"},"count":{"type":"number"},"source":{"type":"string","const":"fda"},"company":{"anyOf":[{"type":"string"},{"type":"null"}]},"shortages":{"type":"array","items":{"type":"object","required":["generic_name","company_name","status","therapeutic_category","dosage_form","presentation","posted_date","updated_date","update_type","reason"],"properties":{"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"dosage_form":{"anyOf":[{"type":"string"},{"type":"null"}]},"posted_date":{"anyOf":[{"type":"string"},{"type":"null"}]},"update_type":{"anyOf":[{"type":"string"},{"type":"null"}]},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"generic_name":{"anyOf":[{"type":"string"},{"type":"null"}]},"presentation":{"anyOf":[{"type":"string"},{"type":"null"}]},"updated_date":{"anyOf":[{"type":"string"},{"type":"null"}]},"therapeutic_category":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}},"attribution":{"type":"string"},"total_matched":{"type":"number"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"as_of":"2026-06-18T12:00:00.000Z","count":1,"source":"fda","company":"Pfizer","shortages":[{"reason":"Discontinuation of the manufacture of the drug","status":"To Be Discontinued","dosage_form":"Injection","posted_date":"2026-06-01","update_type":"New","company_name":"Pfizer Inc.","generic_name":"Clindamycin Phosphate Injection","presentation":"Cleocin Phosphate, Injection, 600 mg/4 mL (150 mg/mL); 4 mL Vial","updated_date":"2026-06-01","therapeutic_category":["Anti-Infective"]}],"attribution":"Source: openFDA, U.S. Food and Drug Administration","total_matched":297}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eJQ0QhuYNGzffFwz24s7U","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves current FDA drug shortage data including generic name, company, status, dosage form, therapeutic category, and reason for shortage, optionally filtered by company name.","exampleAgentPrompt":"What drug shortages does Pfizer currently have listed with the FDA? Show me up to 50 results.","exampleUseCases":[{"title":"Monitor competitor drug supply disruptions","prompt":"Check what drugs Merck and Johnson & Johnson have in shortage right now. I need to know if any of their products are affecting our supply chain planning."},{"title":"Research anti-infective medication availability","prompt":"Show me all the antibiotics and antivirals currently in FDA shortage. I need to brief our hospital procurement team on alternative sourcing options."},{"title":"Track generic drug discontinuation trends","prompt":"Get me a list of generic medications that are currently in shortage or discontinued. We're looking for patterns in which therapeutic categories are being hit hardest."}],"resultDescription":"A JSON object containing the source ('fda'), an as_of timestamp, the company filter applied (or null), total_matched count, count of returned records, and an array of shortage records each with generic_name, company_name, status, dosage_form, presentation, therapeutic_category, posted_date, updated_date, update_type, reason, and an FDA attribution string.","failureModes":["No shortages found for the specified company — returns empty shortages array with total_matched of 0","Invalid limit value (<=0 or >100) — schema validation error","Company string too short (<2 chars) or too long (>120 chars) — schema validation error","Payment failure via x402/USDC — 402 Payment Required response","FDA upstream data unavailable — potential 503 or stale as_of timestamp"],"whenToPreferThis":"Use this endpoint when you need current FDA drug shortage data — especially when filtering by a specific pharmaceutical company — without needing an API key or subscription. Ideal for AI agents that need pay-per-use access to regulatory drug supply data, pharmaceutical research, or supply chain monitoring. Prefer over scraping the FDA website directly or using general web search when structured, machine-readable shortage data is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T06:48:09.779Z","isFirstParty":false,"canonicalSlug":"x402stock-fda-drug-shortages-8e1e2ed3"}