跳到正文

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

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

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

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

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

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

正文

获取原文件

references/nist.md

Overview

NIST provides several scientific databases. REST API availability varies by dataset.

1. NIST CODATA Fundamental Physical Constants

Base URL

https://physics.nist.gov/cgi-bin/cuu

No formal REST API. Data is served via CGI scripts returning HTML. The constants can be accessed programmatically via structured URLs but responses are HTML, not JSON/XML.

Workaround — machine-readable ASCII:

https://physics.nist.gov/cuu/Constants/Table/allascii.txt

Returns a fixed-width ASCII table (with header lines), not a tab-delimited file, of all fundamental constants with values, uncertainties, and units.

Individual constant lookup:

https://physics.nist.gov/cgi-bin/cuu/Value?{constant_key}

Example keys: bohrrada0 (Bohr radius), c (speed of light), h (Planck constant), e (electron charge), me (electron mass), na (Avogadro number), k (Boltzmann constant).

Example:

https://physics.nist.gov/cgi-bin/cuu/Value?h

Returns HTML page. Parse the value from the page content.

No API key required. No rate limits documented.

2. NIST Atomic Spectra Database (ASD)

Base URL

https://physics.nist.gov/cgi-bin/ASD

No formal REST API. Queries are CGI-based, returning HTML. However, machine-readable output is available via specific parameters.

Spectral lines query:

https://physics.nist.gov/cgi-bin/ASD/lines1.pl?spectra={element}&low_w={min_wavelength}&upp_w={max_wavelength}&unit={unit}&format={format}
Parameter Type Description
spectra string Element symbol or ion (e.g., H, Fe, He+I, O+II).
low_w float Lower wavelength bound.
upp_w float Upper wavelength bound.
unit int 0 = Angstroms, 1 = nm, 2 = um.
format int 0 = HTML, 1 = ASCII, 2 = CSV, 3 = tab-delimited.
line_out int 0 = all, 1 = only observed, 2 = only Ritz.
show_obs_wl int 1 = show observed wavelengths.
show_calc_wl int 1 = show Ritz wavelengths.
A_out int 1 = include transition probabilities.

Example — Hydrogen lines 3000-7000 Angstroms as CSV:

https://physics.nist.gov/cgi-bin/ASD/lines1.pl?spectra=H&low_w=3000&upp_w=7000&unit=0&format=2&line_out=0&show_obs_wl=1&A_out=1

Energy levels query:

https://physics.nist.gov/cgi-bin/ASD/energy1.pl?spectrum={element}&units={units}&format={format}

No API key required. No formal rate limits but automated bulk queries are discouraged.

3. NIST Chemistry WebBook

Base URL

https://webbook.nist.gov/cgi/cbook.cgi

No formal REST API. CGI-based with HTML output. Structured URLs can be used.

Search by name:

https://webbook.nist.gov/cgi/cbook.cgi?Name={compound}&Units=SI

Search by CAS number:

https://webbook.nist.gov/cgi/cbook.cgi?ID={cas_number}&Units=SI

Search by formula:

https://webbook.nist.gov/cgi/cbook.cgi?Formula={formula}&Units=SI

JCAMP-DX spectra (machine-readable):

https://webbook.nist.gov/cgi/cbook.cgi?JCAMP=C{cas_no_dashes}&Index=0&Type=IR

Choose a spectrum index from the compound page; not every compound has an IR spectrum. The water request ?JCAMP=C7732185&Index=0&Type=IR returned JCAMP-DX in the 2026-09-30 public probe.

Summary

NIST databases generally do not offer modern REST/JSON APIs. Data access is primarily through CGI endpoints returning HTML or delimited text. For programmatic use, the ASCII/CSV output options from ASD are the most practical. No authentication is required for any NIST endpoint.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

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

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

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