USGS Earthquake Data Scraper avatar

USGS Earthquake Data Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
USGS Earthquake Data Scraper

USGS Earthquake Data Scraper

Extract real-time and historical earthquake data from USGS. Get magnitude, location, depth, and tsunami warnings. No API key needed.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

cloud9

cloud9

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract real-time and historical earthquake data from USGS. Get magnitude, location, depth, and tsunami warnings.

Features

  • Extract data from https://earthquake.usgs.gov
  • Multiple scraping modes: recent, search
  • Automatic rate limiting
  • Proxy support via Apify Proxy

Input Configuration

Modes

  1. recent: /fdsnws/event/1/query?format=geojson&limit={limit}&orderby=time
  2. search: /fdsnws/event/1/query?format=geojson&starttime={startDate}&endtime={endDate}&minmagnitude={minMag}&limit={limit}

Example Input

{
"mode": "recent",
"startDate": "example",
"endDate": "example",
"minMagnitude": 2.5,
"maxResults": 50
}

Output

The actor stores results in the Apify dataset. Each item contains:

  • properties.mag
  • properties.place
  • properties.time
  • properties.updated
  • properties.type
  • properties.tsunami
  • properties.sig
  • geometry.coordinates

Usage Example

const input = {
"mode": "recent",
"startDate": "example",
"endDate": "example",
"minMagnitude": 2.5,
"maxResults": 50
};
const run = await ApifyClient.actor('usgs-earthquake-scraper').call(input);
const { items } = await ApifyClient.dataset(run.defaultDatasetId).listItems();
console.log(items);

Limits

  • Maximum results per run: 500
  • Rate limiting: 1 request per second (default)

Support

For issues or questions, contact the developer or open an issue on GitHub.

License

Apache-2.0