Rate limit: 100 requests per minute.
GET /api/v3/m1
Returns the daily wildfire risk score for a municipality. Optionally filtered by date range.
Request
curl -s "https://api.pastormap.com/api/v3/m1?municipio_id=05001" \
-H "Authorization: Bearer $PASTOR_API_KEY"With date range:
curl -s "https://api.pastormap.com/api/v3/m1?municipio_id=05001&date_from=2026-06-01&date_to=2026-07-28" \
-H "Authorization: Bearer $PASTOR_API_KEY"Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
municipio_id |
string | Yes | INE municipality code (5 digits, e.g. 05001). |
date_from |
date (YYYY-MM-DD) | No | Start of the date range (inclusive). |
date_to |
date (YYYY-MM-DD) | No | End of the date range (inclusive). |
Response
{
"municipio_id": "05001",
"date": "2026-07-28",
"risk_score": 0.23,
"risk_label": "MEDIUM"
}risk_label values: LOW, MEDIUM, HIGH.
risk_score range: 0.0 to 1.0 (float).
GET /api/v3/m3
Returns preventive decision support data for a municipality.
Request
curl -s "https://api.pastormap.com/api/v3/m3?municipio_id=05001" \
-H "Authorization: Bearer $PASTOR_API_KEY"Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
municipio_id |
string | Yes | INE municipality code. |
GET /api/v3/decisiones
Returns the territorial decision history for a municipality.
Request
curl -s "https://api.pastormap.com/api/v3/decisiones?municipio_id=05001" \
-H "Authorization: Bearer $PASTOR_API_KEY"Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
municipio_id |
string | Yes | INE municipality code. |