Earthquake alerts

Do you want to integrate earthquake alerts? We made a service for that!

First, you have to connect to our public mqtt server. Then subscribe to “earthquake” topic.

You will receive data for every earthquake as JSON, as shown below:

{“action”:”create”,”data”:{
“geometry”: {
“type”: “Point”,
“coordinates”: [
-96.76,
35.95,
-5.0
] },
“type”: “Feature”,
“id”: “20181031_0000033”,
“properties”: {
“lastupdate”: “2018-10-31T09:48:00.0Z”,
“magtype”: “mb”,
“evtype”: “ke”,
“lon”: -96.76,
“auth”: “NEIC”,
“lat”: 35.95,
“depth”: 5.0,
“unid”: “20181031_0000033”,
“mag”: 2.7,
“time”: “2018-10-31T09:34:14.2Z”,
“source_id”: “721813”,
“source_catalog”: “EMSC-RTS”,
“flynn_region”: “OKLAHOMA”
}
}}

 

We are storing all data on “flynn_region” so it will be easier for you to use it in your application. Check out this list.

We also have a tutorial on how to do this in Node-Red. Check it out!