All data sources

National Weather Service

Unknown authnws

National Weather Service (NWS) API - weather forecasts, alerts, and station observations. US coverage only. Provides detailed forecasts, severe weather alerts, and real-time conditions. CRITICAL USAGE RULES: 1. No authentication required (User-Agent header added automatically) 2. US coverage only - will fail for non-US coordinates 3. Use getPointForecast() for 7-day forecasts at a location 4. Use getActiveAlerts() for severe weather warnings

Provenance

PublisherNational Weather Service

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationNo credentials required

Methods (5)

  • getPointForecast

    read

    Get the NWS seven-day forecast for a US coordinate.

    Required paramslatitudelongitude
    Input schema
    {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number",
          "minimum": -90,
          "maximum": 90
        },
        "longitude": {
          "type": "number",
          "minimum": -180,
          "maximum": 180
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "additionalProperties": true
    }
  • getPointHourlyForecast

    read

    Get the NWS hourly forecast for a US coordinate.

    Required paramslatitudelongitude
    Input schema
    {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number",
          "minimum": -90,
          "maximum": 90
        },
        "longitude": {
          "type": "number",
          "minimum": -180,
          "maximum": 180
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "additionalProperties": true
    }
  • getActiveAlerts

    read

    Get active NWS alerts by two-letter state code or coordinate pair.

    Required paramsstate or latitudestate or longitude
    Input schema
    {
      "type": "object",
      "properties": {
        "state": {
          "type": "string",
          "description": "Two-letter state code, e.g. TX."
        },
        "latitude": {
          "type": "number",
          "minimum": -90,
          "maximum": 90
        },
        "longitude": {
          "type": "number",
          "minimum": -180,
          "maximum": 180
        }
      },
      "additionalProperties": true
    }
  • getStationObservations

    read

    Get the latest observation for an NWS station.

    Required paramsstationId
    Input schema
    {
      "type": "object",
      "properties": {
        "stationId": {
          "type": "string",
          "description": "Station ID such as KDEN."
        }
      },
      "required": [
        "stationId"
      ],
      "additionalProperties": true
    }
  • findNearestStations

    read

    Find NWS stations near a US coordinate.

    Required paramslatitudelongitude
    Input schema
    {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number",
          "minimum": -90,
          "maximum": 90
        },
        "longitude": {
          "type": "number",
          "minimum": -180,
          "maximum": 180
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "additionalProperties": true
    }