بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ

NOTE: If you are using this API, please sign up to the developer mailing list here so you can be informed of any updates or scheduled maintenance to the API.

Endpoints - Hijri / Gregorian Dates

Please note that given the nature of the computation, Hijri - Gregorian date conversions can always be off by one day.
All endoints are available over https and httpss.

  1. Convert a Gregorian date to a Hijri date - http://api.aladhan.com/v1/gToH/:date
  2. Request a Hijri Calendar for a Gregorian month - http://api.aladhan.com/v1/gToHCalendar/:month/:year
  3. Convert a Hijri date to a Gregorian date - http://api.aladhan.com/v1/hToG/:date
  4. Request a Gregoran Calendar for a Hijri month - http://api.aladhan.com/v1/hToGCalendar/:month/:year

1. Convert a Gregorian date to a Hijri date - http://api.aladhan.com/v1/gToH/:date


2. Request a Hijri Calendar for a Gregorian month - http://api.aladhan.com/v1/gToHCalendar/:month/:year


3. Convert a Hijri date to a Gregorian date - http://api.aladhan.com/v1/hToG/:date


4. Request a Gregoran Calendar for a Hijri month - http://api.aladhan.com/v1/hToGCalendar/:month/:year


Upcoming Holy Day: Lailat-ul-Miraj on 25 January 2025