跳到正文

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

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

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

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

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

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

正文

获取原文件

references/omim.md

Base URL

https://api.omim.org/api

Authentication

API key REQUIRED. Request at https://omim.org/api (free for academic/non-commercial use).

  • Pass as query parameter: ?apiKey=YOUR_API_KEY
  • All requests require the key; unauthenticated requests are rejected.

Rate Limits

Not publicly documented in detail. Reasonable usage expected per terms of service.

Response Format

JSON (with &format=json) or XML (default). Always append &format=json for JSON responses.

Key Endpoints

1. Entry Lookup (by MIM number)

GET https://api.omim.org/api/entry?mimNumber={mim_number}&apiKey={key}&format=json

Example:

GET https://api.omim.org/api/entry?mimNumber=141900&apiKey=YOUR_KEY&format=json

Returns entry metadata; request text, gene maps, allelic variants and references with the corresponding include options.

2. Entry with Specific Includes

GET https://api.omim.org/api/entry?mimNumber=141900&include=text&include=allelicVariantList&include=geneMap&apiKey={key}&format=json

Include options: text, clinicalSynopsis, geneMap, allelicVariantList, referenceList, existFlags, externalLinks.

3. Search Entries

GET https://api.omim.org/api/entry/search?search={query}&apiKey={key}&format=json

Example — search for "Marfan syndrome":

GET https://api.omim.org/api/entry/search?search=marfan+syndrome&apiKey=YOUR_KEY&format=json&start=0&limit=10

4. Search filters

/entry/search accepts a filter search expression, fields, operator=AND|OR, and sort. filter is not an enum of gene, phenotype, and clinical_synopsis. Use fielded OMIM search syntax from OMIM search help, or construct the query with the official API form. Do not invent unsupported filter values.

5. Gene Map Lookup

GET https://api.omim.org/api/geneMap?chromosome={chrom}&apiKey={key}&format=json

Example:

GET https://api.omim.org/api/geneMap?chromosome=17&apiKey=YOUR_KEY&format=json&start=0&limit=10
GET https://api.omim.org/api/geneMap/search?search={query}&apiKey={key}&format=json
GET https://api.omim.org/api/clinicalSynopsis/search?search={query}&apiKey={key}&format=json

Response Structure (illustrative; fields depend on requested includes)

{
  "omim": {
    "version": "1.0",
    "entryList": [
      {
        "entry": {
          "mimNumber": 141900,
          "status": "live",
          "titles": {
            "preferredTitle": "HEMOGLOBIN--BETA LOCUS; HBB"
          },
          "textSectionList": [...],
          "geneMap": {
            "chromosome": "11",
            "cytoLocation": "11p15.4",
            "geneSymbols": "HBB"
          }
        }
      }
    ]
  }
}

Pagination

Use start and limit query parameters:

&start=0&limit=20

MIM Number Types

  • Asterisk (*): Gene
  • Plus (+): Gene with known phenotype
  • Number sign (#): Phenotype (molecular basis known)
  • Percent (%): Phenotype (molecular basis unknown)
  • Null: Other entry types

Notes

  • OMIM data is copyrighted; API access is free for academic use but requires registration.
  • The API does not support bulk downloads; use OMIM downloads page with separate agreement.
  • Cross-reference MIM numbers with ClinVar, NCBI Gene, and HPO for integrated disease analysis.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

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

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

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