Fda Drug Approvals
fda_drug_approvalsFind FDA-approved drugs by brand name, active ingredient, or application number. To find generic versions of a drug, search by active ingredient using products.active_ingredients.name (NOT openfda.generic_name — that field only works in the label endpoint). IMPORTANT: drug names in the FDA database are stored in UPPERCASE — always pass ingredient and brand names in uppercase (e.g. "APIXABAN" not "apixaban") or you will get 0 results. Returns approval status, sponsor, application number (ANDA = generic, NDA = brand), and application details. There is NO queryable "application_type" field — never add application_type:"ANDA" (it returns 0 results). To limit to generics, search by active ingredient and read the ANDA/NDA prefix on application_number in the results. This endpoint has NO indication/disease field — for "drugs approved to treat " use fda_drug_labels (which searches indications_and_usage); an indication phrase passed here is silently ignored and matches by drug name only. The response total can exceed the 100-row cap on a single page — use skip to page past it, and sort to get genuinely-newest-first ordering ("most recently approved" is not the default order).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Offset for pagination (default 0). The reported `total` is often larger than one page — pass skip=100 to reach the 101st+ result of a large query instead of assuming the first page is everything. | |
| sort | No | Order results by each drug's original FDA approval date instead of openFDA's default (unordered/relevance) order. approval_date_desc puts the genuinely most-recently-approved drug first — needed for "most recent approval" questions, which are wrong without it. Computed client-side from each record's own ORIG+approved submission (openFDA's native sort on this field is unreliable — it reads any submission in a drug's history, so an old drug with a recent label supplement can outrank a real new approval). Sorting is exact over up to 1000 matching records per call; a `sort_note` in the response says if the query matched more than that. | |
| limit | No | Number of results (1-100, default 10) | |
| query | Yes | OpenFDA drugsfda search query. Drug names MUST be UPPERCASE in quotes. To find all generics for a drug: 'products.active_ingredients.name:"APIXABAN"' (returns all ANDA + NDA approvals). By brand: 'openfda.brand_name:"KEYTRUDA"'. By original submission: 'submissions.submission_type:"ORIG"'. Do NOT use application_type (no such field — returns 0); ANDA vs NDA is read from the application_number prefix in the results, not filtered in the query. NOTE: use products.active_ingredients.name (not openfda.generic_name which is a label-API field and returns 0 here). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Total count of matching FDA-approved drugs | |
| results | Yes | Array of drug approval objects |