Openfda Scraper avatar

Openfda Scraper

Under maintenance

Pricing

Pay per usage

Go to Apify Store
Openfda Scraper

Openfda Scraper

Under maintenance

Scrape 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

Khrystyna Skotte

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

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

ParameterTypeDescriptionDefault
apiKeystringOpenFDA API key for higher rate limits (120K calls/day with key, 1K without)
modestring (required)Type of FDA data to scrapedrug-labels
searchQuerystringOpenFDA search syntax (e.g., 'brand_name:tylenol' or 'manufacturer_name:pfizer')
maxResultsintegerMaximum total results to fetch100
dateFromstringStart date for filtering (YYYY-MM-DD format, works with adverse-events and re...
dateTostringEnd 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

  1. Go to the OpenFDA Drug Data Scraper - Labels, Adverse Events, Recalls & NDC actor page
  2. Configure your input parameters
  3. Click Start and wait for the results
  4. 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 ApifyClient
client = 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