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 USGS

  • depthKm / depthMile - Depth of the earthquake in kilometers and miles

  • place - Human-readable location description

  • title - Full hazard title including magnitude and location

  • magType - 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 damage

  • mmi - 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?" reports

  • felt - Number of "Did You Feel It?" responses received

  • url - Direct link to the USGS earthquake event page

  • detail - URL to the USGS GeoJSON detail feed for this event

  • id - USGS event identifier (e.g., us7000s2bn)

  • code - Event code portion of the identifier

  • ids - Comma-delimited list of associated event IDs from contributing networks

  • net - Preferred contributing network (e.g., us, ak, ci)

  • sources - Comma-delimited list of contributing network codes

  • types - Comma-delimited list of available product types (e.g., shakemap, losspager, moment-tensor)

  • nst - Number of seismic stations used to determine location

  • gap - 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 milliseconds

  • updated - Time when the event was last updated in epoch milliseconds

  • status - Review status of the earthquake data (e.g., reviewed, automatic)

  • shakemapVersion - Version of the ShakeMap product available for this event

  • latitudeRounded / longitudeRounded - Rounded epicenter coordinates

  • featureType - Feature classification (INCIDENT)

  • reportDate / eventDate - ISO 8601 timestamps for the report and event

  • coordinate - Epicenter location as a spatial reference object

  • ingestedAt / 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 with x (longitude) and y (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 are ln(g) — convert to %g using exp(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

circle-info

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