# MyQuran API

> Returns Indonesian cities and daily, monthly or ranged prayer times for a city.

Category: Religion & Culture. Region: ID. 14 endpoints at `https://api.hoshime.com/v1/myquran/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/myquran
## GET /v1/myquran/cities

Every city and regency with the id that prayer times take.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/cities" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/city

One city or regency by the id that prayer times take.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | City id from cities, such as 1301 for Kota Jakarta. (e.g. 1301) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/city?id=1301" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/searchCities

Cities and regencies whose name contains a word, with the id that prayer times take.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Part of a city or regency name, such as bandung. (e.g. bandung) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `id` (string), `name` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/searchCities?query=bandung" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/prayerTimes

The five daily prayer times and imsak, sunrise and dhuha of one city on one date (today by default, Jakarta time).

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | City id from cities, such as 1301 for Kota Jakarta. (e.g. 1301) |
| `date` | string | no | Date as yyyy-mm-dd. Omit it for today. |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `asr` (string), `city` (string), `cityId` (string), `date` (string), `dhuha` (string), `dhuhr` (string), `fajr` (string), `imsak` (string), `isha` (string), `maghrib` (string), `province` (string), `sunrise` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/prayerTimes?id=1301" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/prayerTimesMonth

The prayer schedule of every day of one month in one city (this month by default, Jakarta time).

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | City id from cities, such as 1301 for Kota Jakarta. (e.g. 1301) |
| `month` | string | no | Month as yyyy-mm. Omit it for this month. (e.g. 2026-11) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `asr` (string), `city` (string), `cityId` (string), `date` (string), `dhuha` (string), `dhuhr` (string), `fajr` (string), `imsak` (string), `isha` (string), `maghrib` (string), `province` (string), `sunrise` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/prayerTimesMonth?id=1301&month=2026-11" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/prayerTimesRange

The prayer schedule of one city for every day from start to end, up to 31 days.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | City id from cities, such as 1301 for Kota Jakarta. (e.g. 1301) |
| `start` | string | yes | First date as yyyy-mm-dd, such as 2026-11-01. (e.g. 2026-11-01) |
| `end` | string | yes | Last date as yyyy-mm-dd, inclusive, at most 31 days after start. (e.g. 2026-11-02) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `asr` (string), `city` (string), `cityId` (string), `date` (string), `dhuha` (string), `dhuhr` (string), `fajr` (string), `imsak` (string), `isha` (string), `maghrib` (string), `province` (string), `sunrise` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/prayerTimesRange?id=1301&start=2026-11-01&end=2026-11-02" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/qibla

The qibla direction from a place, as degrees clockwise from true north, and the distance to the Kaaba. Computed from the coordinates; no upstream call.

Scope: `social:read` · Units: 1

| Parameter | Type | Required | Description |
|---|---|---|---|
| `lat` | string | yes | Latitude in degrees, from -90 to 90, such as -6.2. (e.g. -6.2) |
| `lon` | string | yes | Longitude in degrees, from -180 to 180, such as 106.8. (e.g. 106.8) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `bearing` (number (double)), `distanceKm` (number (double)), `latitude` (number (double)), `longitude` (number (double))

```bash
curl "https://api.hoshime.com/v1/myquran/qibla?lat=-6.2&lon=106.8" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/hijri

The Hijri date of a Gregorian date, with the weekday in Indonesian.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `date` | string | no | Gregorian date as yyyy-mm-dd. Omit it for today. (e.g. 2026-11-06) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `gregorian` (string), `hijri` (string), `weekday` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/hijri?date=2026-11-06" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/hadith

One of the 42 hadith of Imam an-Nawawi (Arbain) in Arabic and Indonesian.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `nomor` | integer | yes | Hadith number, from 1 to 42. (e.g. 1) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `arabic` (string), `indonesian` (string), `number` (integer (int64)), `title` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/hadith?nomor=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/doa

One doa (prayer) by its number, with the Arabic, Latin and Indonesian meaning.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `nomor` | integer | yes | Doa number, from 1 to 108. (e.g. 1) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `arabic` (string), `indonesian` (string), `latin` (string), `source` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/doa?nomor=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/doas

All 108 doa (prayers) of the myquran.com collection, in the order of their numbers.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `arabic` (string), `indonesian` (string), `latin` (string), `number` (integer (int64)), `source` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/doas" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/randomDoa

A random doa (prayer) from the collection, with its number.

Scope: `social:read` · Units: 1 · Cached: 1 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `arabic` (string), `indonesian` (string), `latin` (string), `number` (integer (int64)), `source` (string), `title` (string)

```bash
curl "https://api.hoshime.com/v1/myquran/randomDoa" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/hadithCollections

The hadith collections (perawi) myquran.com holds, with the number of hadith in each.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `name` (string), `slug` (string), `total` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/myquran/hadithCollections" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/myquran/collectionHadith

One hadith of a collection, such as Bukhari, in Arabic and Indonesian.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `slug` | string | yes | Collection slug as listed by hadithCollections, such as bukhari. (e.g. bukhari) |
| `nomor` | integer | yes | Hadith number inside the collection. (e.g. 1) |
| `tunnel` | string | no | 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 | no | 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 | no | 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 fields: `arabic` (string), `indonesian` (string), `number` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/myquran/collectionHadith?slug=bukhari&nomor=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
