USGS Earthquake Hazards Program
Earthquakes data real-time
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- No
- Category
- Science & Math
- Documentation / URL
- https://earthquake.usgs.gov/fdsnws/event/1/
Overview
The USGS Earthquake Hazards Program FDSN event API serves real-time earthquake data from the US Geological Survey’s monitoring networks: recent quakes worldwide, with magnitude, location, depth, and time. Keyless, government-run, and the canonical source for earthquake feeds and alerts.
Quick Start
Recent earthquakes (GeoJSON, verified live):
curl "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&limit=1"
{
"type": "FeatureCollection",
"metadata": { "count": 1 },
"features": [
{
"type": "Feature",
"properties": {
"mag": 4.6,
"place": "22 km NNE of Aksu, China",
"time": 1724300000000,
"updated": 1724301000000,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000..."
},
"geometry": { "type": "Point", "coordinates": [80.5, 41.3, 10.0] }
}
]
}
Significant earthquakes in the last 30 days:
curl "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&eventtype=earthquake&orderby=magnitude&limit=10"
Filter by time window (Unix ms):
curl "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&starttime=2026-08-01&endtime=2026-08-22&minmagnitude=5"
Authentication
None — keyless.
Rate Limits & Notes
- Free, public US government data — no key, generous limits (bulk queries keep a per-IP cap).
format=geojsonis the friendliest output;format=csvalso available for spreadsheets.- Parameters:
starttime/endtime(ISO dates),minmagnitude/maxmagnitude,latitude/longitude/maxradiuskm,eventtype. - The GeoJSON
features[].geometry.coordinatesis[lon, lat, depth]— longitude first!
FAQ
Is the USGS earthquake API free? Yes — free, keyless, public government data.
How do I get the last 24 hours of quakes?
query?format=geojson&starttime=2026-08-21&endtime=2026-08-22&minmagnitude=2.5.
What’s the coordinate order?
GeoJSON uses [longitude, latitude, depth] — don’t swap them.
More in Science & Math
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| arcsecond.io Multiple astronomy data sources | No auth | Yes | Unknown | ↗ |
| arXiv Curated research-sharing platform: physics, mathematics, quantitative finance, and economics | No auth | Yes | Unknown | ↗ |
| CodeCogs Render LaTeX equations in PNG, GIF, SVG, EMF, PDF, JSON, or download formats with styling options | No auth | Yes | Unknown | ↗ |
| CORE Access the world's Open Access research papers | API Key | Yes | Unknown | ↗ |
| CycleCalcs Interpreted astronomy: sun and moon times, moon phases, planets, eclipses, seasons | No auth | Yes | Yes | ↗ |