Research
USGS Earthquakes logo

USGS Earthquakes API

earthquake.usgs.gov

USGS Earthquakes - real-time feeds, ComCat catalog search, and per-event detail.

Actions
4
Category
Research
Login
Not required
Output
JSON

Call the USGS Earthquakes API

Submit a task, then poll the job until it settles. This example runs act_earthquake_usgs_gov_comcat_catalog_search.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_earthquake_usgs_gov_comcat_catalog_search",
    "params": {
      "starttime": "2026-05-23 00:00:00",
      "endtime": "2026-05-30 23:59:59",
      "minmagnitude": "2.5"
    }
  }'

4 actions on earthquake.usgs.gov

Read

  • ComCat Catalog Search

    act_earthquake_usgs_gov_comcat_catalog_searchread2 credits / call

    Returns matching events from the ComCat earthquake catalog by time window and minimum magnitude.

    starttime
    string · required
    endtime
    string · required
    minmagnitude
    string · required
  • Daily Earthquake Feed

    act_earthquake_usgs_gov_earthquake_magnitude_day_feedread1 credit / call

    Returns M2.5+ earthquakes from the past day with magnitude, place, and time.

  • Earthquake Event Details

    act_earthquake_usgs_gov_earthquake_event_detail_feedread1 credit / call

    Returns full detail for a single earthquake event including magnitude, place, time, coordinates, and depth.

    event_id
    string · required
  • Significant Earthquakes Monthly Feed

    act_earthquake_usgs_gov_significant_earthquakes_monthly_feedread1 credit / call

    Returns significant earthquakes from the past month with magnitude, place, and time.

USGS Earthquakes API questions

Is there an API for USGS Earthquakes?
USGS Earthquakes does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for earthquake.usgs.gov. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape USGS Earthquakes data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when earthquake.usgs.gov changes its markup, Anakin updates the action.
Do I need a USGS Earthquakes account?
No. Every USGS Earthquakes action listed here runs anonymously — no account and no credentials required.
What does the USGS Earthquakes API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Research APIs

All Research sites