Every earthquake the U.S. Geological Survey has catalogued with an epicentre in Ghana or its coastal waters, from 1939-06-22 to 2020-06-24: time, magnitude, depth, epicentre and the region and district it lies in. Most sit on the fault zone west of Accra, around Weija, Gbawe and Kasoa, including the magnitude 6.4 earthquake of 22 June 1939. This is the global network's record, so it holds the larger events and few small ones: the Ghana Geological Survey Authority records many minor tremors that are not here, and some older events have no magnitude. Sourced from the USGS ANSS Comprehensive Catalog, public domain. 18 records.
The newest figures in this dataset are from 24 Jun 2020; the source has published nothing newer. Check the dates before relying on a figure.
Every column this dataset returns, with its type. This is the shape of the API response.
| Field | Type |
|---|---|
| usgs_id | VARCHAR(40) NOT NULL |
| occurred_at | TIMESTAMP NOT NULL |
| date | DATE NOT NULL |
| magnitude | DECIMAL(4,2) |
| magnitude_type | VARCHAR(10) |
| depth_km | DECIMAL(6,2) |
| latitude | DECIMAL(9,5) NOT NULL |
| longitude | DECIMAL(9,5) NOT NULL |
| region | VARCHAR(80) |
| district | VARCHAR(120) |
| location_description | TEXT |
| offshore | BOOLEAN |
| felt_reports | INTEGER |
| event_url | TEXT |
| source | TEXT |
| usgs idVARCHAR(40) NOT NULL | occurred atTIMESTAMP NOT NULL | dateDATE NOT NULL | magnitudeDECIMAL(4,2) | magnitude typeVARCHAR(10) | depth kmDECIMAL(6,2) | latitudeDECIMAL(9,5) NOT NULL | longitudeDECIMAL(9,5) NOT NULL | regionVARCHAR(80) | districtVARCHAR(120) | location descriptionTEXT | offshoreBOOLEAN | felt reportsINTEGER | event urlTEXT | sourceTEXT |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| iscgem902037 | 1939-06-22T19:19:32.98 | 1939-06-22 | 6.4 | mw | 15 | 5.568 | -0.625 | Central Region | Agona East | 8 km ENE of Swedru, Ghana | false | — | https://earthquake.usgs.gov/earthquakes/eventpage/iscgem902037 | U.S. Geological Survey (public domain) |
| iscgemsup902118 | 1939-08-18T04:51:15.9 | 1939-08-18 | — | — | 15 | 5.662 | 0.112 | — | — | 14 km E of Tema, Ghana | true | — | https://earthquake.usgs.gov/earthquakes/eventpage/iscgemsup902118 | U.S. Geological Survey (public domain) |
| iscgem812036 | 1969-02-09T18:29:02.76 | 1969-02-09 | 5.2 | mw | 13.7 | 5.605 | -0.138 | Greater Accra Region | La Dade-kotopon | 4 km NW of Teshi Old Town, Ghana | false | — | https://earthquake.usgs.gov/earthquakes/eventpage/iscgem812036 | U.S. Geological Survey (public domain) |
| usp00039w4 | 1987-11-05T00:00:18.05 | 1987-11-05 | 2.6 | md | 10 | 5.566 | -0.314 | Greater Accra Region | Weija Gbawe Municipal | 1 km SSW of Gbawe, Ghana | false | — | https://earthquake.usgs.gov/earthquakes/eventpage/usp00039w4 | U.S. Geological Survey (public domain) |
| usp0003aw9 | 1987-12-03T00:29:47.58 | 1987-12-03 | — | — | 33 | 5.513 | -0.26 | — | — | 8 km SW of Accra, Ghana | true | — | https://earthquake.usgs.gov/earthquakes/eventpage/usp0003aw9 | U.S. Geological Survey (public domain) |
13 more rows — see the plans
Get an API keyGET connect.apighana.com/api/data/earthquakes
Cite this dataset and the organisation its records come from (U.S. Geological Survey). Datasets are updated, so keep the date you accessed it in the citation. These records cover 22 Jun 1939 to 24 Jun 2020; say which period your figures come from. Last updated from the source on Sep 26, 2026.
API Ghana. (2026). Earthquakes (Version 1.0) [Data set, compiled from U.S. Geological Survey]. Retrieved October 1, 2026, from https://apighana.com/datasets/earthquakes
curl "https://connect.apighana.com/api/data/earthquakes?page=1&limit=20" \ -H "X-API-Key: $APIGHANA_KEY"
const response = await fetch(
"https://connect.apighana.com/api/data/earthquakes?page=1&limit=20",
{ headers: { "X-API-Key": process.env.APIGHANA_KEY } },
);
const { data, meta } = await response.json();import os, requests
response = requests.get(
"https://connect.apighana.com/api/data/earthquakes",
headers={"X-API-Key": os.environ["APIGHANA_KEY"]},
params={"page": 1, "limit": 20},
)
rows = response.json()["data"]