Skip to main content
AlertaParques
ES

API for operators

Public REST API. Public endpoints require no authentication and are available to any developer. B2B endpoints are reserved for tourism operators and organizations — currently in closed access. If you're interested in integrating AlertaParques into your platform, contact us at alertaparques@gmail.com.

Base URL

https://alertaparques.cl/api/v1

Public endpoints

GET /parques List all parks with current status
GET /parques/:slug Park detail with trails, 72h forecast and alerts
GET /parques/:slug/senderos Park trails with current conditions
GET /alertas All active alerts
GET /alertas?parque=:slug Alerts filtered by park
GET /alertas?nivel=rojo Alerts filtered by level
POST /suscriptores Create email or Web Push subscription
DELETE /suscriptores/:token Cancel subscription without login
GET /health Service health check

B2B endpoints

Require header X-API-Key: your_key. Contact alertaparques@gmail.com for access.

GET /bulk/condiciones Dump of all conditions from the last 24h
GET /bulk/parques All parks with full data (trails + alerts + conditions)

Response format

{
  "data": { ... },   // null on error
  "error": null,     // string on error
  "ts": "2025-11-15T14:30:00.000Z"
}

Rate limits

  • • Public endpoints: 100 requests/minute per IP
  • • B2B endpoints: 1,000 requests/minute
  • • Cache-Control: public, max-age=300 on public GETs