Convert between the Islamic (Hijri) and Gregorian calendars, get today's Hijri date, the 12 Islamic months, and major Islamic events. No API key required.
Get today's Hijri date:
const res = await fetch('https://ummahapi.com/api/today-hijri');
const data = await res.json();
// Returns today's Islamic date
console.log(data.data.day); // 21
console.log(data.data.monthName); // "Muharram"
console.log(data.data.year); // 1448
Pass any Hijri date and get the matching Gregorian date back. Perfect for scheduling and record keeping.
Convert any Gregorian date to its Islamic (Hijri) equivalent with the correct day, month name, and year.
A single call returns today's Hijri date, ready to display in apps, widgets, and websites.
Get all twelve Hijri month names along with their meanings, from Muharram through Dhu al-Hijjah.
Major Islamic events and their dates, including Ramadan, Eid al-Fitr, Eid al-Adha, Ashura, and Mawlid.
Built on moment-hijri using the Umm al-Qura calendar, so conversions match widely used official Hijri dates.
Yes. UmmahAPI's Hijri Calendar API is completely free. No API key or signup required. You can make up to 100 requests per minute.
Call /api/hijri-date?date=2026-07-07 with any Gregorian date. The API returns the matching Hijri day, month name, and year. To go the other way, use /api/gregorian-date?year=&month=&day= with a Hijri date.
Yes. Call /api/today-hijri and the API returns today's Islamic date, including the Hijri day, month name, and year.
Yes. The /api/islamic-events endpoint returns major Islamic events and their dates, including Ramadan, Eid al-Fitr, Eid al-Adha, Ashura, and Mawlid.
Free, accurate, and ready to convert dates in both directions.
View Full Documentation