OpenFDA API
Provides access to FDA datasets including drug adverse event reports (FAERS), drug labeling, drug NDC directory, medical device reports, food enforcement actions, and recalls via an Elasticsearch-powered REST API.
Score Breakdown
⚙ Agent Friendliness
🔒 Security
HTTPS enforced. API key passed as query parameter is a weak pattern (logged in URLs). No scopes — key grants full access. Public read-only FDA data. No official SDK, so dependency hygiene is user-managed.
⚡ Reliability
Best When
An agent needs to surface FDA-sourced drug safety, labeling, or enforcement data for regulatory research or pharmacovigilance.
Avoid When
You need real-time data freshness, clinical trial enrollment, or patient-level prescription information.
Use Cases
- • Querying adverse event reports for specific drugs or drug classes
- • Retrieving structured drug label information (indications, warnings, dosing)
- • Monitoring FDA drug and device recalls and enforcement actions
- • Pharmacovigilance signal detection and safety research
- • Building regulatory compliance tools that surface label and approval data
Not For
- • Clinical trial data (use ClinicalTrials.gov API instead)
- • Real-time safety alerts (FDA MedWatch is not real-time via API)
- • Prescription or dispensing data at patient level
Interface
Authentication
No API key required for basic access (240 requests/minute). Free API key available for higher rate limits (240 req/min without key vs 1000 req/min with key). Key is a simple query parameter — no OAuth or token exchange.
Pricing
Entirely free government API. API key registration is free, voluntary, and increases rate limits. No paid tiers exist.
Agent Metadata
Known Gotchas
- ⚠ Elasticsearch query syntax (search[field]:value, count[field].exact) is non-standard and takes effort to learn
- ⚠ Results max at 1000 per request; total results may be much larger but deep pagination not supported
- ⚠ Drug name matching is inconsistent — brand names, generics, and NDC codes all work differently
- ⚠ Data freshness varies by dataset: FAERS updates quarterly, drug labels update more frequently
- ⚠ API key passed as query parameter (?api_key=...) — easy to accidentally log in server access logs
Alternatives
Full Evaluation Report
Detailed scoring breakdown, competitive positioning, security analysis, and improvement recommendations for OpenFDA API.
Scores are editorial opinions as of 2026-03-06.