Earthquakes API
DataMAINTAINED1 token / call

Earthquakes API

Every recorded earthquake worldwide of magnitude 4.5 or greater since 1900 β€” 311,590 events from the USGS ComCat catalog, refreshed daily. Each event carries precise time, coordinates, depth, magnitude with its type, a human-readable place, review status and a link to the USGS event page. The largest endpoint reads like seismology history: 1960 Chile M9.5, 1964 Alaska M9.2, 2011 Tohoku and 2004 Sumatra at M9.1. The nearby endpoint answers location questions in one call β€” 300 km around Tokyo at M7+ surfaces the 1923 Great Kanto earthquake 55 km out and the 2011 megathrust; search filters cover magnitude range, place, and dates (California at M6+: 1,072 events, led by the 1906 San Francisco quake). New events land daily and USGS''s post-event magnitude revisions flow in automatically via a rolling re-upsert window. Built for dashboards and news widgets, insurance and catastrophe models, education, and any product that needs seismic history plus a live feed behind one key. Public-domain source data, self-hosted β€” no third-party calls at request time.

No credit card requiredAccess to 20+ APIsCancel anytime
response.json
{
  "ok": true,
  "year": 2011,
  "count": 3,
  "results": [
    {
      "id": "official20110311054624120_30",
      "time": "2011-03-11T05:46:24.120Z",
      "magnitude": 9.1,
      "magnitude_type": "mww",
      "place": "2011 Great Tohoku Earthquake, Japan",
      "latitude": 38.297,
      "longitude": 142.373,
      "depth_km": 29,
      "type": "earthquake",
      "status": "reviewed",
      "network": "official",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/official20110311054624120_30"
    },
    {
      "id": "usp000hvpa",
      "time": "2011-03-11T06:15:40.280Z",
      "magnitude": 7.9,
      "magnitude_type": "mwc",
      "place": "47 km E of ?arai, Japan",
      "latitude": 36.281,
      "longitude": 141.111,
      "depth_km": 42.6,
      "type": "earthquake",
      "status": "reviewed",
      "network": "us",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/usp000hvpa"
    },
    {
      "id": "usp000hvpg",
      "time": "2011-03-11T06:25:50.300Z",
      "magnitude": 7.7,
      "magnitude_type": "mwc",
      "place": "272 km ESE of Kamaishi, Japan",
      "latitude": 38.058,
      "longitude": 144.59,
      "depth_km": 18.6,
      "type": "earthquake",
      "status": "reviewed",
      "network": "us",
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/usp000hvpg"
    }
  ]
}
5endpoints
1tokens / call
99.9%uptime SLA
Lowavg latency

Why developers pick this API

Production-ready

Production Ready

Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.

Simple Integration

Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.

One Key, 20+ APIs

Your DataAndAPIs subscription unlocks every API on the platform β€” anime, finance, sports, and more.

Code snippets

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
5endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses β€” auto-completion in your IDE
  • Tracks the API in lockstep β€” new endpoints land same day
  • One key works across 20+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  '{API_URL}',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

πŸ”’ Subscribe to unlock the live API URL

Developer playground

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

Pricing

One subscription. Every API.

Tokens unlock this API and 20+ others on DataAndAPIs. Switch APIs any time β€” we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales β†’

Common questions

The things that actually block the upgrade.

Ship Earthquakes API this afternoon.

500 free tokens. No card. Plus 20+ other APIs on the same key.