USGS Earthquakes API

Monitor global earthquake activity with magnitude alerts

Pull real-time earthquake data: location, magnitude, depth, and tsunami alerts. Build a monitor that tracks seismic activity in regions you care about.

Completely free. No API key required.

USGS Earthquakesdocs →

How it works with Loony

Describe it.
Deploy it.
Query it.

Managed database.

Your USGS Earthquakes data lives in its own Postgres instance. Zero config. Data accumulates over time.

Scheduled syncs.

Cron jobs run on Loony infra. Every minute on free. Your data stays fresh without you thinking about it.

REST + MCP endpoints.

Query from your agent, your dashboard, or connect BI tools directly. Full OpenAPI spec included.

TerminalSchema
$ "Pull global earthquake data from USGS. Store all events above magnitude 2.5. Build weekly summaries by region with magnitude distribution."

 Schema validated
 Database provisioned
 Scripts deployed
 Schedules registered

Done.

# Your data is now at:
REST  /data/v1/usgs-earthquakes/query
MCP   /mcp/v1/usgs-earthquakes/mcp
SQL   psql $DATABASE_URL

What you get

USGS gives you a live feed. Loony stores every earthquake, building a historical database. Query 'How many magnitude 4+ earthquakes hit the Pacific Ring of Fire this year vs last year?' from your own data.

mv_quake_weekly
  week          date        -- ISO week start
  region        text        -- Pacific | Atlantic | Mediterranean
  total_events  integer     -- earthquake count
  max_magnitude numeric     -- strongest
  avg_depth_km  numeric     -- average depth
  tsunami_alerts integer    -- count

Even better together

Pair earthquake data with NASA for a natural phenomena dashboard. Add weather to correlate seismic activity with atmospheric conditions.

Stop gluing. Start shipping.

Describe your data. Deploy. Query. Done.

API Library →