Skip to main content
POST
/
api
/
openfda
/
drug
/
events
/openfda/drug/events
curl --request POST \
  --url https://api.anysite.io/api/openfda/drug/events \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "id": "<string>",
  "timeout": 300
}
'
[
  {
    "safetyreportid": "<string>",
    "@type": "OpenfdaDrugEvent",
    "safetyreportversion": "<string>",
    "serious": false,
    "seriousness": [],
    "received_at": 123,
    "receipt_at": 123,
    "transmission_at": 123,
    "report_type": "<string>",
    "fulfill_expedite_criteria": "<string>",
    "company_number": "<string>",
    "occur_country": "<string>",
    "primary_source_country": "<string>",
    "reporter_country": "<string>",
    "reporter_qualification": "<string>",
    "sender_organization": "<string>",
    "patient": {
      "@type": "OpenfdaEventPatient",
      "onset_age": "<string>",
      "onset_age_unit": "<string>",
      "sex": "<string>",
      "weight": "<string>",
      "reactions": [],
      "drugs": []
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
id
string
required

FAERS safety report id

Minimum string length: 1
Examples:

"5801206-7"

"10003300"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

safetyreportid
string
required
@type
string
default:OpenfdaDrugEvent
safetyreportversion
string | null
serious
boolean
default:false
seriousness
string[]
received_at
integer | null
receipt_at
integer | null
transmission_at
integer | null
report_type
string | null
fulfill_expedite_criteria
string | null
company_number
string | null
occur_country
string | null
primary_source_country
string | null
reporter_country
string | null
reporter_qualification
string | null
sender_organization
string | null
patient
object | null