Skip to content
Fourohtwo

Current weather (OpenWeather-compatible)

mpp-compat.fmf-x402.workers.dev/openweather/current-weather

Current weather (OpenWeather-compatible) — Drop-in for OpenWeather /weather and "OpenWeather via Locus" /openweather/current-weather: same request (lat, lon, units, lang) and response shape (coord, weather[], main, wind, clouds, dt, timezone, name). Global data from MET Norway, CC BY 4.0. Locus lists $0.006. Price $0.002 per call.

BaseAnswering
GEThttps://mpp-compat.fmf-x402.workers.dev/openweather/current-weather

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://mpp-compat.fmf-x402.workers.dev/openweather/current-weather?lat=51.5074&lon=-0.1278&units=metric");
console.log(await res.json());

Example input

{
  "lat": "51.5074",
  "lon": "-0.1278",
  "units": "metric"
}

More from FMF Tools FMF Tools Compat APIsProvider status