API reference/Natural Hazards/Earthquakes Nearby

Earthquakes Nearby

starterLive data

Earthquakes within a radius of a point, strongest first.

GET/api/v1/hazards/earthquakes/nearby

Data source

Query parameters

ParameterDescriptionTry value
lat
number required
Latitude
lon
number required
Longitude
radiusKm
number
1–2000 (default 300)
days
number
1–365 (default 30)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.