80trust / 100
France Flood Alerts
by AllTheBot France flood alerts in Other
x402 APIPassing, checked 5 h ago
Official French flood warnings (Vigicrues): every river section on yellow, orange or red flood vigilance with its position, plus the national count by color. Filter by river name (Seine, Loire, Garonne...). Official open data.
GET https://api.zkrobotics.fr/x402/france/flood-alerts
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 63 ms typical, 63 ms slowest 5%
- Last check
- 5 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.zkrobotics.fr/x402/france/flood-alerts?min_color=yellow"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.zkrobotics.fr%2Fx402%2Ffrance%2Fflood-alerts
const res = await pay("https://api.zkrobotics.fr/x402/france/flood-alerts?min_color=yellow");
console.log(await res.json());Example input
{
"min_color": "yellow"
}Example output
{
"counts_by_color": {
"green": 335,
"orange": 0,
"red": 0,
"yellow": 2
},
"matches": 2,
"min_color": "yellow",
"sections": [
{
"code": "SM7",
"color": "yellow",
"lat": 48.5111,
"lon": 3.5465,
"name": "Seine Bassée champenoise"
}
],
"sections_total": 337,
"source": "Vigicrues, service central d'hydrométéorologie (Licence Ouverte Etalab 2.0)"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 63 ms | $0.003 |