Skip to content
Fourohtwo

Weather forecast for any coordinate worldwide, up to 16 days out

2s.io/api/weather/forecast-global

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 ite

BaseSolanaAnswering
GEThttps://2s.io/api/weather/forecast-global

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://2s.io/api/weather/forecast-global?days=3&lat=48.8566&lon=2.3522");
console.log(await res.json());

Example input

{
  "days": 3,
  "lat": 48.8566,
  "lon": 2.3522
}

More from 2sProvider status