openfda-database

Query and download regulatory data from 28 openFDA API endpoints.

269|20|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/NeuroAIHub/BrainPilot --skill openfda-database-neuroaihub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openfda-database
Source: https://github.com/NeuroAIHub/BrainPilot/tree/main/packages/skills/skills/19_Pharmacology/openfda-database
Command: npx skills add https://github.com/NeuroAIHub/BrainPilot --skill openfda-database-neuroaihub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires polite-http, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the complexity of navigating the massive, multi-endpoint openFDA API, allowing researchers to programmatically access safety, recall, and regulatory data without manual web scraping or complex API handling.

Core Features & Use Cases

  • Multi-Endpoint Querying: Access 28 distinct FDA endpoints covering drugs, devices, food, and more.
  • Automated Aggregation: Perform complex counts and statistical summaries of adverse events or product recalls.
  • Use Case: A researcher can use this skill to identify the top 10 reported adverse reactions for a specific medication and export the results directly to a JSON file for further analysis.

Quick Start

Use the openfda-database skill to search for adverse event reports related to aspirin and save the results to a file named aspirin_data.json.

Frequently Asked Questions about openfda-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query openFDA API data for adverse event reports without hitting rate limits?

To query openFDA API data for adverse event reports reliably, this skill implements automated rate-limiting, pagination, and authentication protocols to ensure compliant data extraction across 28 distinct FDA endpoints.

Can I download large-scale FDA regulatory data for drugs and medical devices programmatically?

Yes, you can download large-scale FDA regulatory data for drugs, devices, and food safety records programmatically, facilitating complex data retrieval and aggregation without manual web scraping.

What's the best way to count and analyze medication adverse reactions from the openFDA API?

The best way to count and analyze medication adverse reactions from the openFDA API is using automated aggregation features that perform complex statistical summaries and export results directly to JSON files.

Does this openFDA data extraction approach handle API authentication and pagination automatically?

Yes, this openFDA data extraction approach handles API authentication and pagination automatically, implementing robust protocols to ensure reliable data extraction within API constraints.

What openFDA endpoints are available for querying food safety records and product recalls?

Available openFDA endpoints for querying food safety records and product recalls span 28 distinct categories covering drugs, devices, and food, allowing comprehensive regulatory auditing and recall analysis.