# AllTheBot France Weather Alerts

> AllTheBot France Weather Alerts is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Returns official Météo-France weather vigilance alerts and color-coded severity levels for a specific French department

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/france/weather-alerts?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-france-weather-alerts-c3e17019
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PbaMn4tYJhXokABLpOKDq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability allthebot-france-weather-alerts-c3e17019
```

Example prompt: What are the current official Météo-France weather alerts for department 13 (Bouches-du-Rhône)? I want to know the vigilance color level and which weather phenomena are active.

## When to prefer this

Use this endpoint when you need official, real-time French government weather vigilance data for a specific metropolitan France department. It is the authoritative source (Météo-France) for color-coded alert levels (green/yellow/orange/red) covering phenomena like wind, thunderstorms, flooding, snow, and heat. Prefer this over generic weather APIs when the official French vigilance classification is required, or when integrating into safety workflows, travel planning, or event management for France. Requires no API key — pay-per-call via USDC on Base.

## Known failure modes

- Invalid department code (not matching pattern ^(0[1-9]|[1-8][0-9]|9[0-5]|2A|2B)$) returns a validation error
- Payment failure or insufficient USDC balance returns HTTP 402
- Météo-France upstream data temporarily unavailable may result in stale or empty periods array
- Overseas departments (DOM-TOM) not covered by this endpoint
- No alerts active returns periods with all-green phenomena — not an error

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

Returns a JSON object with the data source attribution (Météo-France), a legend explaining the color scale (green/yellow/orange/red), a last-updated timestamp, and an array of alert periods per department. Each period includes the department code, validity window, the maximum color level, and a breakdown by weather phenomenon (wind, thunderstorms, rain, snow, etc.) each with their own color and active time windows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "department": {
       "type": "string",
       "pattern": "^(0[1-9]|[1-8][0-9]|9[0-5]|2A|2B)$"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "legend": "green = no particular vigilance, yellow = be attentive, orange = be very vigilant, red = absolute vigilance",
  "source": "Météo-France, vigilance météorologique (Licence Ouverte Etalab 2.0)",
  "periods": [
   {
    "day": "today",
    "valid_to": "2026-10-08T22:00:00Z",
    "max_color": "yellow",
    "phenomena": {
     "wind": {
      "color": "green",
      "windows": []
     },
     "thunderstorms": {
      "color": "yellow",
      "windows": [
       {
        "to": "2026-10-08T22:00:00Z",
        "from": "2026-10-08T14:00:00Z",
        "color": "yellow"
       }
      ]
     }
    },
    "department": "13",
    "valid_from": "2026-10-08T14:00:00Z"
   }
  ],
  "updated": "2026-10-08T14:00:15Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-france-weather-alerts-c3e17019/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
