Data tools / FX, rates, news, weather and knowledge

Earthquake API: recent quakes from the USGS catalog by magnitude, time and radius

Use when you need recent earthquakes from the USGS catalog: magnitude, place, time, depth, coordinates and tsunami flag, filtered by minimum magnitude, time window and an optional radius around a point, newest first, with source and dataset date. $0.01 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time quote: see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/v1/usgs-quakes?minmagnitude=4.5&starttime=2026-11-30'
ParameterRequiredWhat it is
minmagnitudenoMinimum magnitude, -1..10 (default 2.5)
starttimenoISO date or date-time in UTC (default: 24 hours ago; window at most 366 days)
endtimenoISO date or date-time in UTC (default: now)
latitudenoRadius search centre latitude, -90..90 (needs longitude and maxradiuskm)
longitudenoRadius search centre longitude, -180..180
maxradiuskmnoRadius in km, above 0 and at most 20001.6
limitnoNumber of earthquakes, 1..1000 (default 50)

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

What the answer contains

Top-level fields of the JSON answer, read from the example below:

Source, as the answer itself states it:

Example answer

{
  "count": 1,
  "items": [
    {
      "type": "earthquake",
      "id": "us6000uesx",
      "magnitude": 4.9,
      "magType": "mb",
      "place": "45 km ESE of Ilam, Iran",
      "time": "2026-12-01T09:56:27.454Z",
      "depthKm": 10,
      "latitude": 33.472,
      "longitude": 46.867,
      "tsunami": 0,
      "alert": null,
      "status": "reviewed",
      "felt": null,
      "updated": "2026-12-01T10:37:35.040Z",
      "title": "M 4.9 - 45 km ESE of Ilam, Iran",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000uesx"
    }
  ],
  "query": {
    "minmagnitude": 4.5,
    "starttime": "2026-11-30T11:00:00.000Z",
    "endtime": null,
    "latitude": null,
    "longitude": null,
    "maxradiuskm": null,
    "limit": 1
  },
  "limit_reached": true,
  "source": "USGS Earthquake Hazards Program, ComCat (FDSN event web service)",
  "source_url": "https://earthquake.usgs.gov/fdsnws/event/1/",
  "dataset_date": "2026-12-01T11:07:51.000Z",
  "as_of": "2026-12-01T11:07:51.200Z",
  "attribution": "Credit: U.S. Geological Survey, Department of the Interior/USGS (public domain). Not endorsed by the USGS.",
  "note": "Earthquakes only (eventtype=earthquake), newest first."
}

Free sample, no payment: /v1/usgs-quakes/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/fx-rates-news-weather-data, tool usgs_quakes. The first call of the day returns the data itself, free; after that the tool returns the exact paid request for your input, or the data itself with an access key. The core tools are also on https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp, and any tool can be called there by name.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools · Trust and limits