For general access to the Wolfram Knowledgebase, use entities of type Earthquake instead of EarthquakeData.


gives all earthquake properties for the location corresponding to loc.


restricts earthquakes returned to the magnitude range mag.


gives earthquake data within the magnitude range mag during the time interval start to end.


gives a time series for the specific earthquake property for earthquakes within the magnitude range mag during the time interval start to end.


returns data for a specific earthquake.

Details and Options

  • The location loc can be given as a GeoPosition, {lat,lon}, or {{lat,lon},radius}. radius can be given as a Quantity or a number, in which case it is presumed to be in meters. If no radius is given, a default value of 100 kilometers is used.
  • The location can also be given as a region, using Entity, GeoDisk, Polygon, and Rectangle specifications.
  • The identifier entity for an earthquake is the same as the value of the "Identifier" property. It consists of the two-digit network code and the identification number for that earthquake. Not all earthquakes have a unique identifier.
  • The magnitude mag can be specified as a single value designating a minimum magnitude or as {mag1,mag2} to specify a range of values. Values are assumed to be in the moment magnitude scale or MMS.
  • Dates can be specified as a DateObject or in DateList format.
  • Location, magnitude, and date can also be specified together as Association["Location"->locationspec,"Magnitude"mag,"Date"datespec].
  • The option TimeZone->z allows different time zones to be assumed.
  • The following settings can be used:
  • 0UTC
    $TimeZonethe current time zone for your computer system
    zoffset z for UTC
  • EarthquakeData returns an Association, using earthquake entities as keys. Individual properties are also keys in interior associations.
  • Full properties of EarthquakeData can be obtained by using EarthquakeData["Properties"].
  • Properties that can be specified include:
  • "AzimuthalGap"largest azimuthal gap between azimuthally adjacent stations
    "Depth"depth of the earthquake in kilometers
    "Identifier"network code and event identifier for the earthquake
    "Position"latitude, longitude of earthquake
    "Magnitude"magnitude of earthquake
  • When properties are specified, EarthquakeData returns an EventSeries.
  • Additional properties accessible through general queries include:
  • "PositionMethod"method used to determine location
    "Magnitude"magnitude of earthquake
    "MagnitudeType"method used to measure magnitude
    "NumberOfPhases"number of P and S arrival time observations used to compute the hypocenter location
    "NumberOfStations"number of seismic stations that reported P and S arrival times for this earthquake


open allclose all

Basic Examples  (3)

Find historical earthquakes near a given location:

Discover powerful earthquakes around the world:

Explore the history of earthquakes for a region:

Scope  (14)

Location  (6)

Search for earthquakes near a given latitude and longitude:

Specify a radius to search either as a number (in kilometers) or as a Quantity:

Entity can be used to find earthquakes near a given location:

Specify a range of longitudes and latitudes within which the earthquake must be:

Discover all known earthquakes within a triangular region using Polygon:

GeoDisk can be used to specify a search region:

Identifier  (1)

Find the identifiers for various earthquakes:

Using the identifier, you can query for a specific earthquake directly:

Magnitude  (2)

Specify a lower limit on earthquake magnitudes returned:

Restrict earthquake results to between an upper and lower limit of magnitude:

Date  (1)

Search for earthquakes within a specific date range:

Property  (2)

Find all properties for EarthquakeData:

Examine other properties of earthquakes, such as the recorded depth of the earthquake:

Association Specification  (2)

Date, magnitude, and location can be specified together using Association:

Association specification works with property arguments:

Options  (1)

TimeZone  (1)

Find earthquakes on Dec 21, 2012:

The date specification is given by default in your time zone, as given by $TimeZone:

Use the TimeZone option to specify the time zone of the output date objects:

Use DateObject specifications to control the time zone of the dates in input:

Applications  (3)

Examine the recorded depths versus magnitudes of earthquakes in Japan:

Observe the frequency of recorded earthquakes as a function of their magnitude:

Compare the number of recorded earthquakes since 1980 within 100 kilometers of the capital cities of Europe:

Neat Examples  (4)

Calculate the seismic moment from the moment magnitude scale for the 2011 Tōhoku earthquake:

Extract the formula for from FormulaData:

Visualize the recorded depths of earthquakes and their locations within California:

Map major world earthquakes recorded over the past two decades:

Examine the calculated depths of earthquakes across the world:

Examine recorded earthquakes in and around California:

Wolfram Research (2014), EarthquakeData, Wolfram Language function,


Wolfram Research (2014), EarthquakeData, Wolfram Language function,


Wolfram Language. 2014. "EarthquakeData." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (2014). EarthquakeData. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_earthquakedata, author="Wolfram Research", title="{EarthquakeData}", year="2014", howpublished="\url{}", note=[Accessed: 25-June-2024 ]}


@online{reference.wolfram_2024_earthquakedata, organization={Wolfram Research}, title={EarthquakeData}, year={2014}, url={}, note=[Accessed: 25-June-2024 ]}