BGS UK Earthquakes Scraper avatar

BGS UK Earthquakes Scraper

Pricing

from $0.90 / 1,000 results

Go to Apify Store
BGS UK Earthquakes Scraper

BGS UK Earthquakes Scraper

Collects UK earthquake events from the British Geological Survey public XML feed. Returns each earthquake as a flat row with magnitude, depth, location coordinates and origin time.

Pricing

from $0.90 / 1,000 results

Rating

0.0

(0)

Developer

ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

ParseForge

BGS UK Earthquakes Scraper

Scrape BGS UK earthquake data from the official British Geological Survey XML feed, up to a million events per run. Each earthquake comes with its magnitude, depth, location coordinates, and origin time. No API key required. Export to CSV, JSON, Excel, or XML.

The British Geological Survey publishes near-real-time UK earthquake data, but manually checking their feed or copying records is slow. This Actor reads the official BGS XML feed directly, filters events by minimum magnitude, and returns each earthquake in one fixed schema. You get a clean dataset ready for analysis, without writing a single line of code.

Who uses itWhat they scrape BGS UK Earthquakes for
Seismology researchersBuilding a local earthquake catalogue for the British Isles over a custom time window.
Insurance analystsAssessing recent seismic activity near insured properties in the UK.
Data journalistsPulling the latest UK earthquake data for a news story or interactive map.
Geology studentsCollecting real-world BGS data for a dissertation or coursework project.

What it does

This Actor collects UK earthquake events from the BGS public XML feed and returns each one as a flat row with magnitude, depth, location, and time.

  • πŸ“ Magnitude filter: set a minimum magnitude and the Actor discards smaller events before they reach your dataset.
  • πŸ”— Configurable feed URL: point the Actor at any BGS XML feed endpoint, including historical or regional subsets.
  • πŸ“Š Fixed flat schema: every earthquake arrives as one row with the same columns, ready for spreadsheets or databases.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with BGS UK Earthquakes data

πŸ“ˆ Build a UK earthquake catalogue.

A seismology researcher runs the Actor weekly against the BGS feed to maintain a growing dataset of British earthquakes for statistical analysis.

πŸ—ΊοΈ Populate a live hazard map.

A developer schedules daily runs, filters to magnitude 2.0 and above, and pushes the results to a public-facing UK earthquake map.

πŸ“° Feed a news alert bot.

A data journalist configures the Actor to pull the latest events and trigger a tweet or Slack message whenever a felt earthquake appears.

πŸ“‹ Supply an insurance risk model.

An analyst extracts all BGS events above magnitude 1.5 for the past five years to correlate with claim locations.

Why choose this scraper

What you get
Official BGS sourceData comes straight from the British Geological Survey's public seismology feed, the authoritative source for UK earthquakes.
No API keyThe feed is public. You do not need to register an application or manage tokens.
Magnitude filteringCut out microseisms and only keep events above your chosen threshold, saving storage and compute.
Scalable collectionPaid users can pull up to a million earthquake records in a single run for long-term studies.

How it compares

No other Store actor targets BGS UK Earthquakes the same way, so the honest comparison is with the alternatives teams actually weigh.

BGS UK Earthquakes ScraperBuild it in-houseBy hand
SetupRun it now, zero configDays of engineeringNone, but hours per pull
When BGS UK Earthquakes changesMaintained for youYou fix itYou re-learn the page
Proxies, retries, anti-botBuilt inYour problemBrowser only
OutputFixed JSON schema, CSV/Excel exportWhatever you buildCopy-paste
CostPay per resultEngineering timeAnalyst hours

Configure the run

Drive the Actor from the official BGS XML feed URL and filter by minimum magnitude so only relevant earthquakes reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

{
"maxItems": 10,
"feedUrl": "http://quakes.bgs.ac.uk/feeds/MhSeismology.xml",
"minMagnitude": 0
}

A larger pull:

{
"maxItems": 200,
"feedUrl": "http://quakes.bgs.ac.uk/feeds/MhSeismology.xml",
"minMagnitude": 0
}

Pricing

Pay-per-result: $0.001 per result collected. You pay only for the results written to your dataset.

Results collectedApproximate cost
100 results$0.10
1,000 results$1.00
10,000 results$10.00

New Apify accounts start with $5 in free credit.

Free users

Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.

Run it

  1. Create a free Apify account with $5 in credit.
  2. Open the BGS UK Earthquakes Scraper.
  3. Set your inputs and any filters, then click Start.
  4. Export the results as CSV, Excel, JSON, or XML from the Dataset tab.

Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.

Use with AI agents (MCP)

Give an AI agent live access to BGS UK Earthquakes through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

$claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/bgs-uk-earthquakes-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check your minMagnitude filter. If it is set higher than any recent UK earthquake, the Actor will return an empty dataset. Try lowering it to 0 to see all events.

The Actor fails with an error about the feed URL.

Ensure the feedUrl field points to a valid BGS XML endpoint. The default is http://quakes.bgs.ac.uk/feeds/MhSeismology.xml. Test the URL in a browser first.

I only got 10 results but I am a paid user.

The maxItems input field defaults to 10. Increase it to the number you need, up to 1,000,000.

The dataset has duplicate earthquakes.

The BGS feed may include the same event in consecutive runs if it has not aged off the feed. Deduplicate on origin time and coordinates in your downstream processing.

Some fields are empty in the output.

The BGS feed sometimes omits optional fields like location description for automatic detections. Empty cells reflect missing data at the source, not a scraping error.

FAQ

QuestionAnswer
What data source does this Actor use?It reads the public XML feed published by the British Geological Survey at quakes.bgs.ac.uk. This is the same feed that powers the BGS website.
Do I need an API key or login?No. The BGS feed is openly accessible. You do not need to register, authenticate, or manage any credentials.
Can I filter by earthquake magnitude?Yes. Set the minMagnitude input field and the Actor will only return events at or above that value.
How many earthquakes can I scrape in one run?Free Apify users are limited to 10 events as a preview. Paid users can set maxItems up to 1,000,000 per run.
What format does the output come in?You can export your dataset to CSV, JSON, Excel, or XML from the Apify platform.
Does this cover the whole United Kingdom?Yes. The BGS feed includes earthquakes detected across the entire UK landmass and its surrounding waters.
Can I use a different BGS feed URL?Yes. The feedUrl input field accepts any valid BGS XML endpoint, so you can target specific date ranges or regional feeds if BGS provides them.
How often is the BGS feed updated?The British Geological Survey updates its feed in near real time as earthquakes are detected and reviewed. You can schedule the Actor to run as frequently as you need.
What fields does each earthquake record contain?Each row includes the event's origin time, latitude, longitude, depth, magnitude, and location description, matching the BGS feed schema.

Browse the full ParseForge collection for more scrapers.

πŸ†˜ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by British Geological Survey. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.