published

Weather.gov API

The Weather.gov API offers developers free and seamless access to real-time and forecasted weather data, suitable for apps requiring timely weather updates.

Developed by National Weather Service (NWS)

99.90%Uptime
150msLatency
0Stars
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
  • Embedding weather data in travel tools and itinerary plannersOptimized Capability
  • Creating dashboards for real-time weather updates in major citiesOptimized Capability
  • Integrating alert systems for emergency preparednessOptimized Capability
  • Enhancing apps aimed at outdoor activities and event planningOptimized Capability
Advantages
  • No authentication or API key required
  • Reliable and official data source from US government
  • Supports geographic coordinate based querying for precise data
  • Data delivered in modern JSON-LD and GeoJSON formats
Limitations
  • Rate limits may restrict very high volume applications
  • Lacks official SDKs for automatic integration
  • Limited to US geographic data only
  • No built-in historical weather data access

FAQs

API Specifications

v1
Pricing Model
Free
Credit Card
Not Required
Response Formats
JSON
Supported Languages
6 Languages
SDK Support
REST Only
Time to Hello World

Immediate

Rate Limit

5000 requests per hour

Free Tier Usage

Unlimited free access with rate limit of 5000 requests per hour

Use Case: Best For

Developers needing free, official, real-time US weather data without authentication

Not Recommended For

Applications requiring global weather data or historical weather archives

#forecast#weather#alerts

Explore Related APIs

Discover similar APIs to Weather.gov API

View All APIs
PUBLIC

Open Weather Map API

OpenWeatherMap API offers free access to real-time weather data, forecasts, and historical climate data, ideal for developing weather-related applications and services.

PUBLIC

WeatherAPI

The WeatherAPI provides developers free access to real-time and forecast weather data, ideal for building weather applications and tools.

PUBLIC

Open-Meteo Historical

The Open-Meteo Historical API offers developers free access to comprehensive historical weather data, suitable for climate research and related applications.