Back to catalog

US Weather

Free

US National Weather Service

WeatherHTTPSCORS enabledNo API key required

NWS Forecast

US Weather

LocationSan Francisco, CA
ForecastPartly Cloudy
Temperature62°F
Wind Speed12 mph W
Detailed ForecastPartly cloudy with highs near 62. West wind around 12 mph with gusts up to 20 mph.

Sample Response

response.json
1{
2 "location": "San Francisco, CA",
3 "forecast": "Partly Cloudy",
4 "temperature": "62°F",
5 "windSpeed": "12 mph W",
6 "detailedForecast": "Partly cloudy with highs near 62. West wind around 12 mph with gusts up to 20 mph."
7}

Code Snippets

request.sh
1"color:#c084fc">curl -X "color:#fbbf24">GET "https://www.weather.gov/documentation/services-web-api"
View Documentation

Similar APIs