Skip to main content
POST
/
api
/
openfda
/
device
/
events
/
search
/openfda/device/events/search
curl --request POST \
  --url https://api.anysite.io/api/openfda/device/events/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "fracture",
  "brand_name": "ORTHOFIX",
  "generic_name": "hospital bed",
  "manufacturer_name": "Medtronic",
  "product_code": "FNJ",
  "product_problem": true,
  "received_from": "<string>",
  "received_to": "<string>",
  "event_from": "<string>",
  "event_to": "<string>"
}
'
[
  {
    "report_number": "<string>",
    "@type": "OpenfdaDeviceEvent",
    "mdr_report_key": "<string>",
    "event_type": "<string>",
    "event_location": "<string>",
    "date_of_event_at": 123,
    "date_received_at": 123,
    "date_report_at": 123,
    "date_added_at": 123,
    "date_changed_at": 123,
    "date_report_to_fda_at": 123,
    "product_problem_flag": true,
    "adverse_event_flag": true,
    "report_source_code": "<string>",
    "source_type": [],
    "type_of_report": [],
    "reporter_occupation_code": "<string>",
    "manufacturer_name": "<string>",
    "pma_pmn_number": "<string>",
    "single_use_flag": true,
    "number_devices_in_event": "<string>",
    "number_patients_in_event": "<string>",
    "product_problems": [],
    "remedial_action": [],
    "devices": [],
    "patients": [],
    "mdr_texts": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of adverse-event 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 report fields

Example:

"fracture"

brand_name
string | null

Device brand name

Example:

"ORTHOFIX"

generic_name
string | null

Device generic name

Example:

"hospital bed"

manufacturer_name
string | null

Device manufacturer name

Example:

"Medtronic"

product_code
string | null

Device product code

Example:

"FNJ"

event_type
enum<string> | null

Adverse event type

Available options:
Injury,
Death,
Malfunction,
Other,
No answer provided
product_problem
boolean | null

Only reports flagged with a product problem

received_from
string | null

Date received from (YYYY-MM-DD); requires received_to

received_to
string | null

Date received to (YYYY-MM-DD); requires received_from

event_from
string | null

Date of event from (YYYY-MM-DD); requires event_to

event_to
string | null

Date of event to (YYYY-MM-DD); requires event_from

Response

Successful Response

report_number
string
required
@type
string
default:OpenfdaDeviceEvent
mdr_report_key
string | null
event_type
string | null
event_location
string | null
date_of_event_at
integer | null
date_received_at
integer | null
date_report_at
integer | null
date_added_at
integer | null
date_changed_at
integer | null
date_report_to_fda_at
integer | null
product_problem_flag
boolean | null
adverse_event_flag
boolean | null
report_source_code
string | null
source_type
string[]
type_of_report
string[]
reporter_occupation_code
string | null
manufacturer_name
string | null
pma_pmn_number
string | null
single_use_flag
boolean | null
number_devices_in_event
string | null
number_patients_in_event
string | null
product_problems
string[]
remedial_action
string[]
devices
object[]
patients
object[]
mdr_texts
object[]