Skip to content

Aladhan API

13 endpointsReligion & CultureGlobalsocial:read12 real examples

Returns Islamic prayer times by city or coordinates, monthly calendars with Hijri dates, date conversion, qibla direction and the 99 names of Allah.

View as Markdown
GET/aladhan/timingsByCityThe prayer times of a city on one date (today by default). The method defaults to KEMENAG.
GET/aladhan/timingsByCoordsThe prayer times at a latitude and longitude on one date (today by default).
GET/aladhan/calendarByCityThe prayer times of every day of one month in a city, with the Hijri date of each day.
GET/aladhan/dateConvertConverts a date between the Gregorian and the Hijri calendar.
GET/aladhan/qiblaThe qibla direction from a place, in degrees clockwise from true north.
GET/aladhan/asmaAlHusnaThe 99 names of Allah with their Arabic form, transliteration and English meaning.
GET/aladhan/timingsByAddressThe prayer times at a free-text address on one date (today by default). The method defaults to KEMENAG.
GET/aladhan/calendarByAddressThe prayer times of every day of one month at a free-text address, with the Hijri date of each day.
GET/aladhan/gregorianCalendarEvery day of one Gregorian month with its Hijri date, the calendar that converts Gregorian to Hijri.
GET/aladhan/hijriCalendarEvery day of one Hijri month with its Gregorian date, the calendar that converts Hijri to Gregorian.
GET/aladhan/hijriCalendarByCityThe prayer times of every day of one Hijri month in a city, such as the Ramadan imsakiyah schedule (Hijri month 9).
GET/aladhan/currentTimeThe current local time (HH:MM) and Unix timestamp in one IANA time zone.
GET/aladhan/methodsThe prayer calculation methods Aladhan supports, with the id to pass as method.

timingsByCity

GET/v1/aladhan/timingsByCity

The prayer times of a city on one date (today by default). The method defaults to KEMENAG.

scope social:read1 unitcached 1 h

Parameters

city
string
required
City name in English, such as Jakarta.
e.g. Jakarta
country
string
required
Country name in English, such as Indonesia.
e.g. Indonesia
date
string
Date as yyyy-mm-dd. Omit it for today.
method
integer
Calculation method id. 20 is KEMENAG, the Indonesian method.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
asrstring
datestring
dhuhrstring
fajrstring
hijristring
imsakstring
ishastring
maghribstring
midnightstring
sunrisestring
timezonestring
curl "https://api.hoshime.com/v1/aladhan/timingsByCity?city=Jakarta&country=Indonesia" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "asr": "14:56",
    "date": "2026-11-07",
    "dhuhr": "11:36",
    "fajr": "04:05",
    "hijri": "1448-05-27",
    "imsak": "03:55",
    "isha": "19:00",
    "maghrib": "17:47",
    "midnight": "23:36",
    "sunrise": "05:26",
    "timezone": "Asia/Jakarta"
  },
  "meta": {
    "cached": false,
    "endpoint": "timingsByCity",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

timingsByCoords

GET/v1/aladhan/timingsByCoords

The prayer times at a latitude and longitude on one date (today by default).

scope social:read1 unitcached 1 h

Parameters

latitude
string
required
Latitude from -90 to 90, such as -6.2088.
e.g. -6.2088
longitude
string
required
Longitude from -180 to 180, such as 106.8456.
e.g. 106.8456
date
string
Date as yyyy-mm-dd. Omit it for today.
method
integer
Calculation method id. 20 is KEMENAG, the Indonesian method.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
asrstring
datestring
dhuhrstring
fajrstring
hijristring
imsakstring
ishastring
maghribstring
midnightstring
sunrisestring
timezonestring
curl "https://api.hoshime.com/v1/aladhan/timingsByCoords?latitude=-6.2088&longitude=106.8456" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "asr": "14:56",
    "date": "2026-11-07",
    "dhuhr": "11:36",
    "fajr": "04:04",
    "hijri": "1448-05-27",
    "imsak": "03:54",
    "isha": "19:00",
    "maghrib": "17:47",
    "midnight": "23:36",
    "sunrise": "05:26",
    "timezone": "Asia/Jakarta"
  },
  "meta": {
    "cached": false,
    "endpoint": "timingsByCoords",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

calendarByCity

GET/v1/aladhan/calendarByCity

The prayer times of every day of one month in a city, with the Hijri date of each day.

scope social:read1 unitcached 6 hpaginated

Parameters

city
string
required
City name in English, such as Jakarta.
e.g. Jakarta
country
string
required
Country name in English, such as Indonesia.
e.g. Indonesia
year
integer
required
Gregorian year, such as 2025.
e.g. 2025
month
integer
required
Gregorian month, from 1 to 12.
e.g. 1
method
integer
Calculation method id. 20 is KEMENAG, the Indonesian method.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
asrstring
datestring
dhuhrstring
fajrstring
hijristring
imsakstring
ishastring
maghribstring
midnightstring
sunrisestring
timezonestring
curl "https://api.hoshime.com/v1/aladhan/calendarByCity?city=Jakarta&country=Indonesia&year=2025&month=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "asr": "15:23",
      "date": "2025-01-01",
      "dhuhr": "11:56",
      "fajr": "04:17",
      "hijri": "1446-07-01",
      "imsak": "04:07",
      "isha": "19:27",
      "maghrib": "18:11",
      "midnight": "23:56",
      "sunrise": "05:42",
      "timezone": "Asia/Jakarta"
    },
    {
      "asr": "15:23",
      "date": "2025-01-02",
      "dhuhr": "11:57",
      "fajr": "04:17",
      "hijri": "1446-07-02",
      "imsak": "04:07",
      "isha": "19:27",
      "maghrib": "18:11",
      "midnight": "23:57",
      "sunrise": "05:42",
      "timezone": "Asia/Jakarta"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "calendarByCity",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

dateConvert

GET/v1/aladhan/dateConvert

Converts a date between the Gregorian and the Hijri calendar.

scope social:read1 unitcached 24 h

Parameters

date
string
required
The date to convert as yyyy-mm-dd, in the calendar it is written in.
e.g. 2026-11-06
to
string
required
The calendar to convert to: hijri or gregorian.
hijrigregorian
e.g. hijri
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
gregorianstring
hijristring
hijriMonthstring
weekdaystring
curl "https://api.hoshime.com/v1/aladhan/dateConvert?date=2026-11-06&to=hijri" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "gregorian": "2026-11-06",
    "hijri": "1448-05-26",
    "hijriMonth": "Jumādá al-ūlá",
    "weekday": "Friday"
  },
  "meta": {
    "cached": false,
    "endpoint": "dateConvert",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

qibla

GET/v1/aladhan/qibla

The qibla direction from a place, in degrees clockwise from true north.

scope social:read1 unitcached 720 h

Parameters

latitude
string
required
Latitude from -90 to 90, such as -6.2088.
e.g. -6.2088
longitude
string
required
Longitude from -180 to 180, such as 106.8456.
e.g. 106.8456
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
directionnumber (double)
latitudenumber (double)
longitudenumber (double)
curl "https://api.hoshime.com/v1/aladhan/qibla?latitude=-6.2088&longitude=106.8456" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "direction": 295.15174505875416,
    "latitude": -6.2088,
    "longitude": 106.8456
  },
  "meta": {
    "cached": false,
    "endpoint": "qibla",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

asmaAlHusna

GET/v1/aladhan/asmaAlHusna

The 99 names of Allah with their Arabic form, transliteration and English meaning.

scope social:read1 unitcached 720 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
arabicstring
meaningstring
numberinteger (int64)
transliterationstring
curl "https://api.hoshime.com/v1/aladhan/asmaAlHusna" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "arabic": "الرَّحْمَنُ",
      "meaning": "The Beneficent",
      "number": 1,
      "transliteration": "Ar Rahmaan"
    },
    {
      "arabic": "الرَّحِيمُ",
      "meaning": "The Merciful",
      "number": 2,
      "transliteration": "Ar Raheem"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "asmaAlHusna",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

timingsByAddress

GET/v1/aladhan/timingsByAddress

The prayer times at a free-text address on one date (today by default). The method defaults to KEMENAG.

scope social:read1 unitcached 1 h

Parameters

address
string
required
Free-text address, such as Jakarta, Indonesia.
e.g. Jakarta, Indonesia
date
string
Date as yyyy-mm-dd. Omit it for today.
method
integer
Calculation method id. 20 is KEMENAG, the Indonesian method.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
asrstring
datestring
dhuhrstring
fajrstring
hijristring
imsakstring
ishastring
maghribstring
midnightstring
sunrisestring
timezonestring
curl "https://api.hoshime.com/v1/aladhan/timingsByAddress?address=Jakarta%2C+Indonesia" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "asr": "14:56",
    "date": "2026-11-07",
    "dhuhr": "11:36",
    "fajr": "04:05",
    "hijri": "1448-05-27",
    "imsak": "03:55",
    "isha": "19:00",
    "maghrib": "17:47",
    "midnight": "23:36",
    "sunrise": "05:26",
    "timezone": "Asia/Jakarta"
  },
  "meta": {
    "cached": false,
    "endpoint": "timingsByAddress",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

calendarByAddress

GET/v1/aladhan/calendarByAddress

The prayer times of every day of one month at a free-text address, with the Hijri date of each day.

scope social:read1 unitcached 6 hpaginated

Parameters

address
string
required
Free-text address, such as Jakarta, Indonesia.
e.g. Jakarta, Indonesia
year
integer
required
Gregorian year, such as 2025.
e.g. 2025
month
integer
required
Gregorian month, from 1 to 12.
e.g. 1
method
integer
Calculation method id. 20 is KEMENAG, the Indonesian method.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
asrstring
datestring
dhuhrstring
fajrstring
hijristring
imsakstring
ishastring
maghribstring
midnightstring
sunrisestring
timezonestring
curl "https://api.hoshime.com/v1/aladhan/calendarByAddress?address=Jakarta%2C+Indonesia&year=2025&month=1" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "asr": "15:23",
      "date": "2025-01-01",
      "dhuhr": "11:56",
      "fajr": "04:17",
      "hijri": "1446-07-01",
      "imsak": "04:07",
      "isha": "19:27",
      "maghrib": "18:11",
      "midnight": "23:56",
      "sunrise": "05:42",
      "timezone": "Asia/Jakarta"
    },
    {
      "asr": "15:23",
      "date": "2025-01-02",
      "dhuhr": "11:57",
      "fajr": "04:17",
      "hijri": "1446-07-02",
      "imsak": "04:07",
      "isha": "19:27",
      "maghrib": "18:11",
      "midnight": "23:57",
      "sunrise": "05:42",
      "timezone": "Asia/Jakarta"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "calendarByAddress",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

gregorianCalendar

GET/v1/aladhan/gregorianCalendar

Every day of one Gregorian month with its Hijri date, the calendar that converts Gregorian to Hijri.

scope social:read1 unitcached 24 hpaginated

Parameters

year
integer
required
Gregorian year, such as 2026.
e.g. 2026
month
integer
required
Gregorian month, from 1 to 12.
e.g. 11
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
gregorianstring
hijristring
weekdaystring
curl "https://api.hoshime.com/v1/aladhan/gregorianCalendar?year=2026&month=11" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "gregorian": "01-11-2026",
      "hijri": "21-05-1448",
      "weekday": "Sunday"
    },
    {
      "gregorian": "02-11-2026",
      "hijri": "22-05-1448",
      "weekday": "Monday"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "gregorianCalendar",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

hijriCalendar

GET/v1/aladhan/hijriCalendar

Every day of one Hijri month with its Gregorian date, the calendar that converts Hijri to Gregorian.

scope social:read1 unitcached 24 hpaginated

Parameters

year
integer
required
Hijri year, such as 1448.
e.g. 1448
month
integer
required
Hijri month, from 1 to 12.
e.g. 12
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
gregorianstring
hijristring
weekdaystring
curl "https://api.hoshime.com/v1/aladhan/hijriCalendar?year=1448&month=12" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "gregorian": "07-05-2027",
      "hijri": "01-12-1448",
      "weekday": "Friday"
    },
    {
      "gregorian": "08-05-2027",
      "hijri": "02-12-1448",
      "weekday": "Saturday"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "hijriCalendar",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

hijriCalendarByCity

GET/v1/aladhan/hijriCalendarByCity

The prayer times of every day of one Hijri month in a city, such as the Ramadan imsakiyah schedule (Hijri month 9).

scope social:read1 unitcached 6 hpaginated

Parameters

city
string
required
City name in English, such as Jakarta.
e.g. Jakarta
country
string
required
Country name in English, such as Indonesia.
e.g. Indonesia
year
integer
required
Hijri year, such as 1447.
e.g. 1447
month
integer
required
Hijri month, from 1 to 12. 9 is Ramadan.
e.g. 9
method
integer
Calculation method id. 20 is KEMENAG, the Indonesian method.
default 20
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

11 fields
asrstring
datestring
dhuhrstring
fajrstring
hijristring
imsakstring
ishastring
maghribstring
midnightstring
sunrisestring
timezonestring
curl "https://api.hoshime.com/v1/aladhan/hijriCalendarByCity?city=Jakarta&country=Indonesia&year=1447&month=9" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "asr": "…",
      "date": "…",
      "dhuhr": "…",
      "fajr": "…",
      "hijri": "…",
      "imsak": "…",
      "isha": "…",
      "maghrib": "…",
      "midnight": "…",
      "sunrise": "…",
      "timezone": "…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "hijriCalendarByCity",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

currentTime

GET/v1/aladhan/currentTime

The current local time (HH:MM) and Unix timestamp in one IANA time zone.

scope social:read1 unit

Parameters

zone
string
required
IANA time zone name, such as Asia/Jakarta.
e.g. Asia/Jakarta
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
currentAtstring
localTimestring
zonestring
curl "https://api.hoshime.com/v1/aladhan/currentTime?zone=Asia%2FJakarta" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "currentAt": "2026-11-06T18:01:47Z",
    "localTime": "01:01",
    "zone": "Asia/Jakarta"
  },
  "meta": {
    "cached": false,
    "endpoint": "currentTime",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

methods

GET/v1/aladhan/methods

The prayer calculation methods Aladhan supports, with the id to pass as method.

scope social:read1 unitcached 24 hpaginated

Parameters

tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

3 fields
idstring
keystring
namestring
curl "https://api.hoshime.com/v1/aladhan/methods" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "id": "0",
      "key": "JAFARI",
      "name": "Shia Ithna-Ashari, Leva Institute, Qum"
    },
    {
      "id": "1",
      "key": "KARACHI",
      "name": "University of Islamic Sciences, Karachi"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "methods",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "aladhan",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open