---
title: "openFDA API: drug labels, adverse event reports as JSON"
description: "openFDA API for drug labels, adverse event reports, drug approvals, NDC codes, 510(k) clearances and recalls as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/openfda
---

[APIs](https://perceptlayer.com/apis) / [Search engines](https://perceptlayer.com/verticals/search) / openFDA

1 credit per call 6 endpoints 22 datapoints 

# openFDA API

openFDA API for drug labels, adverse event reports, drug approvals, NDC codes, 510(k) clearances and recalls as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

openFDA

GET /v1/openfda/drug-labels?name=advil&limit=3 

```
{
  "success": true,
  "data": {
    "total": 39,
    "page": 1,
    "skip": 0,
    "has_more": true,
    "count": 3,
    "items": [
      {
        "set_id": "030d9bca-a934-6ef9-e063-6394a90a8277",
        "id": "44e71018-211d-caf8-e063-6394a90a06c9",
        "version": "4",
        "effective_date": "2025-12-01",
        "brand_names": [
          "Advil Dual Action with Acetaminophen, Travel BASIX",
          "Advil Dual Action with Acetaminophen"
        ],
        "generic_names": [
          "IBUPROFEN, ACETAMINOPHEN TABLET, FILM COATED"
        ],
        "manufacturer": "Lil' Drug Store Products, Inc.",
        "product_type": "HUMAN OTC DRUG",
        "routes": [
          "ORAL"
        ],
        "substances": [
          "IBUPROFEN",
          "ACETAMINOPHEN"
        ],
        "application_numbers": [
          "NDA211733"
        ],
        "product_ndcs": [
          "66715-6401",
          "66715-9601"
        ],
        "pharm_classes": [
          "Nonsteroidal Anti-inflammatory Drug [EPC]",
          "Cyclooxygenase Inhibitors [MoA]"
        ],
        "indications_and_usage": "Uses temporarily relieves minor aches and pains due to: headache toothache backache menstrual cramps muscular aches minor pain of arthritis",
        "purpose": "Purposes Pain reliever Pain reliever",
        "active_ingredient": "Active ingredients Acetaminophen 250 mg Ibuprofen 125 mg (NSAID*) *nonsteroidal anti-inflammatory drug",
        "dosage_and_administration": "Directions Do not take more than directed adults and children 12 years and over take 2 caplets every 8 hours while symptoms persist children under 12 years ask a doctor do not take more than 6 caplets in 24 hours, unless directed by a docto…",
        "warnings": "Warnings Acetaminophen liver damage warning Acetaminophen liver damage warning: This product contains acetaminophen. Severe liver damage may occur if you take: with other drugs containing acetaminophen more than 6 caplets in 24 hours, which…",
        "do_not_use": "Do not use with any other drug containing acetaminophen (prescription or nonprescription). If you are not sure whether a drug contains acetaminophen, ask a doctor or pharmacist if you have ever had an allergic reaction to acetaminophen or a…",
        "pregnancy": "If pregnant or breast-feeding If pregnant or breast-feeding, ask a health professional before use. It is especially important not to use ibuprofen at 20 weeks or later in pregnancy unless definitely directed to do so by a doctor because it …",
        "inactive_ingredient": "Inactive ingredients carnauba wax, colloidal silicon dioxide, croscarmellose sodium, ferric oxides, glyceryl dibehenate, hypromellose, pharmaceutical ink, polydextrose, polyethylene glycol, pregelatinized starch, titanium dioxide",
        "url": "https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=030d9bca-a934-6ef9-e063-6394a90a8277"
      },
      {
        "set_id": "07d4c400-b182-92f7-7574-9e0e94c39cce",
        "id": "60e9724f-3733-45d1-989d-8ee434e91dc0",
        "version": "9",
        "effective_date": "2025-06-27",
        "brand_names": [
          "JUNIOR STRENGTH ADVIL"
        ],
        "generic_names": [
          "IBUPROFEN"
        ],
        "manufacturer": "Haleon US Holdings LLC",
        "product_type": "HUMAN OTC DRUG",
        "routes": [
          "ORAL"
        ],
        "substances": [
          "IBUPROFEN"
        ],
        "application_numbers": [
          "NDA020944"
        ],
        "product_ndcs": [
          "0573-0179"
        ],
        "pharm_classes": [
          "Nonsteroidal Anti-inflammatory Drug [EPC]",
          "Cyclooxygenase Inhibitors [MoA]"
        ],
        "indications_and_usage": "USES temporarily: • reduces fever • relieves minor aches and pains due to the common cold, flu, sore throat, headaches and toothaches",
        "purpose": "PURPOSE Fever reducer/Pain reliever",
        "active_ingredient": "ACTIVE INGREDIENT (IN EACH TABLET) Ibuprofen 100 mg (NSAID)* *nonsteroidal anti-inflammatory drug",
        "dosage_and_administration": "DIRECTIONS • this product does not contain directions or complete warnings for adult use • do not give more than directed • find right dose on chart. If possible, use weight to dose; otherwise use age. • repeat dose every 6-8 hours , if nee…",
        "warnings": "WARNINGS Allergy alert: Ibuprofen may cause a severe allergic reaction, especially in people allergic to aspirin. Symptoms may include: • hives • facial swelling • asthma (wheezing) • shock • skin reddening • rash • blisters If an allergic …",
        "do_not_use": "Do not use • if the child has ever had an allergic reaction to any other pain reliever/fever reducer • right before or after heart surgery",
        "inactive_ingredient": "INACTIVE INGREDIENTS aspartame, cellacefate, colloidal silicon dioxide, D&C red no. 30 aluminum lake, FD&C blue no. 2 aluminum lake, gelatin, magnesium stearate, mannitol, microcrystalline cellulose, modified corn starch, natural and artifi…",
        "url": "https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=07d4c400-b182-92f7-7574-9e0e94c39cce"
      },
      {
        "set_id": "0da9ed22-bfb4-d61b-110b-0c7760332a98",
        "id": "57c53749-0be1-d204-e063-6394a90a2704",
        "version": "14",
        "effective_date": "2026-07-29",
        "brand_names": [
          "ADVIL COLD AND SINUS"
        ],
        "generic_names": [
          "IBUPROFEN, PSEUDOEPHEDRINE HYDROCHLORIDE"
        ],
        "manufacturer": "Haleon US Holdings LLC",
        "product_type": "HUMAN OTC DRUG",
        "routes": [
          "ORAL"
        ],
        "substances": [
          "IBUPROFEN",
          "PSEUDOEPHEDRINE HYDROCHLORIDE"
        ],
        "application_numbers": [
          "NDA021374"
        ],
        "product_ndcs": [
          "0573-0184"
        ],
        "pharm_classes": [
          "Nonsteroidal Anti-inflammatory Drug [EPC]",
          "Cyclooxygenase Inhibitors [MoA]"
        ],
        "indications_and_usage": "Uses temporarily relieves these symptoms associated with the common cold or flu: headache fever sinus pressure nasal congestion minor body aches and pains",
        "purpose": "Purposes Pain reliever/fever reducer Nasal decongestant",
        "active_ingredient": "Active ingredients (in each liquid-filled capsule) Solubilized ibuprofen equal to 200 mg ibuprofen (NSAID)* (present as the free acid and potassium salt) Pseudoephedrine HCl 30 mg *nonsteroidal anti-inflammatory drug",
        "dosage_and_administration": "Directions do not take more than directed the smallest effective dose should be used adults and children 12 years of age and over: take 1 capsule every 4 to 6 hours while symptoms persist. If symptoms do not respond to 1 capsule, 2 capsules…",
        "warnings": "Warnings Allergy alert: Ibuprofen may cause a severe allergic reaction, especially in people allergic to aspirin. Symptoms may include: hives facial swelling asthma (wheezing) shock skin reddening rash blisters If an allergic reaction occur…",
        "do_not_use": "Do not use in children under 12 years of age if you have ever had an allergic reaction to any other pain reliever/fever reducer right before or after heart surgery if you are now taking a prescription monoamine oxidase inhibitor (MAOI) (cer…",
        "pregnancy": "If pregnant or breast-feeding, ask a health professional before use. It is especially important not to use ibuprofen at 20 weeks or later in pregnancy unless definitely directed to do so by a doctor because it may cause problems in the unbo…",
        "inactive_ingredient": "Inactive ingredients D&C yellow no. 10, FD&C red no. 40, gelatin, medium-chain triglycerides, pharmaceutical ink, polyethylene glycol, potassium hydroxide, purified water, sorbitol sorbitan solution",
        "url": "https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=0da9ed22-bfb4-d61b-110b-0c7760332a98"
      }
    ]
  },
  "meta": {
    "request_id": "req_80ec9234e485433690ef22fbdfca454d",
    "credits_charged": 1,
    "credits_remaining": 196
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `drug-labels`: the fields and shapes you will get, shortened to 3 items.

| # | set\_id string | id string | version string | effective\_date string | brand\_names string\[\] | generic\_names string\[\] | manufacturer string | product\_type string | routes string\[\] | substances string\[\] | application\_numbers string\[\] | product\_ndcs string\[\] | pharm\_classes string\[\] | indications\_and\_usage string | purpose string | active\_ingredient string | dosage\_and\_administration string | warnings string | do\_not\_use string | pregnancy string | inactive\_ingredient string | url url |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 030d9bca-a934-6ef9-e063-6394a90a8277 | 44e71018-211d-caf8-e063-6394a90a06c9 | 4 | 2025-12-01 | \[2 items\] | \[1 item\] | Lil' Drug Store Products, Inc. | HUMAN OTC DRUG | \[1 item\] | \[2 items\] | \[1 item\] | \[2 items\] | \[2 items\] | Uses temporarily relieves minor aches and pains due to: headache toothache backache menstrual cramps muscular aches minor pain of arthritis | Purposes Pain reliever Pain reliever | Active ingredients Acetaminophen 250 mg Ibuprofen 125 mg (NSAID\*) \*nonsteroidal anti-inflammatory drug | Directions Do not take more than directed adults and children 12 years and over take 2 caplets every 8 hours while symptoms persist children under 12 years ask a doctor do not take more than 6 caplets in 24 hours, unless directed by a docto… | Warnings Acetaminophen liver damage warning Acetaminophen liver damage warning: This product contains acetaminophen. Severe liver damage may occur if you take: with other drugs containing acetaminophen more than 6 caplets in 24 hours, which… | Do not use with any other drug containing acetaminophen (prescription or nonprescription). If you are not sure whether a drug contains acetaminophen, ask a doctor or pharmacist if you have ever had an allergic reaction to acetaminophen or a… | If pregnant or breast-feeding If pregnant or breast-feeding, ask a health professional before use. It is especially important not to use ibuprofen at 20 weeks or later in pregnancy unless definitely directed to do so by a doctor because it … | Inactive ingredients carnauba wax, colloidal silicon dioxide, croscarmellose sodium, ferric oxides, glyceryl dibehenate, hypromellose, pharmaceutical ink, polydextrose, polyethylene glycol, pregelatinized starch, titanium dioxide | https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=030d9bca-a934-6ef9-e063-6394a90a8277 |
| 2 | 07d4c400-b182-92f7-7574-9e0e94c39cce | 60e9724f-3733-45d1-989d-8ee434e91dc0 | 9 | 2025-06-27 | \[1 item\] | \[1 item\] | Haleon US Holdings LLC | HUMAN OTC DRUG | \[1 item\] | \[1 item\] | \[1 item\] | \[1 item\] | \[2 items\] | USES temporarily: • reduces fever • relieves minor aches and pains due to the common cold, flu, sore throat, headaches and toothaches | PURPOSE Fever reducer/Pain reliever | ACTIVE INGREDIENT (IN EACH TABLET) Ibuprofen 100 mg (NSAID)\* \*nonsteroidal anti-inflammatory drug | DIRECTIONS • this product does not contain directions or complete warnings for adult use • do not give more than directed • find right dose on chart. If possible, use weight to dose; otherwise use age. • repeat dose every 6-8 hours , if nee… | WARNINGS Allergy alert: Ibuprofen may cause a severe allergic reaction, especially in people allergic to aspirin. Symptoms may include: • hives • facial swelling • asthma (wheezing) • shock • skin reddening • rash • blisters If an allergic … | Do not use • if the child has ever had an allergic reaction to any other pain reliever/fever reducer • right before or after heart surgery | — | INACTIVE INGREDIENTS aspartame, cellacefate, colloidal silicon dioxide, D&C red no. 30 aluminum lake, FD&C blue no. 2 aluminum lake, gelatin, magnesium stearate, mannitol, microcrystalline cellulose, modified corn starch, natural and artifi… | https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=07d4c400-b182-92f7-7574-9e0e94c39cce |
| 3 | 0da9ed22-bfb4-d61b-110b-0c7760332a98 | 57c53749-0be1-d204-e063-6394a90a2704 | 14 | 2026-07-29 | \[1 item\] | \[1 item\] | Haleon US Holdings LLC | HUMAN OTC DRUG | \[1 item\] | \[2 items\] | \[1 item\] | \[1 item\] | \[2 items\] | Uses temporarily relieves these symptoms associated with the common cold or flu: headache fever sinus pressure nasal congestion minor body aches and pains | Purposes Pain reliever/fever reducer Nasal decongestant | Active ingredients (in each liquid-filled capsule) Solubilized ibuprofen equal to 200 mg ibuprofen (NSAID)\* (present as the free acid and potassium salt) Pseudoephedrine HCl 30 mg \*nonsteroidal anti-inflammatory drug | Directions do not take more than directed the smallest effective dose should be used adults and children 12 years of age and over: take 1 capsule every 4 to 6 hours while symptoms persist. If symptoms do not respond to 1 capsule, 2 capsules… | Warnings Allergy alert: Ibuprofen may cause a severe allergic reaction, especially in people allergic to aspirin. Symptoms may include: hives facial swelling asthma (wheezing) shock skin reddening rash blisters If an allergic reaction occur… | Do not use in children under 12 years of age if you have ever had an allergic reaction to any other pain reliever/fever reducer right before or after heart surgery if you are now taking a prescription monoamine oxidase inhibitor (MAOI) (cer… | If pregnant or breast-feeding, ask a health professional before use. It is especially important not to use ibuprofen at 20 weeks or later in pregnancy unless definitely directed to do so by a doctor because it may cause problems in the unbo… | Inactive ingredients D&C yellow no. 10, FD&C red no. 40, gelatin, medium-chain triglycerides, pharmaceutical ink, polyethylene glycol, potassium hydroxide, purified water, sorbitol sorbitan solution | https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=0da9ed22-bfb4-d61b-110b-0c7760332a98 |

Recorded from our API · 3 items shown · 22 datapoints per item GET /v1/openfda/drug-labels?name=advil&limit=3

22 datapoints

### Identity

-   set\_id string
-   id string
-   brand\_names string\[\]
-   generic\_names string\[\]
-   product\_type string

### Contact

-   url url

### Other

-   version string
-   effective\_date string
-   manufacturer string
-   routes string\[\]
-   substances string\[\]
-   application\_numbers string\[\]
-   product\_ndcs string\[\]
-   pharm\_classes string\[\]
-   indications\_and\_usage string
-   purpose string
-   active\_ingredient string
-   dosage\_and\_administration string
-   warnings string
-   do\_not\_use string
-   pregnancy string
-   inactive\_ingredient string

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/openfda/drug-labels?name=advil&limit=3" \
  -H "X-API-Key: $API_KEY"
```

openFDA · 6 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/openfda/device-510k`](https://perceptlayer.com/apis/openfda/device-510k) | none +6 optional | `k_number` `device_name` `applicant` `contact` `city` `country` +14 more | 1 credit |
| [GET `/v1/openfda/drug-adverse-events`](https://perceptlayer.com/apis/openfda/drug-adverse-events) | none +6 optional | `report_id` `received_date` `serious` `seriousness` `country` `reporter` +4 more | 1 credit |
| [GET `/v1/openfda/drug-approvals`](https://perceptlayer.com/apis/openfda/drug-approvals) | none +6 optional | `application_number` `sponsor` `brand_names` `generic_names` `manufacturer` `approval_date` +3 more | 1 credit |
| [GET `/v1/openfda/drug-labels`](https://perceptlayer.com/apis/openfda/drug-labels) | none +4 optional | `set_id` `id` `version` `effective_date` `brand_names` `generic_names` +16 more | 1 credit |
| [GET `/v1/openfda/drug-ndc`](https://perceptlayer.com/apis/openfda/drug-ndc) | none +5 optional | `product_ndc` `brand_name` `generic_name` `labeler` `product_type` `dosage_form` +9 more | 1 credit |
| [GET `/v1/openfda/recalls`](https://perceptlayer.com/apis/openfda/recalls) | none +7 optional | `recall_number` `event_id` `product_type` `classification` `status` `product_description` +12 more | 1 credit |

Overview

## About the openFDA API

## What you can get

The openFDA API returns U.S. Food and Drug Administration data as JSON through 6 endpoints. Each one takes `limit` (1 to 100, default 10), `skip` (0 to 25,000) and an optional `search`, an openFDA search expression combined with the other filters by AND.

-   **Drug labels:** `drug-labels` takes a brand or generic `name`. Long label sections are cut to 2,000 characters.
-   **Adverse events:** `drug-adverse-events` takes a `drug`, a `reaction` (a MedDRA term) and `serious` (true or false).
-   **Drug approvals:** `drug-approvals` takes a `name`, a `sponsor` or an `application_number` (NDA, ANDA or BLA).
-   **NDC directory:** `drug-ndc` takes a product or package `ndc` with hyphens, or a `name`.
-   **510(k) clearances:** `device-510k` takes a `device` name, an `applicant` or a `k_number`.
-   **Recalls:** `recalls` takes a `category` (drug, device or food), with `query`, `firm` and `classification` (I, II or III).

The recorded `drug-adverse-events` call for serious ibuprofen reports found 192,241, each with `report_id`, `received_date`, `seriousness` (death, life\_threatening, hospitalization, disabling, congenital\_anomaly, other), `country`, `reporter`, a `patient` with `sex` and `age`, `reactions` with `term` and `outcome`, and `drugs` with `name`, `role` (suspect or concomitant), `active_substance`, `indication` and `dosage`. The recorded food recall search for "listeria" in Class I found 6,149 reports, each with `recall_number`, `classification`, `status`, `product_description`, `reason`, `product_quantity`, `distribution`, `firm` and the initiated, classified and report dates. The `drug-ndc` lookup for 0573-0164 returned ADVIL PM with its `active_ingredients` (ibuprofen 200 mg/1, diphenhydramine citrate 38 mg/1) and `packages`.

## How a call works

Search by name: `GET /v1/openfda/drug-labels?name=advil&limit=5` with your key in the `X-API-Key` header returned 39 labels in the recording, each with `set_id`, `brand_names`, `manufacturer`, `substances`, `product_ndcs`, `pharm_classes` and sections such as `indications_and_usage`, `warnings` and `dosage_and_administration`. Page with `skip` while `has_more` is true. A lookup by NDC, K number or application number answers 404 when nothing has it. Answers come from a cache for up to 6 hours. Every successful call costs 1 credit; failed calls cost nothing.

Search engines JSON REST MCP

### More search engines APIs

[Apple Maps](https://perceptlayer.com/apis/apple-maps) [Baidu](https://perceptlayer.com/apis/baidu) [Bing](https://perceptlayer.com/apis/bing) [Brave Search](https://perceptlayer.com/apis/brave) [DuckDuckGo](https://perceptlayer.com/apis/duckduckgo) [Google Events](https://perceptlayer.com/apis/google-events) [Google Finance](https://perceptlayer.com/apis/google-finance) [Google Forums](https://perceptlayer.com/apis/google-forums) [Google Images](https://perceptlayer.com/apis/google-images) [Google Lens](https://perceptlayer.com/apis/google-lens) [Google Local](https://perceptlayer.com/apis/google-local) [Google Local Services](https://perceptlayer.com/apis/google-local-services)

Use cases

### Let a pharmacy or health-content agent quote the warnings section of a drug label

`Use the openFDA API to let a pharmacy or health-content agent quote the warnings section of a drug label` 

### Count serious adverse event reports that name a drug, by reaction

`Use the openFDA API to count serious adverse event reports that name a drug, by reaction` 

### Track new Class I food recalls for an ingredient such as listeria

`Use the openFDA API to track new Class I food recalls for an ingredient such as listeria` 

### Map an NDC from a claims file to its labeler, dosage form and strengths

`Use the openFDA API to map an NDC from a claims file to its labeler, dosage form and strengths` 

FAQ

## Questions

**Is this the official openFDA API?**

No. Perceptlayer is an independent service and is not affiliated with the FDA. openFDA is free to call directly, with its own request limits per IP and per key. This API calls openFDA on your behalf and adds one key for every source on Perceptlayer, flattened records in one response shape, a cache of up to 6 hours, and no charge for failed calls.

**Can I use the results for medical decisions?**

No. openFDA marks its results as unvalidated and says not to rely on them for medical decisions. Adverse event reports, for example, record what was reported, not a proven cause.

**Where does the data come from?**

Data provided by the U.S. Food and Drug Administration (https://open.fda.gov). The data is public domain.

**What does \`drug-approvals\` return?**

The recorded call for "lipitor" returned application NDA020702, approved on 1996-12-17, with its \`sponsor\`, \`products\` (dosage form, route, \`marketing\_status\`, \`te\_code\`) and \`submissions\` with their status dates and review documents. That application had 56 submissions.

**Should I build an openFDA scraper instead?**

You can, but an openFDA scraper is code you maintain: page changes break it, requests get blocked, and openFDA's terms govern how you collect data. The openFDA API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the openFDA API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
