Openfda Adverse Event Scraper
Pricing
from $10.00 / 1,000 results
Openfda Adverse Event Scraper
Scrapes adverse drug event reports from the OpenFDA API with pagination and structured output.
OpenFDA Adverse Drug Event Scraper
What it does
This actor scrapes adverse drug event reports from the OpenFDA Drug Adverse Events API. It searches for drug names or medical terms and retrieves detailed safety reports including patient demographics, reactions, drug information, and outcomes. The actor handles pagination automatically and respects the OpenFDA API limit of 25,000 records per query offset.
Why use this actor
This actor provides a simple, reliable, and scalable way to extract data from public APIs without needing to write any code or manage infrastructure. It handles pagination, rate limiting, error recovery, and data normalization automatically. Whether you are a researcher, analyst, or developer, this actor saves you hours of manual data collection work. The structured JSON output integrates seamlessly with spreadsheets, databases, dashboards, and downstream data pipelines. Run it on Apify platform for automatic scheduling, monitoring, and proxy management.
Input parameters
- searchQuery (string, required): Drug name or search term to query adverse events. Default:
"aspirin". - maxResults (integer, optional): Maximum number of results to return. Range: 1-1000. Default:
100.
Output data
The actor outputs a dataset with the following fields:
- safetyReportId: Unique identifier for the safety report
- receiveDate: Date the report was received by FDA
- serious: Whether the event was classified as serious
- patient: Patient sex (Male/Female)
- reactions: Comma-separated list of reported reactions
- drugs: Comma-separated list of drugs involved
- outcomes: Comma-separated list of reaction outcomes
Each record is validated and null-checked before being pushed to the dataset. Missing or unavailable fields are set to null rather than being omitted, ensuring consistent schema across all records.
Example output
[{"safetyReportId": "10118220","receiveDate": "20140101","serious": "1","patient": "Female","reactions": "NAUSEA, VOMITING, HEADACHE","drugs": "ASPIRIN","outcomes": "1, 1, 6"}]
Pricing
This actor is priced based on usage:
- $0.01 per result returned in the dataset
- $0.005 per actor start (flat fee per run)
These costs cover Apify platform compute and proxy resources. For large-scale scraping jobs, consider using the maxResults parameter to control costs and stay within your budget. Typical runs of 100 results cost approximately $1.01.
Related scrapers
Explore these related actors from brave_paradise:
- 99designs Contest Scraper
- Abuseipdb Check Scraper
- Accuweather Forecast Scraper
- Adoptapet Listing Scraper
- Advice Slip Scraper
More scrapers from brave_paradise
Check out other actors published by brave_paradise on the Apify Store for more data extraction tools covering scientific databases, developer communities, news aggregators, and government open-data APIs. All actors follow the same high-quality patterns with robust error handling, automatic pagination, and clean structured output.
