跳到正文

医学公开数据库查询与登记

使用有明确接口的公开数据库查询方法保存请求、筛选、分页与来源,可用于医学文献、临床试验及药物资料检索。

开源精选医疗业务86 个文件50,135 Stars浏览次数 0K-Dense-AI/scientific-agent-skills MIT版本 a1043ef
开始使用

下载前阅读 SKILL.md 中的使用条件,并确认所用工具支持对应能力。

输入资料
指定数据库和查询问题 实际接口、筛选条件及使用范围 阅读本节完整说明
交付内容
可复查的查询资料 请求、分页与来源记录 阅读本节完整说明
  1. 获取完整包,保留配套文件的目录结构。
  2. 按照原文准备所需工具、依赖与输入资料。
  3. 阅读对应使用步骤与输入输出说明,在自己的环境中验证结果。

使用提示摘自原文,配套文件保留来源版本;实际运行条件以各包说明为准。

正文

获取原文件

references/fda.md

Base URL

https://api.fda.gov

Auth

Optional free API key (240 req/min with or without). Register at https://open.fda.gov/apis/authentication/ Pass as: ?api_key=YOUR_KEY

Key Endpoints

Endpoint Description
/drug/event.json Drug adverse events (FAERS)
/drug/label.json Drug product labeling (SPL)
/drug/ndc.json NDC directory
/drug/drugsfda.json Drugs@FDA (approvals)
/drug/enforcement.json Drug recalls
/device/event.json Device adverse events
/device/510k.json 510(k) clearances
/food/event.json Food adverse events
/food/enforcement.json Food enforcement

Query Parameters

  • search — query using OpenFDA syntax
  • count — count unique values for a field
  • limit — results per request (max 1000)
  • skip — pagination offset (max 25000)

Search Syntax

  • Field search: field:"value"
  • AND: field1:value1+AND+field2:value2
  • OR: field1:value1+OR+field2:value2
  • Date range: field:[20230101+TO+20231231]
  • Wildcards: field:aspir*
  • OpenFDA harmonized fields use openfda. prefix

Example Calls

# Adverse events for aspirin
/drug/event.json?search=patient.drug.openfda.brand_name:"aspirin"&limit=5

# Top adverse reactions for a drug
/drug/event.json?search=patient.drug.openfda.generic_name:"metformin"&count=patient.reaction.reactionmeddrapt.exact

# Drug labels by generic name
/drug/label.json?search=openfda.generic_name:"ibuprofen"&limit=3

# Drug recalls in date range
/drug/enforcement.json?search=report_date:[20230101+TO+20231231]&limit=10

# Serious adverse events only
/drug/event.json?search=patient.drug.openfda.brand_name:"warfarin"+AND+serious:1&limit=10

Rate Limits

Tier Requests/min Requests/day
No API key 240 1,000
With API key (free) 240 120,000

FAERS reports are not incidence estimates or proof that a drug caused an event. Preserve report versions and avoid double-counting follow-ups. OpenFDA harmonization is incomplete; a missing harmonized name is not evidence of absence.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

关注医疗 AI 从 demo 到真实落地,聚焦产品化、商业化与院内工作流效率提升。

12年医疗产研经验,大湾区头部医疗AI公司前产品总监,独立开发者

医疗 AI 产品化医疗 AI 商业化院内工作流效率
刘浩南的微信联系二维码
微信扫一扫,联系 haonan