apexfaucet.xyz/api/x402/place-conditions
Forecast, weather alerts, nearby earthquakes, flood warnings and grid carbon for one latitude/longitude, each with its licence. What is happening at this place? Pass ?lat=51.5074&lon=-0.1278 and get, in one call: the forecast (US National Weather Service in the US, MET Norway elsewhere), active weather alerts (US), earthquakes within 300 km in the last 7 days (USGS, worldwide), flood warnings with
GET
https://apexfaucet.xyz/api/x402/place-conditionsUptime100% of 4 checks 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://apexfaucet.xyz/api/x402/place-conditions?lat=51.5074&lon=-0.1278");
console.log(await res.json());Example input
{
"lat": "51.5074",
"lon": "-0.1278"
}