API Documentation

Public endpoints for retrieving earthquake data

Endpoints
GET /api/health

Check if the API is running

curl https://eqm.piyalahmed.com/api/health
GET /api/events

Get all seismic events

curl https://eqm.piyalahmed.com/api/events
GET /api/events/:id

Get a specific event by ID

curl https://eqm.piyalahmed.com/api/events/abc-123