Building integrations with Israel's Home Front Command alert system requires understanding undocumented APIs, geo-blocking restrictions, Hebrew-only response formats, and a fragmented ecosystem of community libraries. Developers waste hours reverse-engineering endpoints and handling edge cases like UTF-8 BOM, history caps, and timezone normalization.
Author: @yaniv-golan
Comprehensive guide for working with Pikud HaOref (Israel Home Front Command) alert APIs. Build integrations with real-time rocket alerts, earthquake warnings, and civil defense notifications. Covers official and community endpoints, geo-blocking workarounds, community libraries (Node.js, Python, C#), notification bots, dashboards, and historical data analysis. Use when building alert integrations, fetching live or historical alert data, or deploying monitoring services. Do NOT use for non-Israeli emergency systems or generic webhook frameworks.
npx skills-il add yaniv-golan/pikud-haoref-alertsThis skill covers everything needed to work with the Pikud HaOref (Israel Home Front Command) alert system, from raw official endpoints to community wrapper libraries and deployment strategies.
The official oref.org.il API may block non-Israeli IP addresses. Deploy on GCP me-west1 (Tel Aviv) to bypass. Tzofar (tzevaadom.co.il) endpoints are not geo-blocked.
GET https://www.oref.org.il/warningMessages/alert/alerts.jsonReturns currently active alert. Must be polled every 1-2 seconds. Returns empty body when no alert.
GET https://alerts-history.oref.org.il/Shared/Ajax/GetAlarmsHistory.aspx?lang=he&mode=1Returns recent alerts (capped at 3,000 records). Preferred over AlertsHistory.json during high-volume periods.
| Cat | Type |
|---|---|
| 1 | Missiles/Rockets |
| 2 | Hostile aircraft |
| 3 | Earthquake |
| 4 | Tsunami |
| 5 | Radiological event |
| 6 | Hazardous materials |
| 7 | Terrorist infiltration |
| 13 | Event concluded |
| 14 | Pre-alert warning |
Supported Agents
Build me a Telegram bot that sends rocket alerts for Tel Aviv and Ashkelon with time-to-shelter countdown
Is there currently an active alert in Ashkelon? Check both real-time and history endpoints
Help me deploy a Pikud HaOref alert polling service on GCP me-west1 to bypass geo-blocking
Analyze the alert history from the past week. Show which areas received the most rockets and the timeline of escalation
Trust Score
Guide to finding and preparing shelters in Israel. Covers mamad, mamak, maman, and public miklat, time-to-shelter by region, preparation checklists, accessibility requirements, and protocols for buildings without a safe room.
Safety protocols per Home Front Command alert type. Covers missiles, hostile aircraft, earthquake, tsunami, hazardous materials, and terrorist infiltration. Includes regional response times, special population guidance, and post-alert exit procedures.
Security scanning guidance for Israeli web applications covering OWASP Top 10, Israeli Privacy Protection Authority (PPA) compliance, dependency vulnerability scanning, secrets detection, and secure coding patterns for Hebrew/RTL apps.
Want to build your own skill? Try the Skill Creator ยท Submit a Skill