USGS Earthquake Data Scraper
Pricing
from $1.50 / 1,000 results
Go to Apify Store
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
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
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
- recent: /fdsnws/event/1/query?format=geojson&limit={limit}&orderby=time
- 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.magproperties.placeproperties.timeproperties.updatedproperties.typeproperties.tsunamiproperties.siggeometry.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