目录收录

AviationWeather API

NOAA aviation weather forecasts and observations. NOAA 航空天气数据中心;GET /api/data/metar?ids=ICAO&format=json 获取最新 METAR 观测(全球机场)。

免费 API 目录收录 无需认证 CORS: Unknown
来源类型
目录收录
可用方式
免费可用
认证方式
无需认证
协议格式
REST
计费摘要
免费为主
稳定性说明
以来源方说明为准
面向 Agent

如何调用 AviationWeather API

供 Hermes、OpenClaw、浏览器自动化 Agent 等读取。优先解析 <head>#boyapi-agent-spec JSON。

Hermes OpenClaw Coding Agent Browser Agent
  1. 1. 确认调用目标

    业务请求发往 https://aviationweather.gov,不要向 boyapi.com 发送 AviationWeather 业务 API。

  2. 2. 构造 HTTP 请求
    • 方法:GET
    • 路径:/api/data/metar
    • 必填:ids
    • 鉴权:无需 API Key
  3. 3. 最小可执行示例

    复制以下 cURL 试调:

    curl -sS -G 'https://aviationweather.gov/api/data/metar' \
      --data-urlencode 'ids=KJFK' \
      -d 'format=json' \
      -H 'User-Agent: boyapi-doc-check/1.0'
  4. 4. 解析响应

    HTTP 200 时解析 JSON 主体;失败时对照错误码表与 HTTP 状态。

  5. 5. 环境与限制

    CORS:Unknown。浏览器联调以实际结果为准。

机器可读规范(JSON)

application/json · #boyapi-agent-spec
{
  "spec_version": "1.0",
  "page_type": "boyapi_api_detail",
  "api": {
    "slug": "aviationweather",
    "name": "AviationWeather"
  },
  "invocation": {
    "method": "GET",
    "base_url": "https://aviationweather.gov",
    "path": "/api/data/metar",
    "full_url_example": "https://aviationweather.gov/api/data/metar?ids=KJFK&format=json"
  }
}

完整字段以 <head>#boyapi-agent-spec 为准。

Agent 注意:boyapi.com 仅提供目录与文档,不提供第三方 API 代理网关。
接入信息

可用方式

目录定位
免费目录收录(public-apis)
认证要求
无需认证(auth=No)
HTTPS
支持(https=Yes)
CORS
Unknown — 以实际联调为准,浏览器可能受限
接口名称
AviationWeather
典型端点
GET /api/data/metar
功能描述
NOAA aviation weather forecasts and observations

平台支持

  • 标注为目录收录,非百易API 自建接口
  • CORS 为 Unknown,请按实际环境选择浏览器或服务端调用
  • 生产环境请结合参数表、响应字段与错误码评估