National Weather Service
APIFree 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
- Send a User-Agent that identifies your app
- 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.0892Ayrı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