National Weather Service

API

Free US government API for weather forecasts, alerts and observations

Fiyat
Free
Erişim
None, send a User-Agent

Hakkında

Public API from the US National Weather Service for forecasts, alerts and station observations. It is free for any use and needs no key, only a User-Agent header. Coverage is limited to US states, territories and marine zones.

Neler yapabilirsin

  • Get 12-hour and hourly forecasts for a latitude and longitude
  • Fetch active weather alerts for a US state
  • Read the latest observations from weather stations

Başlarken

  1. Send a User-Agent that identifies your app
  2. Call /points for a location to get its forecast URLs

Örnek kod

curl -H "User-Agent: (myweatherapp.com, contact@myweatherapp.com)" \
  https://api.weather.gov/points/39.7456,-97.0892

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
9 ülke

ABD Virjin Adaları, Amerika Birleşik Devletleri, Amerikan Samoası, Guam, Kuzey Mariana Adaları, Marshall Adaları, Mikronezya, Palau, Porto Riko

MCP sunucusu
Yok

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .