Skip to content

EMSC API

6 endpointsGovernment & Open DataGlobalsocial:read5 real examples

Returns earthquakes from the Euro-Mediterranean Seismological Centre: latest, searched by window, nearby, counts and single events.

View as Markdown
GET/emsc/latestThe most recent earthquakes in the Euro-Mediterranean region, newest first.
GET/emsc/searchEarthquakes in a time window and above a magnitude, newest first.
GET/emsc/strongestThe strongest earthquakes of the Euro-Mediterranean region in a time window, largest magnitude first: the big events of a year, or of all time.
GET/emsc/nearbyEarthquakes within a radius of a point, newest first.
GET/emsc/countHow many earthquakes the Seismic Portal lists for a magnitude and date window (30 days by default).
GET/emsc/quakeOne earthquake by its EMSC event id, such as 20240101_0000001.

latest

GET/v1/emsc/latest

The most recent earthquakes in the Euro-Mediterranean region, newest first.

scope social:read1 unitcached 1 minpaginated

Parameters

minMagnitude
string
Smallest magnitude, such as 3.
limit
integer
Items per page, 1 to 200.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
authoritystring
depthKmnumber (double)
idstring
latitudenumber (double)
longitudenumber (double)
magnitudenumber (double)
magnitudeTypestring
originAtstring
regionstring
urlstring
curl "https://api.hoshime.com/v1/emsc/latest" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authority": "INGV",
      "depthKm": 8.9,
      "id": "20261106_0000221",
      "latitude": 42.7178,
      "longitude": 12.4775,
      "magnitude": 2.1,
      "magnitudeType": "ml",
      "originAt": "2026-11-06T17:49:26Z",
      "region": "CENTRAL ITALY",
      "url": "https://www.emsc-csem.org/Earthquake/earthquake.php?id=20261106_0000221"
    },
    {
      "authority": "BMKG",
      "depthKm": 10,
      "id": "20261106_0000220",
      "latitude": -2.9,
      "longitude": 122.39,
      "magnitude": 3.5,
      "magnitudeType": "m",
      "originAt": "2026-11-06T17:38:51Z",
      "region": "SULAWESI, INDONESIA",
      "url": "https://www.emsc-csem.org/Earthquake/earthquake.php?id=20261106_0000220"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "latest",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "emsc",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

strongest

GET/v1/emsc/strongest

The strongest earthquakes of the Euro-Mediterranean region in a time window, largest magnitude first: the big events of a year, or of all time.

scope social:read1 unitcached 30 minpaginated

Parameters

minMagnitude
string
Smallest magnitude, such as 5.
start
string
Start date, YYYY-MM-DD (UTC). Leave it out for the whole catalogue.
e.g. 2023-02-01
end
string
End date, YYYY-MM-DD (UTC). Defaults to now.
e.g. 2023-02-28
limit
integer
Items per page, 1 to 200.
default 20e.g. 3
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
authoritystring
depthKmnumber (double)
idstring
latitudenumber (double)
longitudenumber (double)
magnitudenumber (double)
magnitudeTypestring
originAtstring
regionstring
urlstring
curl "https://api.hoshime.com/v1/emsc/strongest?start=2023-02-01&end=2023-02-28&limit=3" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "authority": "…",
      "depthKm": 0,
      "id": "abc123",
      "latitude": 0,
      "longitude": 0,
      "magnitude": 0,
      "magnitudeType": "…",
      "originAt": "2026-11-06T09:41:00Z",
      "region": "…",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "strongest",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "emsc",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

nearby

GET/v1/emsc/nearby

Earthquakes within a radius of a point, newest first.

scope social:read1 unitcached 5 minpaginated

Parameters

lat
string
required
Latitude of the centre, -90 to 90.
e.g. 38.11
lon
string
required
Longitude of the centre, -180 to 180.
e.g. 37.24
radiusKm
string
Radius in kilometres, from 1 to 1000.
default 100e.g. 50
minMagnitude
string
Smallest magnitude, such as 3.
e.g. 7
start
string
Start date, YYYY-MM-DD (UTC).
e.g. 2023-02-01
end
string
End date, YYYY-MM-DD (UTC). Defaults to now.
e.g. 2023-02-28
limit
integer
Items per page, 1 to 200.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
authoritystring
depthKmnumber (double)
idstring
latitudenumber (double)
longitudenumber (double)
magnitudenumber (double)
magnitudeTypestring
originAtstring
regionstring
urlstring
curl "https://api.hoshime.com/v1/emsc/nearby?lat=38.11&lon=37.24&radiusKm=50&minMagnitude=7&start=2023-02-01&end=2023-02-28" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "authority": "EMSC",
      "depthKm": 10,
      "id": "20230206_0000222",
      "latitude": 38.11,
      "longitude": 37.24,
      "magnitude": 7.5,
      "magnitudeType": "mw",
      "originAt": "2023-02-06T10:24:49Z",
      "region": "CENTRAL TURKEY",
      "url": "https://www.emsc-csem.org/Earthquake/earthquake.php?id=20230206_0000222"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "nearby",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "emsc",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

count

GET/v1/emsc/count

How many earthquakes the Seismic Portal lists for a magnitude and date window (30 days by default).

scope social:read1 unitcached 30 min

Parameters

minMagnitude
string
Smallest magnitude, such as 5.
e.g. 5
start
string
Start date, YYYY-MM-DD (UTC). Defaults to 30 days ago.
e.g. 2024-01-01
end
string
End date, YYYY-MM-DD (UTC). Defaults to now.
e.g. 2024-01-08
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
countinteger (int64)
endDatestring
minMagnitudestring
startDatestring
curl "https://api.hoshime.com/v1/emsc/count?minMagnitude=5&start=2024-01-01&end=2024-01-08" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "count": 45,
    "endDate": "2024-01-08",
    "minMagnitude": "5",
    "startDate": "2024-01-01"
  },
  "meta": {
    "cached": false,
    "endpoint": "count",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "emsc",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

quake

GET/v1/emsc/quake

One earthquake by its EMSC event id, such as 20240101_0000001.

scope social:read1 unitcached 1 h

Parameters

id
string
required
EMSC event id, such as 20240101_0000001.
e.g. 20240101_0000001
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
authoritystring
depthKmnumber (double)
idstring
latitudenumber (double)
longitudenumber (double)
magnitudenumber (double)
magnitudeTypestring
originAtstring
regionstring
urlstring
curl "https://api.hoshime.com/v1/emsc/quake?id=20240101_0000001" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "authority": "THE",
    "depthKm": 10,
    "id": "20240101_0000001",
    "latitude": 35.14,
    "longitude": 24.12,
    "magnitude": 2.3,
    "magnitudeType": "ml",
    "originAt": "2024-01-01T00:00:29Z",
    "region": "CRETE, GREECE",
    "url": "https://www.emsc-csem.org/Earthquake/earthquake.php?id=20240101_0000001"
  },
  "meta": {
    "cached": false,
    "endpoint": "quake",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "emsc",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open