This API service summarizes earthquake reports from 9 different seismological institutes. The original master data is supplemented, analyzed, and published by IDEMC in a uniform, standard, GeoJSON format.

Limitation: Query time interval must be less than one minute. This will allow 1440 queries per day.

Resource URL

https://api.idemc.org/seism/v1/

Parameters

ParameterDescriptionOptionalDefault
api_key Authentication API key
limit Number of report True 50

Example

POST https://api.idemc.org/seism/v1/

Request

  {
    "api_key" => "xycvbnm234ztr"
}  

Response

  {
    "type": "FeatureCollection",
    "metadata": {
        "generated": "Thu, 16 Jan 2020 12:54:03 +0000",
        "url": "https://api.idemc.org/seism/v1/",
        "title": "IDEMC - Earthquake report",
        "status": 200,
        "message": "Data has been published",
        "api": "1.0.1",
        "count": 1,
        "auth": 1
    },
    "features": [
        {
            "id": "S2-68037",
            "type": "Feature",
            "geometry": {
                "type": "Point",
                "coordinates": [
                    -117.6741667,
                    35.9696667
                ]
            },
            "properties": {
                "conf": "data",
                "infoId": "S2-68037",
                "publishTime": "2020-01-16 12:43:38",
                "category0": 3,
                "name0": "Meteorology/Nature",
                "category1": 30004,
                "name1": "Earthquake information",
                "levelInfo": 2,
                "upDelFg": "N",
                "title": "Seismic Intensity News: Junction Ranch California North-America",
                "text1": "At Approximately on 16th January at 12:01 PM (UTC), there occurred an earthquake in Junction Ranch, California, United States (announcement by USGS).",
                "text2": "According to the incoming information, the epicenter is underground 18 km SW of Junction Ranch, California, United States (latitude 35.9696667, longitude -117.6741667), depth of the epicenter is approximately 2.63 km and the magnitude is 1.3.",
                "magnitude": 1.3,
                "depth": 2.63,
                "event_time": "2020-01-16 12:43:38",
                "local_time": "2020-01-16 20:43:38",
                "continent": "North-America",
                "country": "United States",
                "administration_area": "California",
                "location": "18 km SW of Junction Ranch",
                "classification": "Micro",
                "hypocenter": "Shallow depth",
                "mercalli_scale": 1,
                "mercalli_scale_definition": "People do not feel any Earth movement.",
                "surface": {
                    "underwater_quake": "No",
                    "tsunami_region_name": 0,
                    "water_surface_name": 0
                },
                "data_provider": "USGS"
            }
        }
    ]
}  

Error Response

  {
    "type": "FeatureCollection",
    "metadata": {
        "generated": "Mon, 25 Nov 2019 16:15:54 +0000",
        "url": "https://api.idemc.org/seism/v1/",
        "title": "IDEMC - Earthquake report",
        "status": 600,
        "message": "Wrong, missing or expired api key",
        "api": "1.0.1",
        "count": 0
    }
}  

Resource Information

Rate Limited True
Response Format GeoJSON
Authentication 1