published

Weather.gov API

The Weather.gov API provides free and reliable access to real-time and forecasted weather data, suitable for applications that require timely weather updates.

Developed by National Weather Service (NWS)

99.70%Uptime
420msLatency
280Stars
No AuthAuth
NoCredit Card
RESTStyle
v1Version
API Endpoints

Reference for available routes, request structures, and live examples.

Get weather forecast for specific coordinates

Full Endpoint URL
https://api.weather.gov/points/{latitude},{longitude}
Implementation Example
curl -X GET 'https://api.weather.gov/points/{latitude},{longitude}'
Request Payload
{
  "latitude": "38.8894",
  "longitude": "-77.0352"
}
Expected Response
{
  "properties": {
    "forecast": "https://api.weather.gov/gridpoints/LWX/96,70/forecast"
  }
}
Version:v1
Limit:Unlimited
Real-World Applications
  • Integrating real-time weather into public dashboardsOptimized Capability
  • Powering severe weather alert systems for citiesOptimized Capability
  • Embedding forecast data in travel or mapping appsOptimized Capability
  • Automating weather-dependent event schedulingOptimized Capability
  • Building region-specific weather monitoring solutionsOptimized Capability
Advantages
  • Free and open for public use
  • Authoritative, government-sourced data
  • No API key or sign-up required
  • Detailed severe weather alerts available
  • Up-to-date, cache-friendly responses
Limitations
  • U.S.-focused coverage only
  • No official SDKs or client libraries
  • No historical weather data endpoint
  • Occasional rate limits for heavy use
  • Support is documentation-driven only

FAQs

API Specifications

v1
Pricing Model
Free, government-provided
Credit Card
Not Required
Response Formats
JSON, GeoJSON
Supported Languages
7 Languages
SDK Support
REST Only
Time to Hello World

Less than 10 minutes with no sign-up required

Rate Limit

60 requests/minute per IP

Free Tier Usage

Completely free to use with a suggested rate limit of 60 requests per minute per IP.

Use Case: Best For

Developers building apps with real-time or forecast weather for U.S regions, emergency alert integrations, and travel platforms.

Not Recommended For

Applications needing global or historical weather data, or requiring guaranteed commercial support.

#forecast#weather#alerts

Explore Related APIs

Discover similar APIs to Weather.gov API

View All APIs
FREEMIUM

WeatherAPI

The WeatherAPI offers developers free access to real-time and forecast weather data, suitable for weather applications, dashboards, and travel tools.

FREEMIUM

Open Weather Map API

OpenWeatherMap offers developers a robust API to access real-time weather updates, forecasts, and historical climate data integral for weather applications and services.

OPEN SOURCE

Open-Meteo Historical

Open-Meteo Historical API provides developers with free access to comprehensive historical weather data, suitable for applications focused on climate research and historical analysis.