weather

Current weather conditions for any coordinate worldwide.

Current weather conditions for any coordinate worldwide. Pass lat + lon (and optional units=metric|imperial, default metric). Returns temperature, feels-like, humidity, precipitation (rain/snow), cloud cover, sea-level pressure, wind speed/direction/gusts, day/night flag, and a human-readable conditions label from the WMO weather code — with local time + timezone. Global coverage (not just US — for US-only NWS data see weather.zip / weather.forecast). Source: Open-Meteo (CC BY 4.0).

get/api/weather/current

Request

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

Query parameters

latnumber required

Latitude in decimal degrees (WGS84).

lonnumber required

Longitude in decimal degrees (WGS84).

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.