# US Driving Route Hazard Check (Wildfires + Weather Alerts)

> US Driving Route Hazard Check (Wildfires + Weather Alerts) is a paid API for AI agents from x402-seller.onrender.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-13).

Returns driving distance and duration between two US coordinates, plus any active NIFC wildfires and NWS weather alerts falling within a configurable corridor along the route.

## Facts

- Endpoint: GET https://x402-seller.onrender.com/route/hazards?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-driving-route-hazard-check-wildfires-weather-alerts-844dff22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_keNm6Me758pMA6rnrVutz

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 us-driving-route-hazard-check-wildfires-weather-alerts-844dff22
```

Example prompt: Before I drive from 34.0522,-118.2437 to 36.1699,-115.1398 tomorrow, can you check for any active wildfires or NWS weather alerts within 30km of the route and tell me the distance and estimated drive time?

## When to prefer this

Choose this endpoint when you need a single call that combines driving route metrics with real-time wildfire and weather hazard data correlated specifically to the route corridor — avoiding the need to separately query a routing API and two hazard APIs and then spatially join the results yourself. Prefer it for travel safety checks, evacuation planning, and fleet dispatch decisions in the US where route-proximate hazards matter.

## Known failure modes

- Invalid or non-US coordinates returns an error or empty results
- corridorKm outside 1-100 range may be rejected or clamped
- Routing service unavailable returns a routing error
- NIFC or NWS upstream APIs down returns partial or empty hazard data
- Malformed lat,lng strings (e.g. missing comma) cause query parse errors

## How this service works

Driving route between two US points, cross-checked against live hazards along the way: distance and duration, plus any active NIFC wildfires within a corridor of the route and any National Weather Service alerts in force along it. Returns the fires and alerts actually near the path, with distances, rather than a route and a separate hazard lookup.

## Output

Returns a route object with distance in km, duration in minutes, from/to points, and sample point count; a wildfires object with a list of fires near the route, the nearest fire, the corridor width used, and a count of fires; a weatherAlerts object with alerts and count across sampled points; a top-level hazardsFound boolean; and attribution/disclaimer strings.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Destination as \"lat,lng\""
      },
      "from": {
       "type": "string",
       "description": "Origin as \"lat,lng\""
      },
      "corridorKm": {
       "type": "string",
       "description": "How far either side of the route to look for wildfires, km (1-100, default 25)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "route": {
       "type": "object",
       "properties": {
        "to": {
         "type": "object"
        },
        "from": {
         "type": "object"
        },
        "distanceKm": {
         "type": "number"
        },
        "samplePoints": {
         "type": "number"
        },
        "durationMinutes": {
         "type": "number"
        }
       }
      },
      "source": {
       "type": "string"
      },
      "wildfires": {
       "type": "object",
       "properties": {
        "fires": {
         "type": "array"
        },
        "nearest": {
         "type": [
          "object",
          "null"
         ]
        },
        "corridorKm": {
         "type": "number"
        },
        "countNearRoute": {
         "type": "number"
        }
       }
      },
      "disclaimer": {
       "type": "string"
      },
      "attribution": {
       "type": "string"
      },
      "hazardsFound": {
       "type": "boolean"
      },
      "weatherAlerts": {
       "type": "object",
       "properties": {
        "count": {
         "type": [
          "number",
          "null"
         ]
        },
        "alerts": {
         "type": "array"
        },
        "sampledPoints": {
         "type": "number"
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-driving-route-hazard-check-wildfires-weather-alerts-844dff22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-seller.onrender.com](https://www.zero.xyz/host/x402-seller.onrender.com/llms.txt)
