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
        }
      },
      "additionalProperties": true,
      "required": [
        "latitude",
        "longitude"
      ]
    }
  • 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
        }
      },
      "additionalProperties": true,
      "required": [
        "latitude",
        "longitude"
      ]
    }
  • getActiveAlerts

    read

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

    Required paramsstate or latitude and 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
        }
      },
      "anyOf": [
        {
          "required": [
            "state"
          ]
        },
        {
          "required": [
            "latitude",
            "longitude"
          ]
        }
      ],
      "additionalProperties": true,
      "allOf": [
        {
          "anyOf": [
            {
              "required": [
                "state"
              ]
            },
            {
              "required": [
                "latitude",
                "longitude"
              ]
            }
          ]
        }
      ]
    }
  • 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."
        }
      },
      "additionalProperties": true,
      "required": [
        "stationId"
      ]
    }
  • 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
        }
      },
      "additionalProperties": true,
      "required": [
        "latitude",
        "longitude"
      ]
    }