Earthquake Sample
This page provides a complete sample response for an earthquake hazard from the Active Hazards API endpoint. This example demonstrates the full structure of an earthquake hazard object, including incident details, ShakeMap coverage data, alert geometry, exposure areas, and exposure assessment data.
Earthquake-Specific Properties
Incident Data
The incident.properties object of the earthquake provides detailed seismological data sourced from the USGS National Earthquake Information Center (NEIC). This snapshot includes several key properties that describe the physical characteristics and impact potential of the earthquake.
Key incident properties for earthquakes include:
magRounded- Rounded magnitude of the earthquake (e.g., 5.5)mag- Precise magnitude value from USGSdepthKm/depthMile- Depth of the earthquake in kilometers and milesplace- Human-readable location descriptiontitle- Full hazard title including magnitude and locationmagType- Magnitude type used for measurement (e.g., mww, Mi, mb)tsunami- Tsunami flag (0 = no tsunami warning, 1 = tsunami warning issued)sig- Significance score (0-1000) combining magnitude, felt reports, and damagemmi- Modified Mercalli Intensity estimate (decimal value representing expected shaking intensity)alert- PAGER alert level indicating estimated impact (green, yellow, orange, red)cdi- Community Decimal Intensity from "Did You Feel It?" reportsfelt- Number of "Did You Feel It?" responses receivedurl- Direct link to the USGS earthquake event pagedetail- URL to the USGS GeoJSON detail feed for this eventid- USGS event identifier (e.g., us7000s2bn)code- Event code portion of the identifierids- Comma-delimited list of associated event IDs from contributing networksnet- Preferred contributing network (e.g., us, ak, ci)sources- Comma-delimited list of contributing network codestypes- Comma-delimited list of available product types (e.g., shakemap, losspager, moment-tensor)nst- Number of seismic stations used to determine locationgap- Largest azimuthal gap between adjacent stations (degrees)dmin- Minimum distance to the nearest station (degrees)rms- Root-mean-square travel time residual (seconds)time- Origin time of the earthquake in epoch millisecondsupdated- Time when the event was last updated in epoch millisecondsstatus- Review status of the earthquake data (e.g., reviewed, automatic)shakemapVersion- Version of the ShakeMap product available for this eventlatitudeRounded/longitudeRounded- Rounded epicenter coordinatesfeatureType- Feature classification (INCIDENT)reportDate/eventDate- ISO 8601 timestamps for the report and eventcoordinate- Epicenter location as a spatial reference objectingestedAt/processedAt- Internal timestamps for data pipeline processing (epoch milliseconds)coveragePgaHighRes- High-resolution Peak Ground Acceleration grid data from ShakeMap (see below)
ShakeMap Coverage (coveragePgaHighRes)
When ShakeMap data is available from the USGS, the coveragePgaHighRes property contains a high-resolution gridded Peak Ground Acceleration (PGA) dataset following the OGC CoverageJSON specification. This data represents the estimated ground shaking intensity across the affected area.
Structure:
domain- Defines the geographic grid withx(longitude) andy(latitude) axes, including start/stop bounds and number of grid points (num)parameters.PGA- Describes the parameter as Peak Ground Acceleration with units in natural logarithm of "g" (gravitational acceleration)ranges.PGA- Contains the actual grid values as an NdArray with shape[y, x]. Values areln(g)— convert to %g usingexp(value) * 100
Features
The features property is null for standard earthquake hazards. When ShakeMap data is available from the USGS for significant earthquakes, this property may be populated with shake intensity contours and related geospatial features.
Exposure Areas
The exposureAreas property contains a GeoJSON FeatureCollection with polygon rings around the earthquake epicenter representing expected ground shaking intensity. The number of levels varies based on earthquake characteristics and available ShakeMap data:
Level 1: Moderate (V) to Strong (VI) shaking
Level 2: Very Strong (VII) shaking (when applicable)
Level 3: Severe (VIII+) shaking (when applicable)
Exposure Assessment Units
The exposureAssessment object uses the following units:
foodNeedsUnit: MRE (Meals Ready to Eat)waterNeedsUnit: gal (US gallons)wasteNeedsUnit: 25 gal (25-gallon units)shelterNeedsUnit: sq feet (square feet)
Sample Response
Note: In this sample, coordinate arrays in alertGeometry and exposureAreas have been replaced with [...] for brevity. In actual API responses, these properties contain complete GeoJSON coordinate arrays. The incident.properties object has been truncated with "..." to show only key fields — internal pipeline fields (__kafka_message_key__, sourceMessageHash, ingestedAt, processedAt, master_incident_id, craton, tz, name) are omitted from the sample. The coveragePgaHighRes.ranges.PGA.values array (144,716 float values in this example) has been truncated with "...".
Last updated
