हमारा भूकंप डेटा एपीआई दुनिया भर से एकत्रित भूकंप जानकारी तक मुफ्त रीयल-टाइम पहुंच प्रदान करता है। यह एपीआई भूकंप निगरानी अनुप्रयोगों का निर्माण करने वाले डेवलपर्स के लिए सरल, तेज़ और विश्वसनीय होने के लिए डिज़ाइन किया गया है।
https://earthqua.com/wp-json/earthquakes/v1/कोई प्रमाणीकरण आवश्यक नहीं है। API केवल पढ़ने के लिए सार्वजनिक रूप से उपलब्ध है।
/latestवैकल्पिक फ़िल्टरिंग पैरामीटर के साथ सबसे हालिया भूकंप डेटा प्राप्त करें।
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 10 | Number of earthquakes to return (1-100) |
min_magnitude | float | 0 | Minimum magnitude filter |
max_magnitude | float | 10 | Maximum magnitude filter |
country_code | string | null | Filter by country code (e.g., "TR", "US") |
keyword | string | null | Search in place names |
GET https://earthqua.com/wp-json/earthquakes/v1/latestGET https://earthqua.com/wp-json/earthquakes/v1/latest?country_code=TR&min_magnitude=4.0GET https://earthqua.com/wp-json/earthquakes/v1/latest?keyword=Turkey&limit=20/statsभूकंप के आंकड़े और सारांश जानकारी प्राप्त करें।
GET https://earthqua.com/wp-json/earthquakes/v1/statsसभी API प्रतिक्रियाएँ एक सुसंगत JSON संरचना का पालन करती हैं:
{ "success": true, "data": { "earthquakes": [...], "total": 73, "page": 1, "per_page": 10, "total_pages": 8 }, "meta": { "generated_at": "2025-10-21T00:09:57+01:00", "api_version": "1.0", "source": "earthquakes-plugin" } }प्रत्येक भूकंप वस्तु में निम्नलिखित क्षेत्र होते हैं:
| Field | Type | Description |
|---|---|---|
id | integer | Internal database ID |
external_id | string | Source-specific identifier |
source | string | Data source ("usgs" or "turkey") |
magnitude | float | Earthquake magnitude |
magnitude_formatted | string | Formatted magnitude (e.g., "4.2") |
magnitude_class | string | Magnitude category ("low", "moderate", "strong", "major", "great") |
place | string | Location description |
place_short | string | Shortened location name |
latitude | float | Latitude coordinate |
longitude | float | Longitude coordinate |
depth | float | Depth in kilometers |
depth_formatted | string | Formatted depth (e.g., "7.5 km") |
time | integer | Unix timestamp in milliseconds |
formatted_time | string | Human-readable time |
coordinates | string | Formatted coordinates |
status | string | Review status |
tsunami_warning | boolean | Tsunami warning issued |
city | string | City name (if available) |
country | string | Country name |
country_code | string | ISO country code |
वर्तमान में, API पर कोई दर सीमाएँ लागू नहीं की गई हैं। हालाँकि, हम सभी उपयोगकर्ताओं के लिए सर्वोत्तम प्रदर्शन सुनिश्चित करने के लिए उचित उपयोग पैटर्न की सिफारिश करते हैं।
त्रुटि प्रतिक्रियाएँ सफलता प्रतिक्रियाओं की समान संरचना का पालन करती हैं लेकिन success: false और डेटा फ़ील्ड में एक त्रुटि संदेश के साथ।
सरकारी एजेंसियों और वैज्ञानिक संस्थानों से एकत्रित डेटा, जो विश्वभर में सटीकता और विश्वसनीयता सुनिश्चित करता है।
उन्नत एल्गोरिदम भूकंप डेटा को घटना के मिनटों के भीतर संसाधित और मान्य करते हैं, जो उपलब्ध सबसे वर्तमान जानकारी प्रदान करते हैं।
API समर्थन, फीचर अनुरोधों, या बग रिपोर्ट के लिए, कृपया हमारी वेबसाइट के माध्यम से हमसे संपर्क करें या हमारे रिपॉजिटरी में एक मुद्दा बनाएं।