/v1/recent
Latest earthquakes worldwide (past day)
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/earthquake-api/v1/recent" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/earthquake-api/v1/recent", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/earthquake-api/v1/recent");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/earthquake-api/v1/recent",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 10,
"limit": 10,
"title": "USGS All Earthquakes, Past Day",
"generated": "2026-05-30T18:17:01.000Z",
"earthquakes": [
{
"id": "aka2026kqppsg",
"cdi": null,
"mmi": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026kqppsg",
"felt": null,
"time": "2026-05-30T18:09:54.738Z",
"type": "earthquake",
"alert": null,
"place": "63 km E of Port Alsworth, Alaska",
"title": "M 1.8 - 63 km E of Port Alsworth, Alaska",
"status": "automatic",
"tsunami": 0,
"updated": "2026-05-30T18:11:38.106Z",
"magnitude": 1.8,
"coordinates": {
"depth_km": 141.2,
"latitude": 60.166,
"longitude": -153.171
},
"significance": 50,
"magnitude_type": "ml",
"timezone_offset_min": null
},
{
"id": "pr71518248",
"cdi": null,
"mmi": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/pr71518248",
"felt": null,
"time": "2026-05-30T17:42:15.330Z",
"type": "earthquake",
"alert": null,
"place": "6 km SW of Tallaboa, Puerto Rico",
"title": "M 3.0 - 6 km SW of Tallaboa, Puerto Rico",
"status": "reviewed",
"tsunami": 0,
"updated": "2026-05-30T17:58:37.360Z",
"magnitude": 2.97,
"coordinates": {
"depth_km": 8.44,
"latitude": 17.9466666666667,
"longitude": -66.7518333333333
},
"significance": 136,
"magnitude_type": "md",
"timezone_offset_min": null
},
{
"id": "aka2026kqorjb",
"cdi": null,
"mmi": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/aka2026kqorjb",
"felt": null,
"time": "2026-05-30T17:41:49.994Z",
"type": "earthquake",
"alert": null,
"place": "3 km S of Salcha, Alaska",
"title": "M 1.3 - 3 km S of Salcha, Alaska",
"status": "automatic",
"tsunami": 0,
"updated": "2026-05-30T17:43:09.886Z",
"magnitude": 1.3,
"coordinates": {
"depth_km": 8.8,
"latitude": 64.491,
"longitude": -146.907
},
"significance": 26,
"magnitude_type": "ml",
"timezone_offset_min"
…