AHEAD European Archive of Historical EArthquake Data

  FDSN event web service  

> AHEAD Web services homepage

Event parameters stored in AHEAD can be retrieved using this fdsnws-event standard webservice.

Here a typical request call:
https://www.emidius.eu/fdsnws/event/1/query?param1=xxx&param2=xxx&...

If you know the event identifier, you may retrieve it directly by entering
https://www.emidius.eu/fdsnws/event/1/query?eventid=xxx
Alternatively, you may enter
https://www.emidius.eu/fdsnws/event/1/id/xxxx
Where "xxxx" is the event identifier.

Index

*** WARNINGS ***

This web service is still under development, therefore data provided should not be used as input for any sensitive scientific purpose, output data is not extensively checked, their encoding might change withour prior notice, and it is only provided for testing the web service.

By default the number of earthquakes provided by each query is limited to 100 events. You may obtain more earthquakes by altering the default "limit" value.

Before downloading data you should carefully read the AHEAD copyright notice, and the disclaimer.
In any case, if you use these data to produce anything that will be made public, you should reference data as downloaded from AHEAD, citing also the original author of the data set.

If you encounter what you think is a bug, find a weird behaviour of the service, or spot errors in the output, you are kindly asked to get in touch with the developer, detailing the issues.

Query builder

To simplify the use of the AHEAD FDSN-event, a convenient, user-friendly graphical front-end called "Query builder" is provided.
Using the Query builder you may learn how to combine the available parameters and get the output from the web service in a human friendly format.

You may find it at:

https://www.emidius.eu/AHEAD/services/query_builder/

Specific event ID request

Parameter Default Description
eventid Type: text, 17 characters

Select a specific event by enetering the event identifier.
AHEAD event identifiers are based on the date (up to minutes), and a progressive number of maximum 3 characters (999).

Event identifier structure (the number is the char position):

  • 1-4 year
  • 5-6 month
  • 7-8 day
  • 9 "_"
  • 10-11 hour
  • 12-13 minutes
  • 14 "_"
  • 15-17 progressive number between 001 and 999

Example:
https://www.emidius.eu/fdsnws/event/1/query?eventid=quakeml:eu.ahead/event/13480125_1530_000

Alternatively, you may use the contracted form

https://www.emidius.eu/fdsnws/event/1/query?eventid=13480125_1530_000

Time constraints

Parameter Default Description
starttime
(abbrev. start)
Type: text
Unit: date and time *
Allowed values: between year 1000 and 1899-12-31T23:59

Limit to events on or after the specified start time.

endtime
(abbrev. end)
Type: text
Unit: date and time *
Allowed values: between year 1000 and 1899-12-31T23:59

Limit to events on or before the specified end time.

updatedafter Type: text
Unit: date and time *
Allowable values: greater than 2013-12-31

Limit to events updated in AHEAD after the specified time.
Useful for synchronizing events.

* Date and time can be written in one of the followinf formats
  - YYYY-MM-DDThh:mm
  - YYYY-MM-DDThh
  - YYYY-MM-DD
  - YYYY-MM
  - YYYY

Where
- YYYY, the year, always four-digits (1000-1899)
- MM, the month, always two-digits (01-12)
- DD, the day, always two-digits (01-31)
- T, date-time separator, you must use it if you enter the time
- hh, the hour, always two digits (00-23, AM/PM not allowed)
- mm, the minute, always two digits (00-59)

Notes
- if start is later than end, the system will be fault tolerant and will fix the error;
- due to the historical nature of data contained in AHEAD, seconds are ignored

Example
https://www.emidius.eu/fdsnws/event/1/query?starttime=1742&endtime=1743-02-20

or using abbreviated parameters:
https://www.emidius.eu/fdsnws/event/1/query?start=1742&end=1743-02-20

Geographic constraints

Box area constraints (in alternative to Circle constraints)

Parameter Default Description
minlatitude
(abbrev. minlat)
-90 Type: float
Unit: decimal degrees
Allowed values: between -90 and 90

Limit to events with a latitude larger than or equal to the specified minimum.

maxlatitude
(abbrev. maxlat)
90 Type: float
Unit: decimal degrees
Allowed values: between -90 and 90

Limit to events with a latitude smaller than or equal to the specified maximum.

minlongitude
(abbrev. minlon)
-180 Type: float
Unit: decimal degrees
Allowed values: between -180 and 180

Limit to events with a longitude larger than or equal to the specified minimum.

maxlongitude
(abbrev. maxlon)
180 Type: float
Unit: decimal degrees
Allowed values: between -180 and 180

Limit to events with a longitude smaller than or equal to the specified maximum.

Example
https://www.emidius.eu/fdsnws/event/1/query?minlat=44.559&maxlat=47.354&minlon=11.942&maxlon=14.513&limit=300

Circle constraints (in alternative to Box area constraints)

Parameter Default Description
latitude
(abbrev. lat)
0 Type: float
Unit: decimal degrees
Allowed values: between -90 and 90

Specify the latitude to be used for a radius search.

longitude
(abbrev. lon)
0 Type: float
Unit: decimal degrees
Allowed values: between -180 and 180

Specify the longitude to the used for a radius search.

minradius 0 Type: float
Unit: geographical degrees

Limit to events within the specified minimum number of degrees from the geographic point defined by the latitude and longitude parameters.

maxradius 1 Type: float
Unit: geographical degrees
Allowed values: between 1 and 5

Limit to events within the specified maximum number of degrees from the geographic point defined by the latitude and longitude parameters.

Example
https://www.emidius.eu/fdsnws/event/1/query?lat=45.956&lon=13.227&maxradius=100&limit=300

Magnitude constraints

Parameter Default Description
minmagnitude
(abbrev. minmag)
Type: float
Unit: magnitude

Limit to events with a magnitude larger than the specified minimum.

maxmagnitude
(abbrev. maxmag)
Type: float
Unit: magnitude

Limit to events with a magnitude smaller than the specified maximum.

magnitudetype
(abbrev. magtype)
Type: text
Allowed values: ML, Ms, mb, Mw, nd

Specify a magnitude type to use for testing the minimum and maximum limits.
As of today, AHEAD adopts the SHEEC 1000-1899 catalogue as the preferred solution for magnitudes, consequently all are expressed in Mw.
Code explanation:
- ML, local magnitude
- Ms, surface wave magnitude
- mb, body-wave magnitude
- Mw, moment magnitude
- nd, not determined

Example:
https://www.emidius.eu/fdsnws/event/1/query?minmag=5.6&maxmag=5.9

Data source constraints

Parameter Default Description
catalog Type: text
Allowed values:

Limit to events from a specified catalog.

contributor Type: text
Allowed values:

Limit to events contributed by a specified contributor.

Output data structure

Parameter Default Description
format xml Type: text
Allowed values: text, xml, json

Specify the format of result, either ‘xml’ (default) or ‘text’.
The xml format is encoded using QuakeML 1.2.

orderby time Type: text
Allowed values: time, time-asc, magnitude, magnitude-asc

Order the result by time or magnitude with the following possibilities:
time: order by origin descending time
time-asc: order by origin ascending time
magnitude: order by descending magnitude
magnitude-asc: order by ascending magnitude

includeallorigins false Type: boolean
Allowed values: true/false (case insensitive)

Specify if all origins for the event should be included. By default only the preferred origin only is included..

includeallmagnitudes false Type: boolean
Allowed values: true/false (case insensitive)

Specify if all magnitudes for the event should be included. By default only the preferred magnitude only is included.

limit 100 Type: integer
Allowed values: between 1 and 5000

Limit the results to the specified number of events.

offset 1 Type: integer
Allowable values:

Return results starting at the event count specified, starting at 1.

nodata 204 Type: boolean
Allowable values: 204, 404

Select status code for “no data”, either ‘204’ or ‘404’.

Non standard parameters

Parameter Default Description
minradiuskm 0 Type: float
Unit: km

Limit to events within the specified minimum number of kilometers (km) from the geographic point defined by the latitude and longitude parameters.

maxradiuskm 50 Type: float
Unit: km
Allowed values: between 1 and 500

Limit to events within the specified maximum number of kilometers (km) from the geographic point defined by the latitude and longitude parameters.

contributorid false Type: text
Allowed values: true/false (case insensitive)

Request the event identifier provided by a contributor.
This parameter will only works when the parameter "contributor" is submitted.

Not supported fdsnws-event parameters

The following parameters will be ignored by the service.

Parameter Default Description
mindepth Type: float
Unit: km

Limit to events with depth more than the specified minimum.

maxdepth Type: float
Unit: km

Limit to events with depth less than the specified maximum.

includearrivals Type: boolean
Allowed values: true/false (case insensitive)

Specify if phase arrivals should be included.