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).
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.
openapi: 3.2.0
info:
title: Weather of Record lookup Lookups 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: Lookups
paths:
/api/v1/lookups:
post:
summary: Submit a lookup
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
address:
type: string
description: Full street address with city, state and ZIP
date:
type: string
format: date
required:
- address
- date
responses:
'202':
description: Queued
content:
application/json:
schema:
type: object
properties:
lookup_id:
type: string
status_url:
type: string
quota_remaining:
type: integer
'401':
description: Missing, malformed, unknown or revoked key
'422':
description: Invalid address or date
'429':
description: Quota exhausted (carries resets and order_url) or rate limited
'503':
description: Disabled or daily capacity reached
tags:
- Lookups
operationId: postApiV1Lookups
x-operation-id-source: derived
/api/v1/lookups/{lookup_id}:
parameters:
- name: lookup_id
in: path
required: true
schema:
type: string
get:
summary: Poll a lookup
security:
- bearerAuth: []
responses:
'200':
description: status is queued, running, done or failed. done carries result (records, sources_checked, incomplete_sources, no_records_found, provenance, notice). failed carries a named reason and no records.
'401':
description: Bad key
'404':
description: No such lookup for this key
'410':
description: Older than 30 days
tags:
- Lookups
operationId: getApiV1LookupsByLookupId
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer