Weather of Record Forecast API

The Forecast API from Weather of Record, for forecast.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

GET /api/v1/forecast Current National Weather Service forecast for a U.S. point (no key) #
POST /api/v1/forecast Current National Weather Service forecast for a U.S. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/weatherofrecord-com:weatherofrecord-com-forecast-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

weatherofrecord-com-forecast-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Weather of Record lookup Forecast API
  version: 1.1.0
  description: 'Published government and volunteer weather records for a U.S. street address and date, with provenance for every value. Records, not opinions: no response is a determination about any property. The absence of a record is not evidence that an event did not occur. Records reach back to about 1960. A lookup runs in roughly two minutes: submit, then poll.'
servers:
- url: https://weatherofrecord.com
tags:
- name: Forecast
paths:
  /api/v1/forecast:
    get:
      summary: Current National Weather Service forecast for a U.S. point (no key)
      parameters:
      - name: lat
        in: query
        required: false
        schema:
          type: number
          minimum: -90
          maximum: 90
        description: Latitude
      - name: lon
        in: query
        required: false
        schema:
          type: number
          minimum: -180
          maximum: 180
        description: Longitude
      - name: hours
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 168
        description: Hourly values to return (default 48)
      - name: periods
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 14
        description: 12-hour periods to return (default 14)
      responses:
        '200':
          description: 'schema wor-034-forecast-1: kind (forecast), location, issued_utc, retrieved_utc, age_minutes, stale, served_from_cache, periods, hourly, spread (how much the forecast models disagree: NOAA National Blend of Models temperature spread, models_agree and its rule; null with spread_reason when it cannot be given), sources, notice.  A forecast, not a record of observed weather.'
        '401':
          description: Address requests need a key
        '404':
          description: not_available_outside_nws_coverage
        '422':
          description: bad_location or invalid_input
        '429':
          description: rate_limited
        '502':
          description: nws_unavailable
        '503':
          description: api_disabled (not enabled) or geocoder_unavailable (an address could not be placed; send lat and lon)
        '500':
          description: internal_error
      tags:
      - Forecast
      operationId: getApiV1Forecast
      x-operation-id-source: derived
    post:
      summary: Current National Weather Service forecast for a U.S.
      security:
      - bearerAuth: []
      - {}
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                address:
                  type: string
                lat:
                  type: number
                lon:
                  type: number
                hours:
                  type: integer
                  minimum: 1
                  maximum: 168
                periods:
                  type: integer
                  minimum: 1
                  maximum: 14
              additionalProperties: false
      responses:
        '200':
          description: 'schema wor-034-forecast-1: kind (forecast), location, issued_utc, retrieved_utc, age_minutes, stale, served_from_cache, periods, hourly, spread (how much the forecast models disagree: NOAA National Blend of Models temperature spread, models_agree and its rule; null with spread_reason when it cannot be given), sources, notice.  A forecast, not a record of observed weather.'
        '401':
          description: Address requests need a key
        '404':
          description: not_available_outside_nws_coverage
        '422':
          description: bad_location or invalid_input
        '429':
          description: rate_limited
        '502':
          description: nws_unavailable
        '503':
          description: api_disabled (not enabled) or geocoder_unavailable (an address could not be placed; send lat and lon)
        '500':
          description: internal_error
      tags:
      - Forecast
      operationId: postApiV1Forecast
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer