{"uid":"cap_2JqqAXok2ZqNl4bHIWRCP","slug":"fda-drug-shortages-lookup-653fedaf","name":"FDA Drug Shortages Lookup","description":"FDA drug shortage listings (openFDA): generic name, availability status (e.g. Available, Currently in Shortage), manufacturer, package NDC, posting dates and FDA contact number. Up to 10 listings per call.","url":"https://api.healthtravel-api.workers.dev/api/health/fda-drug-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"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"Generic drug name, letters and spaces, 2 to 60 characters"},"max":{"type":"string","description":"How many listings, 1 to 10 (default 5)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"query":"LIDOCAINE","total":89,"source":"https://api.fda.gov/drug/shortages.json","listings":[{"contact":"800-631-2174","brandName":"LIDOCAINE HYDROCHLORIDE","packageNdc":"0143-9594-25","updateType":"Reverified","genericName":"Lidocaine Hydrochloride Injection","availability":"Available","manufacturer":"Hikma Pharmaceuticals USA Inc.","initialPostingDate":"06/13/2018"},{"contact":"888-386-1300","brandName":"XYLOCAINE","packageNdc":"63323-481-57","updateType":"Reverified","genericName":"Epinephrine Bitartrate, Lidocaine Hydrochloride Injection","availability":"Unavailable","manufacturer":"Fresenius Kabi USA, LLC","initialPostingDate":"10/14/2016"}],"checkedAt":"2026-10-23T09:36:22.806Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mssCrcfvBiuunSfMUQTcP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current FDA drug shortage listings for a given generic drug name, including availability status, manufacturer, and contact info","exampleAgentPrompt":"Can you check the FDA drug shortage database for lidocaine and show me up to 5 listings, including which manufacturers have it available versus unavailable?","exampleUseCases":[{"title":"Hospital formulary shortage check","prompt":"We're reviewing our ICU formulary — can you look up current FDA shortage listings for propofol and show me up to 10 results, including who makes it and whether it's available?"},{"title":"Pharmacist drug availability alert","prompt":"Is there currently an FDA drug shortage for amoxicillin? Pull up the latest listings and tell me which manufacturers are affected and how to contact them."},{"title":"Patient medication sourcing research","prompt":"My doctor prescribed epinephrine injection but my pharmacy said it's hard to find. Can you check the FDA shortage database for epinephrine and see if there are active shortages listed?"}],"resultDescription":"A JSON object with the queried drug name, total number of shortage records found, the source FDA API URL, a timestamp of when the data was checked, and an array of listings each containing brand name, generic name, manufacturer, package NDC, availability status (Available/Unavailable), contact phone number, update type, and initial posting date.","failureModes":["Drug name not found in FDA shortage database — returns empty listings array with total of 0","Query string too short (under 2 chars) or too long (over 60 chars) — returns validation error","FDA upstream API unavailable — returns error or timeout","Invalid 'max' parameter outside range 1-10 — returns validation error","Misspelled drug name yields no results — caller should retry with corrected spelling"],"whenToPreferThis":"Use this endpoint when you need real-time FDA drug shortage data for a specific generic drug name, especially for clinical, formulary, or supply-chain decision support. Prefer this over general web searches when you need structured, authoritative shortage records with manufacturer contacts and NDC codes. It is particularly suited for healthcare AI agents that need pay-per-call, no-signup access to official FDA shortage data without managing API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:42:02.020Z","isFirstParty":false,"canonicalSlug":"fda-drug-shortages-lookup-653fedaf"}