freeapis

US Weather

美国国家气象局

认证方式
No auth
HTTPS
Yes
CORS
Yes
分类
天气

简介

美国国家气象局 API 提供预报和观测——免密钥(实测可用)。

快速开始

预报网格(实测可用):

curl "https://api.weather.gov/points/39.7456,-97.0892"
{
  "@context": ["https://geojson.org/geojson-ld/geojson-context.jsonld"],
  "properties": { "gridId": "TOP", "relativeLocation": { "properties": { "city": "Topeka" } } }
}

认证方式

公开数据无需认证(实测)。

速率限制与注意事项

  • 免费;请礼貌使用——没有公开的硬性限制。
  • 建议设置描述性 User-Agent(NWS 良好实践)。

常见问题

US Weather 免费吗? 是的——免费 NWS 数据(实测)。

返回什么? 预报、观测、警报。

需要密钥吗? 不需要——免密钥。

天气 分类更多

APIAuthHTTPSCORS
7Timer!

Weather, especially for Astroweather

No authNoUnknown
AccuWeather

Weather and forecast data

API KeyNoUnknown
Aemet

Weather and forecast data from Spain

API KeyYesUnknown
APIXU

Weather

API KeyYesUnknown
AQICN

Air Quality Index Data for over 1000 cities

API KeyYesUnknown