National Weather Service
APIFree US government API for weather forecasts, alerts and observations
- Price
- Free
- Access
- None, send a User-Agent
About
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.
What you can do with it
- 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
Get started
- Send a User-Agent that identifies your app
- Call /points for a location to get its forecast URLs
Example
curl -H "User-Agent: (myweatherapp.com, contact@myweatherapp.com)" \
https://api.weather.gov/points/39.7456,-97.0892Details
- Hosting
- Hosted service
- Available in
9 countries
American Samoa, Guam, Marshall Islands, Micronesia, Northern Mariana Islands, Palau, Puerto Rico, U.S. Virgin Islands, United States
- MCP server
- None