Pushbuild

openFDA API - Drug & Device Recalls, Adverse Events, Labels

Search official FDA data: drug approvals (Drugs@FDA), drug, device and food recalls, drug and device adverse event reports, drug labels and the NDC directory. Filter by product, company and date, or get counts such as the top reported reactions for a drug.

$0.40 per 1,000 records

Get an API key

What it returns

Official FDA data as clean, flattened JSON.

Common uses

Pharmacovigilance, recall monitoring, competitive intelligence, compliance and med-tech sales research. Pay per record.

Request

POST https://api.pushbuild.com/openfda/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
datasetstring: drugRecalls, deviceRecalls, foodRecalls, drugAdverseEvents, deviceAdverseEvents, drugLabels, ndcDirectory, drugApprovalsWhich FDA dataset to search. Default: "drugRecalls".
productstringDrug, device or product name.
companystringRecalling firm, manufacturer or labeler.
dateFromstringYYYY-MM-DD.
dateTostringYYYY-MM-DD.
recallClassstring: , Class I, Class II, Class IIIRecalls only. Default: "".
countBystring"default" for a sensible count per dataset (e.g. top reactions for a drug), or any openFDA .exact field. Leave empty to list records.
rawSearchstringAdvanced: an openFDA search expression; overrides the fields above.
sortstring: newest, relevanceOrder of records. Default: "newest".
maxResultsintegerRecords (or count rows) to return. Default: 100.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/openfda/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product": "metformin", "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.40 per 1,000 records. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.