Chuyển đến nội dung chính

Nhà Phát Triển

Các điểm cuối API, nguồn cấp dữ liệu và tài nguyên có thể đọc bằng máy để tích hợp dữ liệu QuakeFYI vào ứng dụng của bạn.

Điểm cuối API

Tất cả điểm cuối trả về JSON. Không yêu cầu xác thực. Có thể áp dụng giới hạn tốc độ. Tài liệu tương tác (Swagger UI) →

GET /api/v1/earthquakes/

Recent earthquakes, paginated. Supports magnitude and date filtering.

Tham số: page, min_mag, days

GET /api/v1/earthquakes/{slug}/

Full earthquake detail with impact data and country info.

Tham số: slug (path)

GET /api/v1/countries/

Countries with seismic data, filterable by zone and continent.

Tham số: zone, continent

GET /api/v1/countries/{slug}/

Country seismic profile with recent earthquakes and notable historical events.

Tham số: slug (path)

GET /api/v1/plates/

All tectonic plates with area, type, and earthquake count.

GET /api/v1/plates/{slug}/

Tectonic plate detail with description and annual earthquake stats.

Tham số: slug (path)

GET /api/v1/search/?q={query}

Search earthquakes, countries, and glossary terms.

Tham số: q (min 2 chars)

GET /api/v1/glossary/

Seismology glossary terms, filterable by category.

Tham số: category

GET /api/v1/glossary/{slug}/

Glossary term detail with definition, example, and related terms.

Tham số: slug (path)

GET /api/v1/openapi.json

OpenAPI 3.1.0 specification for the QuakeFYI API.

GET /api/recent/

Recent earthquakes with optional magnitude and time filtering.

Tham số: hours, min_magnitude

GET /api/live-feed/

GeoJSON feed of recent earthquakes for map rendering.

Tham số: hours

GET /api/plate-boundaries/

GeoJSON of tectonic plate boundaries for map overlays.

GET /api/v1/countries/{iso2}/risk/

Seismic risk assessment for a specific country.

Tham số: iso2 (path)

GET /api/v1/stats/

Global earthquake statistics and data coverage summary.

Nguồn cấp dữ liệu

Machine-Readable Files

Data Coverage

250
Countries
5,700+
Historical Events
15
Languages
12
Interactive Tools

Gia đình Geo FYI

QuakeFYI là một phần của gia đình Geo FYI — bốn trang web bao gồm địa lý, khoảng cách, độ cao, địa chấn học và mã bưu chính.