Recent earthquakes API: USGS quakes for the past day or week
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
Recent earthquakes worldwide from the US Geological Survey: magnitude, place, time, depth, coordinates, tsunami flag and USGS link, for the past day or week, filtered by minimum magnitude (2.5, 4.5 or significant). Use for alerts, news and travel checks.
When to use it
- Alerts, news and travel checks
- Filter by minimum magnitude 2.5, 4.5 or significant
- Get magnitude, place, time, depth, coordinates, tsunami flag and USGS link
Inputs
| Name | Type | Description |
|---|---|---|
period | string | hour, day (default), week or month |
minMagnitude | string | Smallest magnitude to include, 0-10 (default 2.5), or significant |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/earthquakes?period=day"
Node.js
const r = await fetch("https://agent-data-tools.revmesh2074.workers.dev/earthquakes?period=day", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://agent-data-tools.revmesh2074.workers.dev/earthquakes?period=day", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://agent-data-tools.revmesh2074.workers.dev/earthquakes?period=day&trial=1"
The same tool answers at https://api.glyphcall.com/earthquakes: one key, the same price and the same payment terms on both hosts.
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Live result
The real answer to the request above, read 2026-12-05 02:47 UTC and refreshed every 15 minutes.
{
"period": "day",
"minMagnitude": "2.5",
"count": 82,
"earthquakes": [
{
"magnitude": 2.9,
"place": "16 km SW of Susitna, Alaska",
"time": "2026-12-05T01:08:47.420Z",
"depthKm": 59.1,
"lat": 61.433,
"lon": -150.712,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026yajqdj"
},
{
"magnitude": 3.2,
"place": "9 km W of Anchor Point, Alaska",
"time": "2026-12-05T01:01:05.770Z",
"depthKm": 73.6,
"lat": 59.77,
"lon": -152.008,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026yajldb"
},
{
"magnitude": 2.58,
"place": "6 km E of Calumet, Oklahoma",
"time": "2026-12-05T00:27:16.449Z",
"depthKm": 6.41,
"lat": 35.61283333,
"lon": -98.04683333,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/ok2026xtoy"
},
{
"magnitude": 2.8,
"place": "6 km N of Lake Henshaw, CA",
"time": "2026-12-05T00:21:32.230Z",
"depthKm": 12.05,
"lat": 33.29317,
"lon": -116.76334,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/ci41585528"
},
{
"magnitude": 2.6,
"place": "31 km N of Paxson, Alaska",
"time": "2026-12-04T23:58:18.852Z",
"depthKm": 0.6,
"lat": 63.367,
"lon": -145.533,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026yahiql"
},
{
"magnitude": 3.8,
"place": "36 km SSW of Covenant Life, Alaska",
"time": "2026-12-04T23:50:49.708Z",
"depthKm": 5,
"lat": 59.095,
"lon": -136.173,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026yahchd"
},
{
"magnitude": 2.59,
"place": "4 km SSE of Pāhala, Hawaii",
"time": "2026-12-04T23:44:57.660Z",
"depthKm": 31.0200004577637,
"lat": 19.1668338775635,
"lon": -155.465835571289,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/hv75080372"
},
{
"magnitude": 2.8,
"place": "9 km SE of Gustavus, Alaska",
"time": "2026-12-04T23:11:06.672Z",
"depthKm": 5,
"lat": 58.353,
"lon": -135.622,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026yaftsd"
},
{
"magnitude": 2.99,
"place": "22 km NNE of Vieques, Puerto Rico",
"time": "2026-12-04T22:42:04.390Z",
"depthKm": 79.36,
"lat": 18.6205,
"lon": -65.7601666666667,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/pr71540818"
},
{
"magnitude": 6.4,
"place": "Fiji region",
"time": "2026-12-04T22:15:57.478Z",
"depthKm": 575.302,
"lat": -21.9251,
"lon": -179.5892,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ufsm"
},
{
"magnitude": 2.6,
"place": "26 km ESE of Kasilof, Alaska",
"time": "2026-12-04T21:49:22.648Z",
"depthKm": 56.5,
"lat": 60.207,
"lon": -150.871,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026yadaui"
},
{
"magnitude": 2.73,
"place": "3 km SE of Aromas, CA",
"time": "2026-12-04T19:29:29.830Z",
"depthKm": 6.3899998664856,
"lat": 36.8686676025391,
"lon": -121.619834899902,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/nc75473696"
},
{
"magnitude": 4.2,
"place": "6 km S of Lampitak, Philippines",
"time": "2026-12-04T18:54:13.277Z",
"depthKm": 273.878,
"lat": 6.3753,
"lon": 125.0554,
"tsunami": false,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000ufq1"
},
{
"magnitu
…
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is earthquakes, and the first 10 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp
Questions
Where does the data come from?
The US Geological Survey feeds for the past day or week.
How do I pay?
Each successful call costs $0.01; failed calls are not charged. The first 3 calls are free (10 through an MCP client). Then pay with card credits (from $1; the key goes in an Authorization header or, for clients that can only fetch a URL, as api_key= in the URL) or per call in USDC over x402 or MPP. No account is needed.