← Agent Data Hub · Search endpoints · /llms.txt
Earthquakes from the USGS catalogue (ANSS ComCat, worldwide, historic quakes back to 1700) for a country or a state (by its outline, quakes at sea go to the nearest coast within 300 km, none from the neighbouring country), around a place (radius), or the whole world; any period; strongest or newest first, up to 50 events with magnitude, time, depth, coordinates and the USGS event page, plus how many quakes match. Data: USGS (public domain). E.g. the largest earthquake in California, quakes near Istanbul, the strongest quake of 2023 in Turkey, quakes in Japan today.
GET https://api.agentdatahub.de/api/v1/call/earthquake-catalog?country=JP&start=2024&end=2024&limit=5&compact=1
Full metadata: verbose=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"earthquake-catalog"}
curl:
curl -s 'https://api.agentdatahub.de/api/v1/call/earthquake-catalog?country=JP&start=2024&end=2024&limit=5&compact=1'
Python (standard library only):
import json, urllib.request
url = "https://api.agentdatahub.de/api/v1/call/earthquake-catalog?country=JP&start=2024&end=2024&limit=5&compact=1"
with urllib.request.urlopen(url, timeout=30) as r:
data = json.load(r)
print(json.dumps(data, indent=2)[:2000])
Google Sheets:
=IMPORTDATA("https://api.agentdatahub.de/api/v1/history/earthquake-catalog?country=JP&start=2024&end=2024&limit=5&_order=desc&_limit=500&format=csv")
The recorded history of this call as CSV, newest first. Excel: Data → From Web with the same address.
country | ISO-2 country code (e.g. JP, TR, US), or ISO 3166-2 code of a state or province in AU, BR, CA, CN, ID, IN, RU, US, ZA (e.g. US-CA); 1W or empty for the whole world (default: world) |
near | Optional city or place name: only quakes within radius_km of it (e.g. Istanbul) |
lat | Optional latitude of the centre instead of near |
lon | Optional longitude of the centre instead of near |
radius_km | Radius around near or lat/lon in km, up to 2000 (default: 100) |
start | Start, YYYY, YYYY-MM or YYYY-MM-DD (default: whole catalogue when sorted by magnitude, last 30 days when sorted by time) |
end | End, YYYY, YYYY-MM or YYYY-MM-DD, inclusive (default: now) |
days | Optional: only the last N days instead of start/end, e.g. 1 for today |
min_magnitude | Optional minimum magnitude, e.g. 4.5 (default: none; sorted by magnitude over more than 90 days 6, then 4.5, then 2.5 until enough quakes are found) |
sort | magnitude (default, strongest first) or time (newest first) |
limit | Max events, 1-50 (default: 10) |
{
"apiId": "earthquake-catalog",
"trust": "checked",
"data_freshness": "cached",
"data": {
"area": {
"code": "JP",
"name": "Japan",
"level": "country"
},
"period": {
"start_utc": "2024-01-01T00:00:00.000Z",
"end_utc": "2024-12-31T23:59:59.999Z"
},
"sorted_by": "magnitude",
"min_magnitude": 6,
"total_matching": 8,
"returned": 5,
"earthquakes": [
{
"magnitude": 7.5,
"magnitude_type": "mww",
"time_utc": "2024-01-01T07:10:09.476Z",
"place": "2024 Noto Peninsula, Japan Earthquake",
"latitude": 37.4874,
"longitude": 137.271,
"depth_km": 10,
"tsunami_evaluation_flag": true,
"usgs_event_id": "us6000m0xl",
"usgs_url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000m0xl"
},
{
"magnitude": 7.1,
"magnitude_type": "mww",
"time_utc": "2024-08-08T07:42:55.206Z",
"place": "2024 Hyuganada Sea, Japan Earthquake",
"latitude": 31.7599,
"longitude": 131.5021,
"depth_km": 24,
"tsunami_evaluation_flag": false,
"usgs_event_id": "us6000nith",
"usgs_url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000nith"
},
{
"magnitude": 6.5,
"magnitude_type": "mww",
"time_utc": "2024-04-27T08:35:34.207Z",
"place": "Bonin Islands, Japan region",
"latitude": 27.8209,
"longitude": 139.6186,
"depth_km": 496,
"tsunami_evaluation_flag": true,
"usgs_event_id": "us6000mu8k",
"usgs_url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000mu8k"
},
{
"magnitude": 6.3,
"magnitude_type": "mww",
"time_utc": "2024-04-17T14:14:46.694Z",
"place": "18 km W of Uwajima, Japan",
"latitude": 33.2503,
"longitude": 132.3647,
"depth_km": 32,
"tsunami_evaluation_flag": false,
"usgs_event_id": "us7000mcpi",
"usgs_url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000mcpi"
},
{
"magnitude": 6.2,
"magnitude_type": "mb",
"time_utc": "2024-01-01T07:18:41.584Z",
"place": "8 km SW of Anamizu, Japan",
"latitude": 37.1895,
"longitude": 136.8272,
"depth_km": 10,
"tsunami_evaluation_flag": false,
"usgs_event_id": "us6000m0xm",
"usgs_url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000m0xm"
}
],
"note": "Quakes inside the outline of Japan, or at sea with it the nearest land within 300 km; quakes inside another country are left out. Only magnitude 6 and above were asked; pass min_magnitude for smaller quakes. Magnitudes and times as USGS lists them now; USGS revises recent events.",
"attribution": "Earthquakes: U.S. Geological Survey, ANSS Comprehensive Earthquake Catalog (ComCat), public domain. Country and state outlines: Natural Earth (public domain)."
},
"source": "U.S. Geological Survey (USGS) ANSS Comprehensive Earthquake Catalog via FDSN event service; outlines Natural Earth",
"source_url": "https://earthquake.usgs.gov/fdsnws/event/1/",
"license": "U.S. Government Public Domain; Natural Earth public domain",
"licence_status": "green",
"as_of": "2026-12-02",
"as_of_basis": "fetched",
"checked": "2026-12-02"
}
Recorded history available: /api/v1/history/earthquake-catalog?country=JP&start=2024&end=2024&limit=5
| Source | U.S. Geological Survey (USGS) ANSS Comprehensive Earthquake Catalog via FDSN event service; outlines Natural Earth |
| License | U.S. Government Public Domain; Natural Earth public domain |
| Source URL | https://earthquake.usgs.gov/fdsnws/event/1/ |
| Terms | https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits |
| Category | Geodata, Weather & Environment › 1. AI Geo & Weather 360° Briefings · more: energy-de-electricity-price · energy-de-generation-history · energy-de-generation-mix |