Openfda Scraper
Under maintenancePricing
Pay per usage
Openfda Scraper
Under maintenanceScrape FDA drug adverse event reports via the official OpenFDA API. Search by drug name, filter by reaction outcome. No API key required. Free, rate-limited to 240 req/min.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Khrystyna Skotte
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
OpenFDA Drug Data Scraper - Labels, Adverse Events, Recalls & NDC
Overview
Extract FDA pharmaceutical data via the official OpenFDA API. Access 19. 6M+ adverse event reports, 253K+ drug labels, enforcement recalls, and NDC directory.
Features
- Search by keywords to find specific results
- Filter results by category or type
- Export data in JSON, CSV, or Excel formats
- Control output volume with configurable result limits
Use Cases
- Track - Track federal government data releases and updates
- Build - Build datasets for policy research and analysis
- Monitor - Monitor regulatory changes and compliance requirements
- Aggregate - Aggregate public government data for transparency projects
Input Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
apiKey | string | OpenFDA API key for higher rate limits (120K calls/day with key, 1K without) | |
mode | string (required) | Type of FDA data to scrape | drug-labels |
searchQuery | string | OpenFDA search syntax (e.g., 'brand_name:tylenol' or 'manufacturer_name:pfizer') | |
maxResults | integer | Maximum total results to fetch | 100 |
dateFrom | string | Start date for filtering (YYYY-MM-DD format, works with adverse-events and re... | |
dateTo | string | End date for filtering (YYYY-MM-DD format, works with adverse-events and reca... |
Output Example
Each result contains structured data like this:
{"recall_number": "LIC-2025-001","classification": "Sample classification","recalling_firm": "Sample recalling_firm","reason_for_recall": "Sample reason_for_recall","status": "Active","recall_initiation_date": "2025-01-15"}
Pricing
This actor uses pay-per-result pricing:
- $0.001 per result
- $1.00 per 1,000 results
No monthly fees. You only pay for what you scrape. Apify Free plan includes $5/month in platform credits.
How to Run
Apify Console
- Go to the OpenFDA Drug Data Scraper - Labels, Adverse Events, Recalls & NDC actor page
- Configure your input parameters
- Click Start and wait for the results
- Download data in JSON, CSV, or Excel format
API
curl -X POST "https://api.apify.com/v2/acts/fortuitous_pirate~openfda-scraper/runs?token=YOUR_API_TOKEN" \-H "Content-Type: application/json" \-d '{"maxResults": 10}'
Python SDK
from apify_client import ApifyClientclient = ApifyClient("YOUR_API_TOKEN")run = client.actor("fortuitous_pirate/openfda-scraper").call(run_input={"maxResults": 10})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
Integration
Connect OpenFDA Drug Data Scraper - Labels, Adverse Events, Recalls & NDC with your existing tools and workflows:
- API access - Programmatic access via Apify API
- Webhooks - Get notified when scraping completes
- Scheduling - Set up recurring runs on any schedule
- Zapier / Make - Connect with 5,000+ apps via Apify integrations
- Python / Node.js SDKs - Native client libraries for easy integration