# Recent earthquakes near Tulsa, OK

**Use case:** 

Every earthquake the USGS has recorded within 300 km of Tulsa, OK in the last 7 days at magnitude 2 and above - 10 of them turned up in the 30 days before this example was written. The largest in that stretch was M2.9 - 4 km ENE of Wardville, Oklahoma. Each row carries the time, magnitude and its scale, depth in km, the USGS place description, coordinates, felt reports and the event page URL.

## Input

```json
{
  "daysBack": 7,
  "startTime": "",
  "endTime": "",
  "minMagnitude": 2,
  "latitude": 36.154,
  "longitude": -95.9928,
  "radiusKm": 300,
  "limit": 1000,
  "orderBy": "time",
  "maxRetries": 3
}
```

## Output

```json
{
  "time": {
    "label": "Time (UTC)",
    "format": "string"
  },
  "magnitude": {
    "label": "Mag",
    "format": "number"
  },
  "magnitudeType": {
    "label": "Type",
    "format": "string"
  },
  "place": {
    "label": "Place",
    "format": "string"
  },
  "depthKm": {
    "label": "Depth (km)",
    "format": "number"
  },
  "latitude": {
    "label": "Lat",
    "format": "number"
  },
  "longitude": {
    "label": "Lon",
    "format": "number"
  },
  "tsunami": {
    "label": "Tsunami",
    "format": "boolean"
  },
  "feltReports": {
    "label": "Felt reports",
    "format": "integer"
  },
  "alertLevel": {
    "label": "Alert",
    "format": "string"
  },
  "significance": {
    "label": "Significance",
    "format": "integer"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "url": {
    "label": "USGS page",
    "format": "string"
  },
  "source": {
    "label": "Source",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Earthquake Data API - USGS Live Feed, Magnitude and Depth](https://apify.com/neverempty/earthquakes-usgs.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/neverempty/earthquakes-usgs.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/neverempty/earthquakes-usgs.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`).
