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 Required None
limit Number of report True 50

Example

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

Request

  {
    "api_key" : "xycvbnm234ztr"
}  

Response

  {
    "type": "FeatureCollection",
    "metadata": {
        "generated": "Thu, 13 Aug 2020 07:02:50 +0000",
        "url": "https://api.idemc.org/seism/v1/",
        "title": "IDEMC - Earthquake report",
        "status": 200,
        "message": "Data has been published",
        "api": "1.0.4",
        "count": 50,
        "auth": 1
    },
    "features": [
    {
        "id": "S2-238605",
        "type": "Feature",
        "geometry": {
            "type": "Point",
            "coordinates": [
                -116.8073333,
                33.5911667
            ]
        },
        "properties": {
            "main_category": "Geological Event",
            "sub_category": "earthquake",
            "main_category_code": "GE",
            "sub_category_code": "ERQ",
            "conf": "data",
            "infoId": "S2-238605",
            "event_date": "2020-08-13T06:47:16+00:00",
            "event_update": "2020-08-13T06:51:08+00:00",
            "category0": "0003",
            "name0": "Meteorology/Nature",
            "category1": "00030004",
            "name1": "Earthquake information",
            "levelInfo": 2,
            "upDelFg": "N",
            "title": "Seismic Intensity News: Cahuilla California North America",
            "text1": "At Approximately on 13th August at 6:47 AM (UTC), there occurred an earthquake in Cahuilla, California, United States (announcement by USGS).",
            "text2": "According to the incoming information, the epicenter is underground 8 km NW of Cahuilla, California, United States (latitude 33.5911667, longitude -116.8073333), depth of the epicenter is approximately 6.97 km and the magnitude is 1.",
            "magnitude": 1,
            "depth": 6.97,
            "local_time": "2020-08-12T23:47:16-07:00",
            "location": {
                "area_code": "05",
                "area_name": "North America",
                "country_code": "5010",
                "country_name": "United States",
                "administration_area": "California",
                "location": "8 km NW of Cahuilla"
            },
            "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"
            },
            "pager": "N/A",
            "data_provider": "USGS",
            "data_confidence": 1
        }
    }
}  

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.4",
        "count": 0
    }
}  

Resource Information

Rate Limited True
Response Format GeoJSON
Authentication Yes