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: Rainplover Forecast API
version: 0.1.0
description: Weather, alerts and earthquakes for AI agents. One account works on every agent-first site run by API Evangelist.
contact:
email: info@apievangelist.com
license:
name: Apache-2.0
servers:
- url: https://rainplover.com
security:
- apiKey: []
tags:
- name: Forecast
paths:
/v1/forecast:
get:
operationId: get_forecast
summary: Weather forecast
description: 'Hourly and daily forecast for anywhere on Earth (MET Norway, CC BY 4.0): temperature, wind, precipitation, cloud, a weather symbol. Give lat/lon or a place name. Show the attribution when you present it.'
parameters:
- name: lat
in: query
required: false
schema:
type: number
description: Latitude, decimal degrees
- name: lon
in: query
required: false
schema:
type: number
description: Longitude, decimal degrees
- name: place
in: query
required: false
schema:
type: string
description: Or a place name, e.g. "Bergen" or "Springfield, IL"
- name: hours
in: query
required: false
schema:
type: integer
description: Hourly steps to return, 1-72 (default 24)
responses:
'200':
description: OK
'201':
description: Created
'400':
description: Invalid (problem details)
'401':
description: API key required
'402':
description: 'Without an API key: x402 payment requirements (PAYMENT-REQUIRED header). With one: the owner must act, see account_url'
'404':
description: Not found
tags:
- Forecast
components:
securitySchemes:
apiKey:
type: http
scheme: bearer
description: An API key from POST /v1/accounts (shown once).