# Magnitude 5+ earthquakes from the last 30 days

**Use case:** 

Monitor-style run over the USGS all_month feed that emits magnitude 5+ events never delivered before, with strict schema validation.

## Input

```json
{
  "feed": "all_month",
  "minMagnitude": 5,
  "maxEvents": 50,
  "monitorMode": true,
  "strictSchema": true
}
```

## Output

```json
{
  "time": {
    "label": "Origin time (UTC)",
    "format": "string"
  },
  "updated": {
    "label": "Last update (UTC)",
    "format": "string"
  },
  "mag": {
    "label": "Magnitude",
    "format": "number"
  },
  "mag_type": {
    "label": "Magnitude type",
    "format": "string"
  },
  "place": {
    "label": "Place",
    "format": "string"
  },
  "coordinates": {
    "label": "Coordinates",
    "format": "object"
  },
  "event_type": {
    "label": "Event type",
    "format": "string"
  },
  "status": {
    "label": "Review status",
    "format": "string"
  },
  "tsunami": {
    "label": "Tsunami flag",
    "format": "integer"
  },
  "net": {
    "label": "Network",
    "format": "string"
  },
  "event_id": {
    "label": "Event ID",
    "format": "string"
  },
  "detail_url": {
    "label": "Detail URL",
    "format": "string"
  },
  "source_url": {
    "label": "Feed URL",
    "format": "string"
  },
  "url": {
    "label": "Source URL",
    "format": "string"
  },
  "scrapedAt": {
    "label": "Scraped at (UTC)",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The USGS Earthquake Monitor (New Events JSON) Actor is ready to run with the inputs already set for "Magnitude 5+ earthquakes from the last 30 days". [Sign up or log in](https://console.apify.com/create-task-from-example/ehb4KwXa11EhKRfsc) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Magnitude 5+ earthquakes from the last 30 days" task

The USGS Earthquake Monitor (New Events JSON) Actor will start running based on the input automatically. You can also change all the input fields, like USGS feed, minimum magnitude, and more, to match your specific use case.

### 3. Receive the "Magnitude 5+ earthquakes from the last 30 days" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as origin time (utc), last update (utc), magnitude, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Magnitude 5+ earthquakes from the last 30 days" task via API](https://apify.com/steadfetch/usgs-earthquake-monitor.md).

## About this Actor

This example demonstrates how to use [USGS Earthquake Monitor (New Events JSON)](https://apify.com/steadfetch/usgs-earthquake-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/steadfetch/usgs-earthquake-monitor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/steadfetch/usgs-earthquake-monitor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
