Catalog/science-earthquakes

Science

Recent earthquakes (USGS) API

Recent earthquakes from the USGS real-time feed, filterable by minimum magnitude, time window, and location radius. Answers 'recent earthquakes near here', 'biggest quake this week', 'seismic activity in X'.

Price$0.01per request
MethodPOST
Route/v1/science/earthquakes
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache300s public
scienceearthquakesusgsseismicgeologynatural-disaster
API URLhttps://x402.hexl.dev/v1/science/earthquakes
Integration docs
Example request
{
  "minMagnitude": 5,
  "days": 7
}
Example response
{
  "count": 12,
  "days": 7,
  "earthquakes": [
    {
      "magnitude": 6.1,
      "place": "100km SE of Town",
      "time": "2026-06-01T00:00:00.000Z",
      "latitude": 1.2,
      "longitude": 2.3,
      "depthKm": 10,
      "tsunami": false
    }
  ]
}
Input schema
{
  "type": "object",
  "properties": {
    "minMagnitude": {
      "type": "number"
    },
    "days": {
      "type": "number",
      "default": 7
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "radiusKm": {
      "type": "number"
    },
    "limit": {
      "type": "number",
      "default": 20
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}