The Quake Search application allows you to search the New Zealand earthquake catalogue using temporal, spatial, depth and magnitude constraints. You can build queries to request data in different formats, or show search results on an interactive map.
In many of the queries below you will need to specify the Public Id of the earthquake of interest. The Public Id is a unique reference code for an earthquake; in these examples it is 2013p614135. Pre-2012 quakes have Public IDs that are 5- to 7-digit numbers.
If you just want a simple CSV representation of the picks and/or location, use:
- Event information only: http://quakeml.geonet.org.nz/csv/1.0.0/2013p614135/event
- Pick information only: http://quakeml.geonet.org.nz/csv/1.0.0/2013p614135/picks
- Event and pick information: http://quakeml.geonet.org.nz/csv/1.0.0/2013p614135/event/picks
A single quake: http://www.geonet.org.nz/quakes/services/quake/2013p614135.json
The thirty most recent quakes: http://www.geonet.org.nz/quakes/services/all.json
The thirty most recent quakes that may have been felt: http://www.geonet.org.nz/quakes/services/felt.json
Felt reports submitted by users: http://api.geonet.org.nz/intensity?type=reported&publicID=2013p614135 (most quakes are not felt and have no felt reports submitted for them)
- A single quake: http://www.geonet.org.nz/quakes/services/quake/2013p614135.kml
- The thirty most recent quakes: http://www.geonet.org.nz/quakes/services/all.kml
- The thirty most recent quakes that may have been felt: http://www.geonet.org.nz/quakes/services/felt.kml
QuakeML is an XML representation of seismological data. The latest version is 1.2.
- QuakeML 1.2 format: http://quakeml.geonet.org.nz/quakeml/1.2/2013p614135
- QuakeML 1.2-RT format: http://quakeml.geonet.org.nz/quakeml-rt/1.2/2013p614135
- The thirty most recent quakes: http://www.geonet.org.nz/quakes/services/all.rss
- The thirty most recent quakes that may have been felt: http://www.geonet.org.nz/quakes/services/felt.rss
Consuming the services
We use caching for the website and services. We dynamically manage the cache content to make sure that it is up to date as soon as we have new earthquake information available. If you're polling the web services for some purpose please do not add extra parameters to the query in an attempt to subvert the caching. We would prefer that you poll more frequently than manipulate the URL. We would prefer not to have to rate limit the services so please use them appropriately.