跳到正文

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

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

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

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

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

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

正文

获取原文件

references/nasa.md

Base URL

https://api.nasa.gov

Authentication

NeoWs uses an API key passed as api_key; APOD now uses the separate WordPress endpoint below. Check per-service authentication in the NASA catalogue.

  • Get a free key at: https://api.nasa.gov/#signUp
  • Demo key: DEMO_KEY (rate-limited: 30 req/hour, 50 req/day per IP)
  • Registered keys: 1,000 req/hour

Key Endpoints

1. APOD (Astronomy Picture of the Day)

Use the new WordPress service:

GET https://science.nasa.gov/wp-json/wp/v2/apod-basic/260911
GET https://science.nasa.gov/wp-json/wp/v2/apod-basic?page=1&per_page=5
GET https://science.nasa.gov/wp-json/wp/v2/apod-basic?date_from=260901&date_to=260930

A single date is a YYMMDD path segment; ranges use date_from and date_to in the same format. List pagination is one-based and per_page is capped at 25. The old date=YYYY-MM-DD parameter can be silently ignored by this service: a September 30 probe returned the latest 25 entries instead of the requested date.

The single-date response is an object; list responses are arrays. Fields include date, post_id, title, permalink, media_type, explanation, credit, copyright, alt, url, hdurl, and generated HTML links. url can be an article page. Preserve attribution and inspect media type before downloading.

The NASA-linked new API guide is authoritative for this syntax; the NASA catalogue still contains some old query parameters. Legacy /planetary/apod is scheduled to retire December 1, 2026.

2. NEO — Near Earth Objects (Asteroids NeoWs)

GET /neo/rest/v1/feed

Parameters:

Parameter Type Description
api_key string Required.
start_date string YYYY-MM-DD. Default: today.
end_date string YYYY-MM-DD. Max 7 days from start.

Example:

https://api.nasa.gov/neo/rest/v1/feed?start_date=2024-01-01&end_date=2024-01-03&api_key=DEMO_KEY

Lookup by asteroid ID:

GET /neo/rest/v1/neo/{asteroid_id}?api_key=DEMO_KEY

Browse all:

GET /neo/rest/v1/neo/browse?api_key=DEMO_KEY

Response structure: near_earth_objects keyed by date, each containing array of objects with name, nasa_jpl_url, estimated_diameter, close_approach_data, is_potentially_hazardous_asteroid.

3. Archived services

The NASA portal marks the Mars Rover Photos and Earth APIs as archived. Do not use the former /mars-photos/api/v1/... routes for new retrieval workflows. For Earth imagery, follow the portal's Earthdata GIBS replacement link.

Rate Limits

Key Type Hourly Limit Daily Limit
DEMO_KEY 30/hour 50/day
Registered 1,000/hour Unlimited

Rate limit headers: X-RateLimit-Limit, X-RateLimit-Remaining.

Official migration notice and API catalogue.

CONTACT HAONAN

联系haonan

医疗 AI · 产品与独立开发

刘浩南

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

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

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