Data tools / FX, rates, news, weather and knowledge
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.
&payfirst=1 to the call, send exactly the amount it names (about $0.01 plus a few millionths of a dollar), then repeat the call with "e=<token>. A transfer without a quote token is never matched to a call; see /pay.curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/v1/usgs-quakes?minmagnitude=4.5&starttime=2026-11-30'| Parameter | Required | What it is |
|---|---|---|
minmagnitude | no | Minimum magnitude, -1..10 (default 2.5) |
starttime | no | ISO date or date-time in UTC (default: 24 hours ago; window at most 366 days) |
endtime | no | ISO date or date-time in UTC (default: now) |
latitude | no | Radius search centre latitude, -90..90 (needs longitude and maxradiuskm) |
longitude | no | Radius search centre longitude, -180..180 |
maxradiuskm | no | Radius in km, above 0 and at most 20001.6 |
limit | no | Number of earthquakes, 1..1000 (default 50) |
Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.
Top-level fields of the JSON answer, read from the example below:
count (number)items (list): type, id, magnitude, magType, place, time, depthKm, latitude, longitude, tsunamiquery (object): minmagnitude, starttime, endtime, latitude, longitude, maxradiuskm, limitlimit_reached (boolean)source (string)source_url (string)dataset_date (string)as_of (string)attribution (string)note (string)Source, as the answer itself states it:
{
"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.
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.
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