Earthquakes
Visualizes earthquakes on a zoomable map as circles at the epicenter's coordinates with a radius corresponding to each earthquake's magnitude and hoverable tags over each circle
Sample JSON response
{
"type": "FeatureCollection",
"metadata": {
"generated": 1574451555000,
"url": "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2019-10-13&endtime=2019-10-16",
"title": "USGS Earthquakes",
"status": 200,
"api": "1.8.1",
"count": 1470
},
"features": [
{
"type": "Feature",
"properties": {
"mag": 1.3,
"place": "58km SSW of Redoubt Volcano, Alaska",
"time": 1571183323829,
"updated": 1573176454895,
"tz": -540,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/ak019d8oraxu",
"detail": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=ak019d8oraxu&format=geojson",
"felt": null,
"cdi": null,
"mmi": null,
"alert": null,
"status": "reviewed",
"tsunami": 0,
"sig": 26,
"net": "ak",
"code": "019d8oraxu",
"ids": ",av62093936,ak019d8oraxu,",
"sources": ",av,ak,",
"types": ",geoserve,origin,phase-data,",
"nst": null,
"dmin": null,
"rms": 0.5,
"gap": null,
"magType": "ml",
"type": "earthquake",
"title": "M 1.3 - 58km SSW of Redoubt Volcano, Alaska"
},
"geometry": {
"type": "Point",
"coordinates": [
-153.08629999999999,
59.991799999999998,
1.3999999999999999
]
},
"id": "ak019d8oraxu"
},
{
"type": "Feature",
"properties": {
"mag": 0.76000000000000001,
"place": "14km SSW of Searles Valley, CA",
"time": 1571183187360,
"updated": 1571183397202,
"tz": -480,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/ci39134488",
"detail": "https://earthquake.usgs.gov/fdsnws/event/1/query?eventid=ci39134488&format=geojson",
"felt": null,
"cdi": null,
"mmi": null,
"alert": null,
"status": "automatic",
"tsunami": 0,
"sig": 9,
"net": "ci",
"code": "39134488",
"ids": ",ci39134488,",
"sources": ",ci,",
"types": ",geoserve,nearby-cities,origin,phase-data,scitech-link,",
"nst": 11,
"dmin": 0.043630000000000002,
"rms": 0.11,
"gap": 96,
"magType": "ml",
"type": "earthquake",
"title": "M 0.8 - 14km SSW of Searles Valley, CA"
},
"geometry": {
"type": "Point",
"coordinates": [
-117.4746667,
35.6516667,
8.6899999999999995
]
},
"id": "ci39134488"
},
...
Sample Map
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
format | string | ||
starttime | string | ||
endtime | string |