Skip to main content
POST
/
api
/
openfda
/
drug
/
enforcement
/
search
/openfda/drug/enforcement/search
curl --request POST \
  --url https://api.anysite.io/api/openfda/drug/enforcement/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "sterility",
  "recalling_firm": "Albek De Mexico",
  "product_description": "hand sanitizer",
  "reason_for_recall": "contamination",
  "state": "IL",
  "country": "United States",
  "initiation_from": "<string>",
  "initiation_to": "<string>",
  "report_from": "<string>",
  "report_to": "<string>"
}
'
[
  {
    "recall_number": "<string>",
    "@type": "OpenfdaDrugEnforcement",
    "event_id": "<string>",
    "status": "<string>",
    "classification": "<string>",
    "product_type": "<string>",
    "recalling_firm": "<string>",
    "address_1": "<string>",
    "address_2": "<string>",
    "city": "<string>",
    "state": "<string>",
    "postal_code": "<string>",
    "country": "<string>",
    "voluntary_mandated": "<string>",
    "initial_firm_notification": "<string>",
    "distribution_pattern": "<string>",
    "product_description": "<string>",
    "product_quantity": "<string>",
    "reason_for_recall": "<string>",
    "code_info": "<string>",
    "recall_initiation_at": 123,
    "center_classification_at": 123,
    "report_at": 123,
    "termination_at": 123,
    "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": []
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of recall reports 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 recall fields

Example:

"sterility"

recalling_firm
string | null

Recalling firm name

Example:

"Albek De Mexico"

classification
enum<string> | null

Recall classification

Available options:
Class I,
Class II,
Class III
status
enum<string> | null

Recall status

Available options:
Ongoing,
Completed,
Terminated,
Pending
product_description
string | null

Text in the recalled product description

Example:

"hand sanitizer"

reason_for_recall
string | null

Text in the reason for recall

Example:

"contamination"

state
string | null

Recalling firm US state code

Example:

"IL"

country
string | null

Recalling firm country

Example:

"United States"

voluntary_mandated
enum<string> | null

Whether the recall was voluntary or FDA mandated

Available options:
Voluntary: Firm initiated,
FDA Mandated
initiation_from
string | null

Recall initiation date from (YYYY-MM-DD); requires initiation_to

initiation_to
string | null

Recall initiation date to (YYYY-MM-DD); requires initiation_from

report_from
string | null

Report date from (YYYY-MM-DD); requires report_to

report_to
string | null

Report date to (YYYY-MM-DD); requires report_from

Response

Successful Response

recall_number
string
required
@type
string
default:OpenfdaDrugEnforcement
event_id
string | null
status
string | null
classification
string | null
product_type
string | null
recalling_firm
string | null
address_1
string | null
address_2
string | null
city
string | null
state
string | null
postal_code
string | null
country
string | null
voluntary_mandated
string | null
initial_firm_notification
string | null
distribution_pattern
string | null
product_description
string | null
product_quantity
string | null
reason_for_recall
string | null
code_info
string | null
recall_initiation_at
integer | null
center_classification_at
integer | null
report_at
integer | null
termination_at
integer | null
openfda
object | null