Clinical Trials FDA Scraper avatar
Clinical Trials FDA Scraper

Pricing

Pay per usage

Go to Apify Store
Clinical Trials FDA Scraper

Clinical Trials FDA Scraper

Extract clinical trials from ClinicalTrials.gov and FDA data from openFDA APIs. Search by condition, drug, sponsor, or NCT ID. Get adverse events, drug labels, recalls, and device data. For pharma research and regulatory monitoring.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

CQ

CQ

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Share

Clinical Trials & FDA Data Scraper

Extract clinical trial data from ClinicalTrials.gov and FDA data from openFDA in one unified actor. Perfect for pharma intelligence, clinical research, regulatory monitoring, and biotech investment analysis.

Data Sources

SourceData TypeRecords Available
ClinicalTrials.govClinical trials400,000+ studies
openFDA - FAERSDrug adverse eventsMillions of reports
openFDA - SPLDrug labels/prescribing info100,000+ labels
openFDA - EnforcementDrug & device recallsAll FDA recalls
openFDA - Drugs@FDADrug approvals26,000+ drugs
openFDA - MAUDEDevice adverse eventsMillions of reports
openFDA - 510(k)Device clearances200,000+ clearances

Features

  • Multi-source search: Query clinical trials and FDA data in a single run
  • Unified schema: Consistent output format across all data types
  • AI summaries (optional): GPT-powered trial analysis and adverse event pattern detection (falls back to rule-based summaries when no API key provided)
  • No authentication required: All APIs are public and free
  • Rate-limit compliant: Built-in throttling respects API limits
  • Public domain data: All data is CC0/public domain, legal to use commercially

Use Cases

  • Pharma competitive intelligence: Monitor competitor clinical trials and FDA submissions
  • Clinical researchers: Find trials for systematic reviews, identify research gaps
  • Biotech investors: Track drug pipeline progress, FDA approval timelines
  • Regulatory teams: Monitor recalls, adverse events, compliance issues
  • Market access teams: Evidence generation, investigator discovery

Example Inputs

Search clinical trials for a condition

{
"dataSources": ["clinicaltrials"],
"condition": "breast cancer",
"phase": ["PHASE3"],
"status": ["RECRUITING"],
"maxResults": 100
}

Get FDA data for a specific drug

{
"dataSources": ["openfda"],
"drugName": "Keytruda",
"includeAdverseEvents": true,
"includeDrugLabels": true,
"includeRecalls": true,
"maxResults": 500
}

Combined search for a drug

{
"dataSources": ["clinicaltrials", "openfda"],
"intervention": "pembrolizumab",
"drugName": "Keytruda",
"genericName": "pembrolizumab",
"phase": ["PHASE2", "PHASE3"],
"maxResults": 200
}

Search for device recalls

{
"dataSources": ["openfda"],
"deviceName": "pacemaker",
"recallClass": "I",
"includeRecalls": true,
"includeDevice510k": true,
"dateFrom": "2023-01-01"
}

Input Parameters

Data Source Selection

ParameterTypeDefaultDescription
dataSourcesarray["clinicaltrials"]Data sources to query: "clinicaltrials", "openfda"

ClinicalTrials.gov Parameters

ParameterTypeDescription
conditionstringDisease or condition to search
interventionstringDrug, device, or other intervention
searchTermstringGeneral search term
sponsorstringSponsor name
locationstringGeographic location
statusarrayTrial statuses: RECRUITING, COMPLETED, ACTIVE_NOT_RECRUITING, etc.
phasearrayTrial phases: PHASE1, PHASE2, PHASE3, PHASE4
studyTypestringStudy type: INTERVENTIONAL, OBSERVATIONAL
nctIdsarraySpecific NCT IDs to retrieve

openFDA Parameters

ParameterTypeDescription
drugNamestringBrand name of drug
genericNamestringGeneric name of drug
deviceNamestringDevice name for device searches
manufacturerNamestringManufacturer name
recallClassstringRecall classification: I, II, III
productDescriptionstringProduct description text

Shared Parameters

ParameterTypeDefaultDescription
dateFromstring-Start date (YYYY-MM-DD)
dateTostring-End date (YYYY-MM-DD)
maxResultsnumber100Maximum records to return (openFDA adverse events limited to 25,000)

Feature Flags

ParameterTypeDefaultDescription
includeAISummarybooleantrueGenerate AI summaries (requires openaiApiKey)
includeAdverseEventsbooleantrueInclude FAERS/MAUDE adverse events
includeDrugLabelsbooleantrueInclude SPL drug labels
includeRecallsbooleantrueInclude enforcement/recalls
includeDrugApprovalsbooleantrueInclude Drugs@FDA approvals
includeDevice510kbooleantrueInclude 510(k) clearances

API Keys (Optional)

ParameterTypeDescription
openfdaApiKeystringopenFDA API key for higher rate limits (240 vs 40 req/min). Get free at open.fda.gov
openaiApiKeystringOpenAI API key for AI-powered summaries. Without this, rule-based summaries are generated

Output Schema

Each record includes a dataType field indicating the data source:

  • clinical_trial - ClinicalTrials.gov study
  • drug_adverse_event - FAERS adverse event report
  • drug_label - SPL drug label
  • drug_recall - Drug enforcement/recall
  • drug_approval - Drugs@FDA approval
  • device_adverse_event - MAUDE device event
  • device_recall - Device enforcement/recall
  • device_510k - 510(k) clearance
  • adverse_event_summary - AI-generated summary (if enabled)

Clinical Trial Fields

FieldDescription
nctIdNCT identifier
briefTitleStudy title
overallStatusCurrent status (RECRUITING, COMPLETED, etc.)
phasesTrial phases
conditionsTarget conditions/diseases
interventionsTreatments being studied
leadSponsorSponsor name and class
enrollmentCountTarget enrollment
locationsStudy sites with geo coordinates
primaryOutcomesPrimary outcome measures
eligibilityCriteriaInclusion/exclusion criteria
urlDirect link to trial

FDA Adverse Event Fields

FieldDescription
safetyReportIdFAERS report ID
seriousWhether event was serious
drugsDrugs involved with characterization
reactionsReported adverse reactions
patientAge, patientSexPatient demographics
seriousnessDeathFatal outcome flag

API Rate Limits

APIRate LimitNotes
ClinicalTrials.gov~50 req/minNo API key needed
openFDA (no key)40 req/minFree, limited
openFDA (with key)240 req/minFree key at open.fda.gov

The actor automatically respects these limits with built-in throttling.

Pricing

This actor uses standard Apify compute units. A typical run:

  • 100 clinical trials: ~0.05 CU
  • 1,000 adverse events: ~0.1 CU
  • Full drug profile (all data types): ~0.2 CU

Key-Value Store Schema

The actor stores the following data in the key-value store:

RUN_STATS

{
"clinicalTrials": 100,
"drugAdverseEvents": 500,
"drugLabels": 5,
"drugRecalls": 2,
"drugApprovals": 1,
"deviceAdverseEvents": 0,
"deviceRecalls": 0,
"device510k": 0
}
  • ClinicalTrials.gov: U.S. government work, no restrictions on use
  • openFDA: CC0 1.0 Universal (Public Domain Dedication)
  • All data is legal to use, modify, and distribute commercially

Support

For issues or feature requests, please contact the author through the Apify platform.


Built by JCD | Data from ClinicalTrials.gov & openFDA