Turkey Earthquake Scraper
Pricing
from $0.72 / 1,000 results
Turkey Earthquake Scraper
Scrape recent and historical earthquakes in Turkey from AFAD and Kandilli Observatory. Filter by date, magnitude, depth, province or radius. Fast HTTP scraper, no browser.
Pricing
from $0.72 / 1,000 results
Rating
0.0
(0)
Developer
Doğukan Metan
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Get earthquakes in and around Turkey from the two official catalogs, AFAD (Disaster and Emergency Management Authority) and Kandilli Observatory (KOERI), as clean JSON, CSV or Excel. Filter by time window, magnitude, depth, province or distance from a point. Runs on plain HTTP, so it is fast and cheap, and the price already includes platform usage.
What you can do with it
- Monitor recent activity. Schedule a run every hour and pull the latest earthquakes above a magnitude, then send them to Slack, a sheet or a webhook.
- Check a province or district. Keep only events whose location contains
Malatya,KozanorEge Denizi. Turkish accents and capitals do not matter. - Search around a point. Give a latitude, longitude and radius to see everything within, say, 100 km of Istanbul or a power plant.
- Research and risk analysis. Pull Kandilli's reviewed archive for a date range, for example the 2023 Kahramanmaraş sequence, with magnitude and depth filters.
- Compare two sources. Run both catalogs side by side. They report the same earthquakes with slightly different magnitudes and locations.
Quick start
Open the Input tab and press Start: the prefilled input returns the last 24 hours from both sources. Or pick one of these:
Latest earthquakes of magnitude 4 and above
{"lastHours": 168,"minMagnitude": 4}
Everything in Malatya since a date, from AFAD only
{"sources": ["afad"],"dateFrom": "2026-11-05","locations": ["Malatya"]}
Within 120 km of Kahramanmaraş
{"nearLatitude": 37.5,"nearLongitude": 36.9,"radiusKm": 120,"minMagnitude": 1.5}
Kandilli archive: the February 2023 earthquakes of magnitude 5.5 and above
{"sources": ["kandilli"],"dateFrom": "2023-02-06","dateTo": "2023-02-07","minMagnitude": 5.5}
Input
| Field | What it does |
|---|---|
sources | afad, kandilli or both (default both) |
lastHours | Latest events: hours back from now (default 24). Ignored when dateFrom is set |
dateFrom, dateTo | Time window in UTC: YYYY-MM-DD or a full timestamp. A plain dateTo includes that whole day |
minMagnitude, maxMagnitude | Magnitude range |
minDepthKm, maxDepthKm | Depth range in kilometres |
locations | Names to match in the location text, province or district. Any match keeps the event |
nearLatitude, nearLongitude, radiusKm | Radius search. Set all three |
maxItems | Stop the whole run after this many earthquakes |
maxItemsPerSource | Stop reading a source after this many |
maxConcurrency, maxRequestsPerMinute | Request speed. The defaults (2 and 30) are enough: a run needs a handful of requests |
proxyConfiguration | No proxy by default. Switch on a Turkish proxy only if your runs time out |
Output
One item per earthquake. Download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the API.
{"source": "afad","eventId": "734271","time": "2026-11-15T20:04:10.000Z","latitude": 37.56067,"longitude": 35.6355,"depthKm": 12.65,"magnitude": 2.5,"magnitudeType": "ML","magnitudes": null,"location": "Kozan (Adana)","country": "Türkiye","province": "Adana","district": "Kozan","neighborhood": "Akdam","status": null,"url": "https://deprem.afad.gov.tr/event-detail/734271"}
{"source": "kandilli","eventId": "20261115204930","time": "2026-11-15T20:49:30.000Z","latitude": 37.8098,"longitude": 36.5875,"depthKm": 5.3,"magnitude": 1.7,"magnitudeType": "ML","magnitudes": { "md": null, "ml": 1.7, "mw": null },"location": "CUKURHISAR-(KAHRAMANMARAS)","country": null,"province": "Kahramanmaraş","district": null,"neighborhood": "Cukurhisar","status": "preliminary","url": "http://www.koeri.boun.edu.tr/scripts/lst0.asp"}
timeis ISO 8601 in UTC. Both sites' own clocks differ (AFAD UTC, Kandilli's live list Istanbul time); the Actor converts them, so every item is UTC.- Numbers are numbers. Missing values are
null, never a placeholder. - AFAD gives its own
magnitudeandmagnitudeType(ML, Mw, Mb and others). For Kandilli,magnitudeis the largest of Mw, ML and MD, with that type named inmagnitudeType, andmagnitudeslists all three. - Kandilli
eventIdis the UTC time to the second (the code Kandilli's archive uses). Kandilli has no page per event, sourlpoints to its list. - Kandilli
statusispreliminary(automatic solution) orrevised(checked by an analyst). Kandilli's lists are plain ASCII, so its place names have no Turkish letters, butprovinceis spelled properly. province,districtandneighborhoodarenullfor offshore and foreign events.- Each source is deduplicated by
eventId. The two sources are not merged: one earthquake appears once per source.
What each source covers
| Source | Reach | Notes |
|---|---|---|
| AFAD | The most recent events. At the time of writing its public service returns roughly the last two weeks and nothing older | Updates within minutes. Most precise province, district and neighborhood |
| Kandilli live list | The last 500 events, about one week | Preliminary solutions, updates within minutes |
| Kandilli archive | Reviewed catalog, checked back to 1999 | Published with a delay of several weeks. A date range that reaches back past the live list automatically uses the archive; searches are slow (up to a minute per month) |
Events that are older than the live lists and newer than the end of the Kandilli archive are not available from either source. The log says when a part of the range returned nothing.
Pricing
You pay per result: $0.80 per 1,000 earthquakes, and less on higher Apify plans (down to $0.70). Platform usage is included, so there are no extra charges. A run that finds nothing costs almost nothing. For example, a week of AFAD events of magnitude 2 and above is around 500 results, about $0.40.
You can cap spending on every run in the run options. The Actor stops cleanly when the cap is reached.
FAQ
Do I need a proxy? No. Both sites answer plain requests.
Why do the sources disagree on magnitude? They run independent solutions from different station networks. A difference of 0.1 to 0.3 is normal.
Why does a long date range return little from AFAD? AFAD's public service only keeps recent events. Use Kandilli for older dates.
Can I get an alert for big earthquakes? Schedule the Actor every few minutes with lastHours: 1 and a minMagnitude, and connect a webhook, Slack or email from the Integrations tab. Items you have already seen carry the same eventId.
Can I use it from code?
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('dodoflix/earthquake-scraper').call({lastHours: 24,minMagnitude: 3,});const { items } = await client.dataset(run.defaultDatasetId).listItems();
Something broke or a field is missing. Open an issue on the Issues tab with the input you used.
Legal
This Actor collects public earthquake catalogs. You are responsible for how you use the data, including the sites' terms and robots.txt.
Türkçe özet
AFAD ve Kandilli Rasathanesi'nin deprem kayıtlarını tarih, büyüklük, derinlik, il veya yarıçap filtresiyle JSON, CSV ya da Excel olarak indirin. Proxy ayarı gerekmez, fiyata platform kullanımı dahildir.