API תאריכים בישראל

תשובות מדויקות לשאלות של תאריכים בישראל, במקום לחשב לבד: תאריך עברי, חגים, ימי מנוחה רשמיים, ימי עסקים, חופשות בתי ספר, מועדים וזמני שבת. כל תשובה כוללת משפט מוכן לציטוט ומקור.

לסוכני AI: האינדקס המלא של התיעוד נמצא ב-llms.txt.

כתובת בסיס
https://nayeret.ai/api/v1/calendar
אימות
לא נדרש
פורמט
JSON ויומני ‎.ics, GET בלבד, CORS פתוח
ערים
24 ערים לזמני שבת

התחלה מהירה

יום אחד, עם התאריך העברי (וזה שמתחיל בשקיעה), חגים, פרשה, יום מנוחה, יום עסקים ובתי ספר:

curl -s 'https://nayeret.ai/api/v1/calendar/day/2026-12-25?city=tel-aviv'
200 application/json
{
  "date": "2026-12-25",
  "weekday": "Friday",
  "weekday_he": "שישי",
  "hebrew": {
    "day": 15,
    "month": 10,
    "month_name": "Tevet",
    "month_he": "טבת",
    "year": 5787,
    "leap_year": true,
    "text_he": "ט״ו בטבת תשפ״ז",
    "text_en": "15 Tevet 5787"
  },
  "hebrew_after_sunset": {
    "text_he": "ט״ז בטבת תשפ״ז",
    "text_en": "16 Tevet 5787"
  },
  "events": [],
  "special_shabbat": [],
  "parasha": null,
  "rest": {
    "rest_day": false,
    "reason": null,
    "status": "official",
    "source": "https://boi.org.il/media/pnplqicn/רשימת-מועדים-המשפיעים-על-פעילות-בנק-ישראל-לשנים-2026-2027.pdf"
  },
  "business_day": false,
  "school": {
    "closed": false,
    "reason": null,
    "status": "official",
    "source": "https://parents.education.gov.il/gov-education/vacations-camps-leisure/schedule/",
    "note": "Many schools study on Friday; kindergartens and some schools do not."
  },
  "zmanim": {
    "city": "tel-aviv",
    "city_he": "תל אביב - יפו",
    "sunrise": "06:39",
    "sunset": "16:43",
    "status": "estimate",
    "method": "Sea-level sunset for the city; candle lighting 20 min before sunset (local custom); havdalah when the sun is 8.5 degrees below the horizon. Times in Israel time (Asia/Jerusalem), rounded to the minute.",
    "candle_lighting": "16:23"
  },
  "answer_he": "יום שישי, 25.12.2026 הוא ט״ו בטבת תשפ״ז. יום שישי: רוב המשרדים סגורים. אחרי השקיעה מתחיל ט״ז בטבת תשפ״ז.",
  "answer_en": "Friday, 25 December 2026 is 15 Tevet 5787. Friday: most offices are closed. The Hebrew date changes at sunset to 16 Tevet 5787.",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how",
    "https://boi.org.il/media/pnplqicn/רשימת-מועדים-המשפיעים-על-פעילות-בנק-ישראל-לשנים-2026-2027.pdf",
    "https://parents.education.gov.il/gov-education/vacations-camps-leisure/schedule/"
  ]
}

מבנה התשובה

  • answer_he ו-answer_en: משפט שלם לציטוט, בעברית ובאנגלית.
  • status: מאיפה התשובה. computed (חישוב של הלוח העברי), official (רשימת ימי המנוחה של בנק ישראל, לוח החופשות של משרד החינוך), statutory (לפי חוק), estimate (זמני שבת, לפי חישוב השקיעה) או unknown (מחוץ לשנים שיש לנו להן נתון רשמי).
  • sources: הקישורים למקורות. הכותרת X-Dataset-Version אומרת מתי נבדקו רשימות ימי המנוחה ובתי הספר.
  • שגיאה מחזירה סטטוס 400 (או 404 לנתיב לא מוכר) עם error.code, error.message שמסבירים מה לתקן ו-error.docs. תאריכים נבדקים בקפדנות: חודש 01-12, יום שקיים בחודש ושנה בין 1900 ל-2200, כך ש-2026-13-01 או 2026-02-30 מחזירים 400 עם bad_date ולא מתגלגלים לתאריך אחר.
curl
curl -s 'https://nayeret.ai/api/v1/calendar/zmanim?date=2026-10-30&city=nowhere'
400 application/json מקוצר
{
  "error": {
    "code": "bad_city",
    "message": "city must be one of: jerusalem, tel-aviv, haifa, ...",
    "docs": "https://nayeret.ai/developers/dates/"
  }
}

נקודות קצה

GET /api/v1/calendar/today

עכשיו בישראל

השעה בישראל (now_israel), התאריך הלועזי, והתאריך העברי שבתוקף עכשיו (hebrew_now: אחרי השקיעה זה כבר היום הבא), עם כל פרטי היום. נשמר במטמון דקה אחת.

פרמטרים

city string
עיר לזמנים, ברירת מחדל jerusalem
curl
curl -s 'https://nayeret.ai/api/v1/calendar/today'
GET /api/v1/calendar/day/{date}

יום אחד

כל מה שידוע על יום: תאריך עברי, אירועים (חגים, צומות, ימי זיכרון), שבת מיוחדת, פרשה, rest (יום מנוחה רשמי), business_day ו-school. עם city מתווספים זמני הדלקת נרות, הבדלה, זריחה ושקיעה.

בנתיב

date YYYY-MM-DD חובה
התאריך הלועזי

פרמטרים

city string
מזהה עיר מ-/cities
curl
curl -s 'https://nayeret.ai/api/v1/calendar/day/2026-12-25?city=tel-aviv'
GET /api/v1/calendar/holidays

חגים של שנה

החגים, הצומות וימי הזיכרון של שנה לועזית או עברית, כפי שהם בישראל (יום טוב אחד, ימי זיכרון שנדחים או מוקדמים לפי החוק). לכל אירוע: תאריך, תאריך עברי, id, שם בעברית ובאנגלית, kind ו-rest_day.

פרמטרים

year integer
שנה לועזית, 1900 עד 2200
hebrew_year integer
שנה עברית, 5660 עד 5960 (במקום year)
include string
main (ברירת מחדל) או all: גם ראשי חודשים, חול המועד וכל נר של חנוכה
curl
curl -s 'https://nayeret.ai/api/v1/calendar/holidays?year=2027'
200 application/json מקוצר
{
  "year": 2027,
  "count": 42,
  "items": [
    {
      "date": "2027-01-23",
      "weekday": "Saturday",
      "hebrew_he": "ט״ו בשבט תשפ״ז",
      "hebrew_en": "15 Shevat 5787",
      "id": "tubishvat",
      "name_he": "ט״ו בשבט",
      "name_en": "Tu BiShvat",
      "kind": "minor",
      "rest_day": false
    },
    {
      "date": "2027-02-07",
      "weekday": "Sunday",
      "hebrew_he": "ל׳ בשבט תשפ״ז",
      "hebrew_en": "30 Shevat 5787",
      "id": "family",
      "name_he": "יום המשפחה",
      "name_en": "Family Day",
      "kind": "modern",
      "rest_day": false
    }
  ],
  "status": "computed",
  "note": "Holidays as kept in Israel (one day of yom tov). Dates of national days follow the postponement rules in their laws.",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how"
  ]
}
GET /api/v1/calendar/next/{event}

מתי החג הבא

המועדים הבאים של חג או יום זיכרון, מהיום (או מ-after) והלאה. המזהים קצרים: yk ליום כיפור, rh1 לראש השנה, pesach, zikaron, atzmaut ועוד. מזהה לא מוכר מחזיר 400 עם רשימת כל המזהים.

בנתיב

event string חובה
מזהה החג

פרמטרים

after YYYY-MM-DD
ברירת מחדל: היום בישראל
count integer
1 עד 20, ברירת מחדל 3
curl
curl -s 'https://nayeret.ai/api/v1/calendar/next/yk?count=2'
200 application/json
{
  "event": "yk",
  "after": "2026-10-25",
  "items": [
    {
      "date": "2027-10-11",
      "weekday": "Monday",
      "hebrew_he": "י׳ בתשרי תשפ״ח",
      "hebrew_en": "10 Tishrei 5788",
      "days_from_after": 351,
      "id": "yk",
      "name_he": "יום כיפור",
      "name_en": "Yom Kippur",
      "kind": "yomtov",
      "rest_day": true
    },
    {
      "date": "2028-09-30",
      "weekday": "Saturday",
      "hebrew_he": "י׳ בתשרי תשפ״ט",
      "hebrew_en": "10 Tishrei 5789",
      "days_from_after": 706,
      "id": "yk",
      "name_he": "יום כיפור",
      "name_en": "Yom Kippur",
      "kind": "yomtov",
      "rest_day": true
    }
  ],
  "status": "computed",
  "answer_he": "יום כיפור הבא חל ביום שני, 11.10.2027, י׳ בתשרי תשפ״ח.",
  "answer_en": "The next Yom Kippur is on Monday, 11 October 2027 (10 Tishrei 5788).",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how"
  ]
}
GET /api/v1/calendar/convert

המרה בין לועזי לעברי

המרה לשני הכיוונים. בתאריך עברי החודשים ממוספרים מניסן: ניסן 1, תשרי 7, אדר 12 (אדר א׳ בשנה מעוברת), אדר ב׳ 13.

פרמטרים

date YYYY-MM-DD
תאריך לועזי
after_sunset boolean
true אם הרגע היה אחרי השקיעה
hebrew YEAR-MONTH-DAY
תאריך עברי, למשל 5787-1-15 (ט״ו בניסן)
curl
curl -s 'https://nayeret.ai/api/v1/calendar/convert?date=2026-10-25'
200 application/json
{
  "date": "2026-10-25",
  "after_sunset": false,
  "hebrew": {
    "day": 14,
    "month": 8,
    "year": 5787,
    "text_he": "י״ד בחשוון תשפ״ז",
    "text_en": "14 Cheshvan 5787"
  },
  "answer_he": "25.10.2026 = י״ד בחשוון תשפ״ז.",
  "answer_en": "2026-10-25 = 14 Cheshvan 5787.",
  "status": "computed",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how"
  ]
}
GET /api/v1/calendar/business-days

ספירת ימי עסקים

ימי ראשון עד חמישי בין שני תאריכים, כולל שניהם, בלי ימי מנוחה רשמיים. weekday_rest_days מפרט את החגים שנפלו באמצע השבוע.

פרמטרים

from YYYY-MM-DD חובה
תאריך התחלה
to YYYY-MM-DD חובה
תאריך סיום
curl
curl -s 'https://nayeret.ai/api/v1/calendar/business-days?from=2026-09-01&to=2026-09-30'
200 application/json
{
  "from": "2026-09-01",
  "to": "2026-09-30",
  "inclusive": true,
  "business_days": 20,
  "calendar_days": 30,
  "weekday_rest_days": [
    {
      "date": "2026-09-13",
      "reason": "ראש השנה (ב)"
    },
    {
      "date": "2026-09-21",
      "reason": "יום הכיפורים"
    }
  ],
  "status": "official",
  "answer_he": "בין 1.9.2026 ל-30.9.2026 (כולל) יש 20 ימי עסקים (ראשון עד חמישי, בלי שבתונים).",
  "answer_en": "There are 20 Israeli business days from 2026-09-01 to 2026-09-30 inclusive (Sunday-Thursday, excluding rest days).",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how",
    "https://boi.org.il/media/pnplqicn/רשימת-מועדים-המשפיעים-על-פעילות-בנק-ישראל-לשנים-2026-2027.pdf"
  ]
}
GET /api/v1/calendar/add

חישוב מועד

המועד שאחרי תקופה, לפי סעיף 10 לחוק הפרשנות: היום הראשון לא נספר, תקופה בחודשים מסתיימת באותו מספר יום, וכשהיום האחרון הוא יום מנוחה המועד עובר ליום הבא שאינו יום מנוחה. rolled_over מפרט את הדחייה, ו-caveat מזכיר שחוק או חוזה מסוים יכולים לקבוע אחרת.

פרמטרים

from YYYY-MM-DD חובה
תאריך ההתחלה
amount integer חובה
אורך התקופה
unit string
days (ברירת מחדל), business_days, weeks, months או years
roll string
interpretation-law (ברירת מחדל) או none
curl
curl -s 'https://nayeret.ai/api/v1/calendar/add?from=2026-09-10&amount=30&unit=days'
200 application/json
{
  "from": "2026-09-10",
  "amount": 30,
  "unit": "days",
  "result": "2026-10-11",
  "weekday": "Sunday",
  "hebrew_he": "ל׳ בתשרי תשפ״ז",
  "before_roll": "2026-10-10",
  "rolled_over": [
    {
      "date": "2026-10-10",
      "reason": "Shabbat"
    }
  ],
  "rule": "Interpretation Law 1981 s.10: the start day is not counted; a period in months ends on the same day number (or the last day of a shorter month); rest days count, unless they are the last days of the period, which then ends on the next day that is not a rest day.",
  "caveat": "A specific law, court rules or a contract can set a different rule (e.g. court recess). Not legal advice.",
  "status": "official",
  "answer_he": "30 ימים מ-10.9.2026: יום ראשון, 11.10.2026 (המועד 10.10.2026 חל ביום מנוחה ונדחה).",
  "answer_en": "30 days from 2026-09-10: Sunday, 11 October 2026 (2026-10-10 is a rest day, so the period ends on the next day that is not).",
  "sources": [
    "https://he.wikisource.org/wiki/חוק_הפרשנות",
    "https://boi.org.il/media/pnplqicn/רשימת-מועדים-המשפיעים-על-פעילות-בנק-ישראל-לשנים-2026-2027.pdf",
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how"
  ]
}
GET /api/v1/calendar/anniversary

יום הולדת עברי ואזכרה

המועדים הלועזיים של יום הולדת עברי, אזכרה (יארצייט), בר מצווה או בת מצווה, עם כללי אדר בשנה מעוברת וחודשים של 29 ימים. כל מועד מתחיל בשקיעה של הערב הקודם.

פרמטרים

type string חובה
birthday, yahrzeit, bar_mitzvah או bat_mitzvah
date YYYY-MM-DD חובה
תאריך הלידה או הפטירה
after_sunset boolean
true אם זה היה אחרי השקיעה
from YYYY-MM-DD
מאיזה תאריך לרשום מועדים (יום הולדת ואזכרה). בלעדיו הרשימה מתחילה מהיום (לפי שעון ישראל), כך שהמועד הראשון הוא תמיד הקרוב ולא אחד שכבר עבר
years integer
כמה מועדים
adar string
אזכרה של מי שנפטר באדר, בשנה מעוברת: אדר א׳ (ברירת מחדל) או adar2
curl
curl -s 'https://nayeret.ai/api/v1/calendar/anniversary?type=birthday&date=1990-03-15&from=2026-10-25&years=2'
200 application/json
{
  "type": "birthday",
  "date": "1990-03-15",
  "after_sunset": false,
  "from": "2026-10-25",
  "hebrew_date": {
    "text_he": "י״ח באדר תש״נ",
    "text_en": "18 Adar 5750"
  },
  "items": [
    {
      "date": "2027-03-27",
      "weekday": "Saturday",
      "hebrew_he": "י״ח באדר ב׳ תשפ״ז",
      "begins": "at sunset the evening before"
    },
    {
      "date": "2028-03-16",
      "weekday": "Thursday",
      "hebrew_he": "י״ח באדר תשפ״ח",
      "begins": "at sunset the evening before"
    }
  ],
  "rules": "Birthday in Adar of a common year falls in Adar II in a leap year (bar/bat mitzvah too). Yahrzeit: 30 Cheshvan or 30 Kislev without that day the year after the death -> the last day of the month; death in Adar of a common year, observed in a leap year: Adar I (Ashkenazi custom, default) or Adar II (Sephardi, adar=adar2).",
  "status": "computed",
  "answer_he": "תאריך עברי: י״ח באדר תש״נ. יום ההולדת העברי הקרוב חל ביום שבת, 27.3.2027.",
  "answer_en": "Hebrew date 18 Adar 5750; the next Hebrew birthday is on Saturday, 27 March 2027.",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how"
  ]
}
GET /api/v1/calendar/zmanim

זמני שבת ויום

זריחה ושקיעה לעיר, ובערב שבת או חג גם הדלקת נרות והבדלה. הדלקת הנרות היא 20 דקות לפני השקיעה, 30 בחיפה ו-40 בירושלים, לפי המנהג המקומי. ההבדלה היא כשהשמש 8.5 מעלות מתחת לאופק. הזמנים מעוגלים לדקה ומסומנים estimate.

פרמטרים

date YYYY-MM-DD
ברירת מחדל: היום בישראל
city string
מזהה עיר, ברירת מחדל jerusalem
curl
curl -s 'https://nayeret.ai/api/v1/calendar/zmanim?date=2026-10-30&city=haifa'
200 application/json
{
  "date": "2026-10-30",
  "city": "haifa",
  "city_he": "חיפה",
  "sunrise": "05:56",
  "sunset": "16:51",
  "status": "estimate",
  "method": "Sea-level sunset for the city; candle lighting 30 min before sunset (local custom); havdalah when the sun is 8.5 degrees below the horizon. Times in Israel time (Asia/Jerusalem), rounded to the minute.",
  "candle_lighting": "16:21",
  "shabbat": {
    "friday": "2026-10-30",
    "candle_lighting": "16:21",
    "havdalah": "17:28",
    "parasha_he": "וירא"
  },
  "answer_he": "שבת בחיפה: הדלקת נרות 16:21 (30.10.2026), צאת השבת 17:28.",
  "answer_en": "Shabbat in haifa: candle lighting 16:21 on 2026-10-30, havdalah 17:28.",
  "sources": [
    "https://nayeret.ai/tools/hebrew-calendar/#lu-how"
  ]
}
GET /api/v1/calendar/cities

מזהי ערים

הערים (24), עם שם בעברית ומספר הדקות שלפני השקיעה להדלקת נרות: jerusalem, tel-aviv, haifa, beer-sheva, rishon, petah-tikva, ashdod, netanya, bnei-brak, holon, ramat-gan, rehovot, ashkelon, beit-shemesh, modiin, kfar-saba, herzliya, hadera, afula, tiberias, safed, kiryat-shmona, dimona, eilat.

curl
curl -s 'https://nayeret.ai/api/v1/calendar/cities'
200 application/json מקוצר
{
  "cities": [
    {
      "id": "jerusalem",
      "name_he": "ירושלים",
      "candle_minutes": 40
    },
    {
      "id": "tel-aviv",
      "name_he": "תל אביב - יפו",
      "candle_minutes": 20
    },
    {
      "id": "haifa",
      "name_he": "חיפה",
      "candle_minutes": 30
    }
  ]
}

יומנים להרשמה (‎.ics)

שלושה יומנים שאפשר להוסיף ל-Google Calendar, ליומן של אפל או ל-Outlook לפי כתובת. הם מתעדכנים כל 12 שעות (REFRESH-INTERVAL).

יומני ics
כתובתתוכן
/api/v1/calendar/feed/holidays.icsהחגים והמועדים בישראל, בחלון מתגלגל של שנתיים
/api/v1/calendar/feed/school.icsימים שבתי הספר סגורים, לפי משרד החינוך
/api/v1/calendar/feed/shabbat/{city}.icsהדלקת נרות וצאת שבת וחג לעיר, לשנה קדימה. למשל shabbat/jerusalem.ics
text/calendar
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//nayeret//israeli-dates//HE
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-PUBLISHED-TTL:PT12H
REFRESH-INTERVAL;VALUE=DURATION:PT12H
X-WR-CALNAME:זמני שבת וחג בירושלים (ניירת)
BEGIN:VEVENT
UID:z-jerusalem-20261030-10@nayeret.ai
DTSTART:20261030T141131Z
DURATION:PT10M
SUMMARY:הדלקת נרות (ירושלים)
TRANSP:TRANSPARENT
END:VEVENT
...

אותם תאריכים ב-MCP

בשרת ה-MCP יש שבעה כלים עם אותו מנוע ואותן תשובות:

כלי התאריכים ב-MCP
כלינקודת הקצה המקבילה
israel_date/day/{date}, ובלי תאריך /today
israel_holidays/holidays
next_holiday/next/{event}
israel_business_days/business-days
israel_deadline/add
hebrew_anniversary/anniversary
shabbat_times/zmanim
curl
curl -s 'https://nayeret.ai/mcp' \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"israel_date","arguments":{"date":"2026-12-25"}}}'

מגבלות ופרטיות

  • עד 120 בקשות בדקה מכל כתובת IP. ערך של פרמטר עד 40 תווים.
  • מטמון: שעה לרוב התשובות, דקה ל-/today, עשר דקות ל-/next, שש שעות ליומנים.
  • ימי המנוחה בשנים 2026 ו-2027 מגיעים מהרשימה של בנק ישראל (official). בשנים אחרות הם מחושבים לפי החוק (statutory). חופשות בתי הספר מגיעות מלוח משרד החינוך לשנת תשפ״ז, ולשנה שעוד לא פורסמה school.status הוא unknown.
  • שום דבר לא נשמר: לא השאילתה ולא כתובת ה-IP.