Direkt zum Inhalt
GET/api/hazard/forest-fires/1 Credit

Waldbrände

Ein gespeicherter Datensatz großer Waldbranderkennungen, gegliedert nach der indischen Forstverwaltungshierarchie. Er ist ein historisches Ereignisprotokoll, keine astrologische Berechnung, und steht für Mundan- und Korrelationsanalysen neben den Horoskop-Endpoints bereit. Filtere mit `state`, `district`, `circle`, `division` und `fire_name`, alle als Teilstring-Abgleich ohne Beachtung der Groß-/Kleinschreibung, sowie mit `start_date`/`end_date` nach dem Zeitpunkt der ersten Erkennung (YYYY-MM-DD oder ein vollständiger ISO-Zeitstempel). `sort` akzeptiert 'newest' (Standard), 'oldest', 'name_asc' oder 'name_desc' für den Brandnamen. Die Paginierung erfolgt über `page` und `itemsPerPage`, standardmäßig fünfzig pro Seite und bis zu fünfhundert. Die Antwort ist die übliche paginierte Hülle aus `count`, `next`, `previous` und `results`. Jedes Ergebnis enthält eine ID, die Zeitstempel `first_detection` und `last_detection`, Bundesstaat, Distrikt, Forstkreis, Division und Revier, einen Brandnamen und die Punktkoordinaten als `latitude` und `longitude`. Bei Erkennungen außerhalb einer kartierten Forstdivision sind die Verwaltungsfelder null.

https://api.occultapi.com/api/hazard/forest-fires/
Anfrage testen

Authentifizierung

Schick deinen Schlüssel im Header X-API-Key mit. API-Schlüssel sind Zugangsdaten für den Server: Sie gehören nie in Browser-JavaScript oder in eine mobile App.

X-API-Key: yt_live_a1b2c3d4_…

Query-Parameter (10)

Sie stehen in der URL. Alle sind optional, sofern nicht anders markiert, und lassen sich kombinieren: erst filtern, dann blättern, dann sortieren.

ParameterTypBeispielBedeutung
circlestring—Nach Kreisname filtern (Teilstring, ohne Beachtung der Groß-/Kleinschreibung)
districtstring—Nach Distriktname filtern (Teilstring, ohne Beachtung der Groß-/Kleinschreibung)
divisionstring—Nach Divisionsname filtern (Teilstring, ohne Beachtung der Groß-/Kleinschreibung)
end_datestring—Nach Enddatum/-uhrzeit filtern (YYYY-MM-DD oder YYYY-MM-DDTHH:MM:SS)

FORMATVORGABE: 'YYYY-MM-DD' oder 'YYYY-MM-DDTHH:MM:SS'. Wird mit `first_detection__lte` verglichen.

fire_namestring—Nach Brandnamen filtern (Teilstring, ohne Beachtung der Groß-/Kleinschreibung)

FREITEXT; Teilstring-Abgleich per `icontains` ohne Beachtung der Groß-/Kleinschreibung auf dem Brandnamen.

itemsPerPageinteger—Anzahl der Elemente pro Seite
pageinteger—Seitennummer
sortstring—Sortierung: 'newest' (Standard), 'oldest', 'name_asc' (Brandname A-Z) oder 'name_desc' (Z-A)

Groß-/Kleinschreibung wird nicht beachtet; Leerzeichen am Anfang und Ende werden entfernt. Standard: 'newest'. JEDER unbekannte Wert fällt stillschweigend auf 'newest' zurück, statt einen Fehler auszulösen. 'name_asc'/'name_desc' sortieren nach fire_name. Null-Werte stehen immer am Ende.

erlaubt: newest, oldest, name_asc, name_desc
start_datestring—Nach Startdatum/-uhrzeit filtern (YYYY-MM-DD oder YYYY-MM-DDTHH:MM:SS)

FORMATVORGABE: 'YYYY-MM-DD' oder 'YYYY-MM-DDTHH:MM:SS'. Wird mit `first_detection__gte` verglichen.

statestring—Nach Bundesstaat filtern (Teilstring, ohne Beachtung der Groß-/Kleinschreibung)

Beispielanfrage

curl "https://api.occultapi.com/api/hazard/forest-fires/" \
  -H "X-API-Key: $OCCULT_API_KEY"

Antwort

{
  "_truncated": true,
  "_note": "Response shortened for the catalogue.",
  "preview": "{\"count\": 100, \"next\": \"https://api.occultapi.com/api/hazard/forest-fires/?page=2\", \"previous\": null, \"results\": [{\"id\": 66, \"first_detection\": \"2025-06-09T13:30:00+05:30\", \"last_detection\": \"2025-06-09T13:30:00+05:30\", \"state\": \"UTTAR PRADESH\", \"district\": \"AGRA\", \"circle\": null, \"division\": null, \"range_name\": null, \"fire_name\": \"AGRA -1\", \"longitude\": 78.26051634, \"latitude\": 26.83035862}, {\"id\": 9, \"first_detection\": \"2025-04-29T01:48:00+05:30\", \"last_detection\": \"2025-04-29T01:48:00+05:30\", \"state\": \"RAJASTHAN\", \"district\": \"SIROHI\", \"circle\": \"CCF JODHPUR CIRCLE\", \"division\": \"SIROHI DIVISION\", \"range_name\": \"ABU ROAD RANGE\", \"fire_name\": \"ABU ROAD -5\", \"longitude\": 72.88706718, \"latitude\": 24.50238094}, {\"id\": 65, \"first_detection\": \"2025-04-28T02:07:00+05:30\", \"last_detection\": \"2025-04-29T01:48:00+05:30\", \"state\": \"HIMACHAL PRADESH\", \"district\": \"HAMIRPUR\", \"circle\": \"HAMIRPUR CIRCLE\", \"division\": \"HAMIRPUR DIVISION\", \"range_name\": \"AGHAR RANGE\", \"fire_name\": \"AGHAR -2\", \"longitude\": 76.54487903, \"latitude\": 31.61348206}, {\"id\": 20, \"first_detection\": \"2025-04-27T13:36:00+05:30\", \"last_detection\": \"2025-04-27T13:36:00+05:30\", \"state\": \"ANDHRA PRADESH\", \"district\": \"ALLURI SITHARAMA RAJU\", \"circle\": \"RAJAHMUNDRY CIRCLE\", \"division\": \"RAMPACHODAVARAM DIVISION\", \"range_name\": \"ADDATEEGALA RANGE\", \"fire_name\": \"ADDATEEGALA -8\", \"longitude\": 81.84477321, \"latitude\": 17.71221588}, {\"id\": 64, \"first_detection\": \"2025-04-26T13:54:00+05:30\", \"last_detection\": \"2025-04-26T13:54:00+05:30\", \"state\": \"HIMACHAL PRADESH\", \"district\": \"HAMIRPUR\", \"circle\": \"HAMIRPUR CIRCLE\", \"division\": \"HAMIRPUR DIVISION\", \"range_name\": \"AGHAR RANGE\", \"fire_name\": \"AGHAR -1\", \"longitude\": 76.56248482, \"latitude\": 31.57775419}, {\"id\": 70, \"first_detection\": \"2025-04-23T13:10:00+05:30\", \"last_detection\": \"2025-04-23T13:10:00+05:30\", \"state\": \"MADHYA PRADESH\", \"district\": \"SHEOPUR\", \"circle\": \"KUNO VAN PRANI SHEOPUR CIRCLE\", \"division\": \"KUNO PALPUR VAN PRANI SHEOPUR DIVISION\", \"range_name\": \"AGRA WEST RANGE\", \"fire_name\": \"AGRA WEST -4\", \"longitude\": 77.20371276, \"latitude\": 25.993098}, {\"id\": 100, \"first_detection\": \"2025-04-20T14:06:00+05:30\", \"last_detection\": \"2025-04-20T14:06:00+05:30\", \"state\": \"MAHARASHTRA\", \"district\": \"AHMEDNAGAR\", \"circle\": \"WILDLIFE WEST CIRCLE\", \"division\": \"CCF WILDLIFE PUNE DIVISION\", \"range_name\": \"REHEKURI RANGE\", \"fire_name\": \"AHMEDNAGAR -36\", \"longitude\": 75.14123428, \"latitude\": 18.52634684}, {\"id\": 99, \"first_detection\": \"2025-04-19T14:25:00+05:30\", \"last_detection\": \"2025-04-19T14:25:00+05:30\", \"state\": \"MAHARASHTRA\", \"district\": \"AHMEDNAGAR\", \"circle\": \"NASHIK CIRCLE\", \"division\": \"AHMEDNAGAR DIVISION\", \"range_name\": \"PARNER RANGE\", \"fire_name\": \"AHMEDNAGAR -35\", \"longitude\": 74.32290649, \"latitude\": 19.14418074}, {\"id\": 69, \"first_detection\": \"2025-04-17T02:13:00+05:30\", \"last_detection\": \"2025-04-17T02:13:00+05:30\", \"state\": \"MADHYA PRADESH\", \"district\": \"SHEOPUR\", \"circle\": \"KUNO VAN PRANI SHEOPUR CIRCLE\", \"division\": \"KUNO PALPUR VAN PRANI SHEOPUR DIVISION\", \"range_name\": \"AGRA WEST RANGE\", \"fire_name\": \"AGRA WEST -3\", \"longitude\": 77.20165544, \"latitude\": 25.95699487}, {\"id\": 98, \"first_detection\": \"2025-04-16T02:31:00+05:30\", \"last_detection\": \"2025-04-16T02:31:00+05:30\", \"state\": \"MAHARASHTRA\", \"district\": \"AHMEDNAGAR\", \"circle\": \"NASHIK CIRCLE\", \"division\": \"SANGAMNER DIVISION\", \"range_name\": \"RAJUR RANGE\", \"fire_name\": \"AHMEDNAGAR -34\", \"longitude\": 73.90079744, \"latitude\": 19.6026871}, {\"id\": 97, \"first_detection\": \"2025-04-16T02:31:00+05:30\", \"last_detection\": \"2025-04-16T02:31:00+05:30\", \"state\": \"MAHARASHTRA\", \"district\": \"AHMEDNAGAR\", \"circle\": \"NASHIK CIRCLE\", \"division\": \"AHMEDNAGAR DIVISION\", \"range_name\": \"PARNER RANGE\", \"fire_name\": \"AHMEDNAGAR -33\", \"longitude\": 74.57595382, \"latitude\": 18.97076079}, {\"id\": 96, \"first_detection\": \"2025-04-14T14:19:00+05:30\", \"last_detection\": \"2025-04-14T14:19:00+05:30\", \"state\": \"MAHARASHTRA\", \"district\": \"AHMEDNAGAR\", \"circle\": \"NASHIK CIRCLE\", \"division\": \"AHME"
}

Aus einem echten Aufruf mit genau dieser Anfrage. Die Ergebnisse stehen unter data.

Fehler

Abrechnungsfehler liefern { "error": "…", "message": "<code>", "is_error": true }. Zeig deinen Nutzern error an und verzweige im Code anhand von message. Details in der Fehlerreferenz.