GET /v1/alerts/tornado$0.01realtimetier: utilitycache 300sEngine B — Weather Intelligence
Active NWS alerts filtered to tornado hazards for any US point, with model-based risk context. Same shape as /v1/alerts/severe with the hazard class fixed to tornado.
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
lat | query | number | no | |
lon | query | number | no | |
state | query | string | no |
curl "https://x402-factory.com/v1/alerts/tornado?lat=33.4484&lon=-112.074"
Phoenix — pairs with the captured AZ alert set.
{
"data": {
"active": [],
"model_risk": []
},
"meta": {
"endpoint": "/v1/alerts/tornado",
"version": "1.0.0",
"generated_at": "2026-09-13T09:52:16.393Z",
"freshness": "realtime",
"sources": [
"NWS",
"stub-model"
],
"request_id": "req_00000000",
"docs": "https://x402-factory.com/docs/weather.alerts.tornado",
"data_mode": "live"
}
}data payload){
"type": "object",
"properties": {
"active": {
"type": "array",
"items": {
"type": "object",
"properties": {
"event": {
"type": "string"
},
"severity": {
"type": "string"
},
"headline": {
"type": "string"
},
"onset": {
"type": "string"
},
"expires": {
"type": "string"
},
"source": {
"type": "string",
"const": "NWS"
}
},
"required": [
"event",
"severity",
"headline",
"onset",
"expires",
"source"
],
"additionalProperties": false
}
},
"model_risk": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hazard": {
"type": "string"
},
"window_start": {
"type": "string"
},
"window_end": {
"type": "string"
},
"probability": {
"type": "number",
"minimum": 0,
"maximum": 1
}
},
"required": [
"hazard",
"window_start",
"window_end",
"probability"
],
"additionalProperties": false
}
}
},
"required": [
"active",
"model_risk"
],
"additionalProperties": false
}
The platform wraps every payload in an envelope: { "data": …, "meta": { endpoint, version, generated_at, freshness, sources, request_id, docs, data_mode } }.
Unpaid requests receive 402 with payment requirements (accepts). Pay $0.01 in USDC on Base per call via an X-PAYMENT header — see docs.x402.org. With PAYMENT_MODE=disabled (local dev) the endpoint is open.
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | Input failed validation; message lists the offending fields. |
| 404 | NOT_FOUND | No matching resource; suggestion may point to a sibling endpoint. |
| 410 | RESOLVED | Market/event settled; body includes a resolution summary. |
| 503 | STALE_DATA | Upstream feed down; stale data is never silently served beyond 2× cache TTL. |
| 500 | INTERNAL | Our bug. The request_id helps us find it. |