ESM Website-events

Sample requests

Publicly Available Data

Data can be obtained using any program supporting the HTTP-GET method, e.g. your favourite web browser:

Restricted Data (authenticated users only)

ESM Administrators and users with special authorizations can access data intended for internal use and/or embargoed.
Data can be obtained using any program supporting the HTTP-POST method, e.g. CURL:

HTTP-POST variables (required)

Option Description
messageThe clearsign token obtained from the generate-signed-message authentication webservice.

Query options

Option Description Default
output-fileFilename of the output file. '.csv' in case of '--oformat csv', '.json' with '--oformat geojson', and '.kml' with '--oformat kml'output.csv
output-format{json,geojson,kml,csv}
Specify format of result
json
json-output-style{compact,verbose}
Specify a style for output
compact
indent-json{True,False}
Valid only in combination with 'json' format. Prettifies output setting a 4 spaces indentation style.
False
pagination-limitPagination limit. Dafault value '0' corresponds to no limit raws for the results.0
pagination-offset{True,False}
Pagination offset. Dafault value '0' corresponds to no pgination.
False
orderby-fieldResults are shown ordered by field-directiondate
orderby-direction{'desc','asc'}
Direction of the orderby-field parameter.
desc
QUICK SEARCH
esm-idSelect a specific event by ESM-ID according to the ESM database. Event ids containing the specified string will be selected.n/a
event-nameSelect a specific event by ID; Event names containing the specified string will be selected.n/a
date-time-fromLimit to events on or after the specified start time. Allowed formats: 'YYYY-MM-DDTHH:MM:SS' and 'YYYY-MM-DD'.1900-01-01T00:00:00
date-time-toLimit to events on or before the specified end time. Allowed formats: 'YYYY-MM-DDTHH:MM:SS' and 'YYYY-MM-DD'.'2100-01-01T00:00:00'
min-number-of-recordsLimit to events with an associated waveforms number larger than the specified minimum.0
GEOPHYSICAL METADATA
hypocentral-depth-fromLimit to events with hypocentral depth (in km) greater than the specified minimum.0
hypocentral-depth-toLimit to events with hypocentral depth (in km) smaller than the specified minimum.100000
magnitude-fromLimit to events with the preferred magnitude larger than the specified minimum.0
magnitude-toLimit to events with the preferred magnitude smaller than the specified minimum.10
style-of-faulting{NF,NS,O,SS,TF,TS,U,any}
Specify the style of faulting ('NF' = normal faulting; 'TF' = thrust faulting; 'SS' = strike-slip faulting; 'U' = unknown).
any
GEOGRAPHIC METADATA
latitude-fromLimit to events with a latitude larger than or equal to the specified minimum.-90
latitude-toLimit to events with a latitude smaller than or equal to the specified maximum.90
longitude-fromLimit to events with a longitude larger than or equal to the specified minimum.-180
longitude-toLimit to events with a longitude smaller than or equal to the specified maximum.180
event-countryISO code of country in which the event occurred.any
EVENTS PER STATION
network-codeSelect one network code.n/a
station-codeSpecify one station code. n/a

 


Backend Python software used by this web service is developed and maintained by Felicetta C. and Russo E.