/v1/feed
USGS summary feed
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/earthquake-api/v1/feed" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/earthquake-api/v1/feed", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/earthquake-api/v1/feed");
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/feed",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"count": 90,
"title": "USGS Magnitude 4.5+ Earthquakes, Past Week",
"period": "week",
"generated": "2026-05-30T18:16:19.000Z",
"magnitude": "4.5",
"earthquakes": [
{
"id": "us7000spjc",
"cdi": null,
"mmi": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000spjc",
"felt": null,
"time": "2026-05-30T14:34:14.372Z",
"type": "earthquake",
"alert": null,
"place": "26 km SE of Ashoro, Japan",
"title": "M 4.5 - 26 km SE of Ashoro, Japan",
"status": "reviewed",
"tsunami": 0,
"updated": "2026-05-30T16:28:04.040Z",
"magnitude": 4.5,
"coordinates": {
"depth_km": 116.722,
"latitude": 43.0767,
"longitude": 143.7857
},
"significance": 312,
"magnitude_type": "mb",
"timezone_offset_min": null
},
{
"id": "us7000spj5",
"cdi": null,
"mmi": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000spj5",
"felt": null,
"time": "2026-05-30T14:21:09.256Z",
"type": "earthquake",
"alert": null,
"place": "63 km W of Catuday, Philippines",
"title": "M 4.6 - 63 km W of Catuday, Philippines",
"status": "reviewed",
"tsunami": 0,
"updated": "2026-05-30T14:41:49.040Z",
"magnitude": 4.6,
"coordinates": {
"depth_km": 10,
"latitude": 16.3879,
"longitude": 119.2212
},
"significance": 326,
"magnitude_type": "mb",
"timezone_offset_min": null
},
{
"id": "us7000spit",
"cdi": null,
"mmi": null,
"url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000spit",
"felt": null,
"time": "2026-05-30T13:15:09.763Z",
"type": "earthquake",
"alert": null,
"place": "62 km SE of Pondaguitan, Philippines",
"title": "M 4.6 - 62 km SE of Pondaguitan, Philippines",
"status": "reviewed",
"tsunami": 0,
"updated": "2026-05-30T14:21:57.040Z",
"magnitude": 4.6,
"coordinates": {
"depth_km": 10,
"latitude": 6.018,
"longitude": 126.6311
},
"significance": 326,
"magnitude_type": "mb",
…