Skip to main content
POST
Lists the earthquakes the US Geological Survey recorded within a distance of a latitude and longitude, newest first: magnitude, depth in kilometres, felt reports and whether a tsunami was flagged. By default it looks back 30 days within 100 km for magnitude 2.5 and above. Quarry blasts and other events that are not earthquakes are left out.

Authentication

Requires x402 payment in the payment-signature header.

Request Body

number
required
Latitude in decimal degrees, for example 37.77. From -90 to 90.
number
required
Longitude in decimal degrees (west is negative), for example -122.42. From -180 to 180.
number
Distance from the point in kilometres. From 1 to 500. Defaults to 100.
string
Earliest date (UTC); default 30 days before the call. Use YYYY-MM-DD.
string
Latest date (UTC); default now. Use YYYY-MM-DD.
number
Smallest magnitude to return. From 0 to 10. Defaults to 2.5.
integer
Most earthquakes to return. From 1 to 50. Defaults to 10.

Response (200 OK)

Top-level envelope: success (boolean) and data (object). All fields below are nested under data.
string
Durable job ID for audit and lookup
string
Job status: completed
string
Always place_earthquakes
object
The answer, described under Result below
object
Where the answer came from and when
string
The public body the data comes from. Always US Geological Survey.
string
public when the data comes from a public body, commercial otherwise
string
When the lookup was made, as an ISO 8601 UTC time
string | null
When the source says the fact was last updated, or null when the source gives no date

Result

Nested under data.result.
object[]
Earthquakes.
string | null
The source’s event id. null when the source gives no value.
number | null
Magnitude. null when the source gives no value.
string | null
How the magnitude was measured, for example md or mw. null when the source gives no value.
string | null
The nearest named place, as the source words it. null when the source gives no value.
string | null
ISO 8601, UTC. null when the source gives no value.
number | null
Latitude. null when the source gives no value.
number | null
Longitude. null when the source gives no value.
number | null
Depth below the surface in kilometres. null when the source gives no value.
number | null
Number of people who reported feeling it; null when none were collected.
string | null
The source’s impact alert level (green, yellow, orange, red); null when none was issued.
boolean
True when the source flagged a tsunami.
string | null
The source’s page for the event. null when the source gives no value.
See Pricing for this tool’s price. A wallet (x402) call receives it in the 402 quote before anything is charged; a call paid from prepaid credits is charged when the API accepts the request and answers 200.

Notes

  • Use it to check the seismic history around a property, a facility or a route stop.
  • felt_reports is how many people reported feeling it, null when nobody was asked or none reported.
  • since and until (YYYY-MM-DD, UTC) set the dates, radius_km the distance (1 to 500), min_magnitude the floor and limit the most returned (1 to 50).
  • A point with no earthquake in range is a completed result with an empty list.
  • Results return inline. The finished job stays available at /v1/requests/{request_id}