Pay-per-call flood check for AI agents
uk-postcode-x402.onrender.com/uk-flood
Pay-per-call flood check for AI agents. Send a postcode in England and get the official Environment Agency flood warning and alert areas within 1 km (with names, rivers or sea and distance), plus any live flood warnings within 5 km and their severity, with a plain-English summary, as clean JSON. Useful for property, insurance, travel and logistics questions. Official open data (OGL). Not a propert
GET
https://uk-postcode-x402.onrender.com/uk-floodUptime100% 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://uk-postcode-x402.onrender.com/uk-flood?q=YO1+9QL");
console.log(await res.json());Example input
{
"q": "YO1 9QL"
}