weather

Weather forecast for any coordinate worldwide, up to 16...

Weather forecast for any coordinate worldwide, up to 16 days out. Pass lat + lon; optional days (1–16, default 7), hourly=true for hour-by-hour instead of daily, and units=metric|imperial (default metric). Daily items give max/min temperature, feels-like max, precipitation total + max probability, max wind + gusts, sunrise/sunset, and human-readable conditions from the WMO weather code; hourly items give temperature, feels-like, humidity, precipitation amount + probability, wind, and conditions — all in local time. Global coverage (for the official US-only NWS forecast see weather.forecast). Source: Open-Meteo (CC BY 4.0).

get/api/weather/forecast-global

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/weather/forecast-global
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

latnumber required

Latitude in decimal degrees (WGS84).

lonnumber required

Longitude in decimal degrees (WGS84).

daysinteger

Look-back window, in days.

hourlyboolean

Hourly.

units'metric' | 'imperial'

Units.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.