# Citiview Hazard Alerts

> Citiview Hazard Alerts is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-14).

Returns hazard alerts near a location: recent earthquakes (USGS), active US National Weather Service alerts, and global disasters (cyclones, floods, wildfires, volcanoes, droughts from GDACS) with distances.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/hazards?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-hazard-alerts-2f487f18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1o9JQzCZMFTMbzdayElOW

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 citiview-hazard-alerts-2f487f18
```

Example prompt: Are there any active hazards near Istanbul — earthquakes in the last 7 days, weather alerts, or global disasters like floods or wildfires within 300km?

## When to prefer this

Use this endpoint when you need a single aggregated hazard picture combining seismic (USGS), meteorological (NWS), and global disaster (GDACS) data for any location worldwide. It is ideal for travel safety checks, field deployment briefings, disaster monitoring dashboards, or location-aware risk assessment. Prefer this over single-source alternatives when you need multi-hazard coverage (not just weather or just earthquakes) with geographic distance context baked in.

## Known failure modes

- Missing required 'input' wrapper or 'type'/'method' fields returns a validation error
- Invalid or out-of-range latitude/longitude values may return empty results or an error
- Unrecognizable place name for 'near' parameter may fail to geocode — prefer lat/lon when possible
- Upstream USGS, NWS, or GDACS APIs being unavailable may result in partial or empty results
- Very large radius_km values may slow response or be capped internally
- Payment failure or insufficient USDC balance blocks the request with a 402 error

## How this service works

Hazard alerts near a place: recent earthquakes (USGS), active US National Weather Service alerts and global disasters (cyclones, floods, wildfires, volcanoes, droughts from GDACS) with distances.

## Output

Returns a structured response containing: recent earthquakes from USGS (magnitude, location, time, distance), active US National Weather Service weather alerts (type, severity, affected area, distance), and global disaster events from GDACS (cyclones, floods, wildfires, volcanoes, droughts — each with severity and distance from the queried location). All results include distance from the specified location.

## 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",
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      },
      "days": {
       "type": "integer",
       "description": "Earthquake window, default 7"
      },
      "near": {
       "type": "string",
       "description": "Place"
      },
      "radius_km": {
       "type": "integer",
       "description": "Default 300"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-hazard-alerts-2f487f18/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
