Skip to main content
POST
/
api
/
openfda
/
drug
/
labels
/
search
/openfda/drug/labels/search
curl --request POST \
  --url https://api.anysite.io/api/openfda/drug/labels/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "aspirin headache",
  "brand_name": "Tylenol",
  "generic_name": "ibuprofen",
  "manufacturer_name": "Pfizer",
  "product_ndc": "15631-0404",
  "route": "ORAL",
  "unii": "ETJ7Z6XBU4",
  "rxcui": "198427",
  "effective_from": "<string>",
  "effective_to": "<string>"
}
'
[
  {
    "id": "<string>",
    "@type": "OpenfdaDrugLabel",
    "set_id": "<string>",
    "version": "<string>",
    "effective_at": 123,
    "indications_and_usage": [],
    "boxed_warning": [],
    "warnings": [],
    "warnings_and_cautions": [],
    "dosage_and_administration": [],
    "contraindications": [],
    "adverse_reactions": [],
    "drug_interactions": [],
    "active_ingredient": [],
    "inactive_ingredient": [],
    "purpose": [],
    "description": [],
    "clinical_pharmacology": [],
    "mechanism_of_action": [],
    "precautions": [],
    "general_precautions": [],
    "overdosage": [],
    "do_not_use": [],
    "ask_doctor": [],
    "when_using": [],
    "stop_use": [],
    "pregnancy": [],
    "pregnancy_or_breast_feeding": [],
    "nursing_mothers": [],
    "pediatric_use": [],
    "geriatric_use": [],
    "information_for_patients": [],
    "clinical_studies": [],
    "how_supplied": [],
    "keep_out_of_reach_of_children": [],
    "storage_and_handling": [],
    "questions": [],
    "spl_product_data_elements": [],
    "package_label_principal_display_panel": [],
    "openfda": {
      "@type": "OpenfdaBlock",
      "application_number": [],
      "brand_name": [],
      "generic_name": [],
      "manufacturer_name": [],
      "product_ndc": [],
      "package_ndc": [],
      "product_type": [],
      "route": [],
      "substance_name": [],
      "rxcui": [],
      "unii": [],
      "spl_id": [],
      "spl_set_id": [],
      "nui": [],
      "pharm_class_cs": [],
      "pharm_class_epc": [],
      "pharm_class_moa": [],
      "pharm_class_pe": [],
      "is_original_packager": [],
      "device_class": "<string>",
      "device_name": "<string>",
      "medical_specialty_description": "<string>",
      "regulation_number": "<string>",
      "fei_number": [],
      "registration_number": [],
      "k_number": [],
      "pma_number": []
    },
    "web_url": ""
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of drug labels to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keyword
string | null

Free-text query across all label text fields

Example:

"aspirin headache"

brand_name
string | null

Brand (proprietary) name

Example:

"Tylenol"

generic_name
string | null

Generic (non-proprietary) name

Example:

"ibuprofen"

manufacturer_name
string | null

Manufacturer / labeler name

Example:

"Pfizer"

product_ndc
string | null

Product NDC code

Example:

"15631-0404"

route
string | null

Route of administration

Example:

"ORAL"

product_type
enum<string> | null

Marketing product type

Available options:
HUMAN PRESCRIPTION DRUG,
HUMAN OTC DRUG,
NON-STANDARDIZED ALLERGENIC,
STANDARDIZED ALLERGENIC,
PLASMA DERIVATIVE,
VACCINE,
CELLULAR THERAPY
unii
string | null

FDA UNII substance identifier

Example:

"ETJ7Z6XBU4"

rxcui
string | null

RxNorm concept id (RxCUI)

Example:

"198427"

effective_from
string | null

Label effective date from (YYYY-MM-DD); requires effective_to

effective_to
string | null

Label effective date to (YYYY-MM-DD); requires effective_from

Response

Successful Response

id
string
required
@type
string
default:OpenfdaDrugLabel
set_id
string | null
version
string | null
effective_at
integer | null
indications_and_usage
string[]
boxed_warning
string[]
warnings
string[]
warnings_and_cautions
string[]
dosage_and_administration
string[]
contraindications
string[]
adverse_reactions
string[]
drug_interactions
string[]
active_ingredient
string[]
inactive_ingredient
string[]
purpose
string[]
description
string[]
clinical_pharmacology
string[]
mechanism_of_action
string[]
precautions
string[]
general_precautions
string[]
overdosage
string[]
do_not_use
string[]
ask_doctor
string[]
when_using
string[]
stop_use
string[]
pregnancy
string[]
pregnancy_or_breast_feeding
string[]
nursing_mothers
string[]
pediatric_use
string[]
geriatric_use
string[]
information_for_patients
string[]
clinical_studies
string[]
how_supplied
string[]
keep_out_of_reach_of_children
string[]
storage_and_handling
string[]
questions
string[]
spl_product_data_elements
string[]
package_label_principal_display_panel
string[]
openfda
object | null
web_url
string
default:""