# eQuran API

> Returns Quran surahs and verses in Arabic, Latin and Indonesian, with audio links, tafsir and doa.

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

The 114 surahs of the Quran with their names, meanings and verse counts.

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: `ayahCount` (integer (int64)), `meaning` (string), `name` (string), `nameLatin` (string), `number` (integer (int64)), `revelationPlace` (string)

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

## GET /v1/equran/surah

One surah with its verses in Arabic, Latin and Indonesian, and the audio links.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `nomor` | integer | yes | Surah number, from 1 to 114. (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: `audioFull` (map), `ayahCount` (integer (int64)), `ayahs` (Ayah[]), `ayahs[].arabic` (string), `ayahs[].indonesian` (string), `ayahs[].latin` (string), `ayahs[].number` (integer (int64)), `description` (string), `meaning` (string), `name` (string), `nameLatin` (string), `number` (integer (int64)), `revelationPlace` (string)

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

## GET /v1/equran/ayah

One verse of a surah in Arabic, Latin and Indonesian, with its audio links.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `surah` | integer | yes | Surah number, from 1 to 114. (e.g. 2) |
| `ayah` | integer | yes | Verse number within the surah. (e.g. 255) |
| `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), `audio` (map), `indonesian` (string), `latin` (string), `number` (integer (int64)), `surahName` (string), `surahNumber` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/equran/ayah?surah=2&ayah=255" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/equran/randomAyah

One random verse of the Quran, or of one surah when surah is given.

Scope: `social:read` · Units: 1

| Parameter | Type | Required | Description |
|---|---|---|---|
| `surah` | integer | no | Restrict to one surah, from 1 to 114. Omit it for any surah. |
| `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), `audio` (map), `indonesian` (string), `latin` (string), `number` (integer (int64)), `surahName` (string), `surahNumber` (integer (int64))

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

## GET /v1/equran/tafsir

The Indonesian tafsir of every verse of one surah, as plain text.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `nomor` | integer | yes | Surah number, from 1 to 114. (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: `items` (TafsirAyah[]), `items[].ayah` (integer (int64)), `items[].text` (string), `nameLatin` (string), `number` (integer (int64))

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

## GET /v1/equran/doas

The collection of doa (prayers), optionally filtered by a word in the name, group or tags.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | no | Word to look for in the name, group or tags of a doa, such as tidur. Omit it for all doa. (e.g. tidur) |
| `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), `group` (string), `id` (string), `indonesian` (string), `latin` (string), `name` (string), `note` (string), `tags` (Tag[]), `tags[].name` (string)

```bash
curl "https://api.hoshime.com/v1/equran/doas?query=tidur" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/equran/doa

One doa (prayer) by its number.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | integer | yes | Doa number, as listed by doas. (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), `group` (string), `id` (string), `indonesian` (string), `latin` (string), `name` (string), `note` (string), `tags` (Tag[]), `tags[].name` (string)

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

## GET /v1/equran/provinces

The provinces of Indonesia that equran.id has prayer times for.

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)

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

## GET /v1/equran/regencies

The regencies and cities of one province, the names prayer times are asked by.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `province` | string | yes | Province name as listed by provinces, such as DKI Jakarta. (e.g. DKI Jakarta) |
| `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)

```bash
curl "https://api.hoshime.com/v1/equran/regencies?province=DKI+Jakarta" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/equran/prayerTimes

Prayer times of one regency or city of Indonesia for a month: imsak, subuh, dzuhur, ashar, maghrib and isya for every day.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `province` | string | yes | Province name as listed by provinces, such as DKI Jakarta. (e.g. DKI Jakarta) |
| `regency` | string | yes | Regency or city name as listed by regencies, such as Kota Jakarta. (e.g. Kota Jakarta) |
| `month` | integer | no | Month, from 1 to 12. Omit it for the current month. |
| `year` | integer | no | Year, such as 2026. Omit it for the current year. |
| `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: `days` (PrayerDay[]), `days[].ashar` (string), `days[].date` (string), `days[].dhuha` (string), `days[].dzuhur` (string), `days[].imsak` (string), `days[].isya` (string), `days[].maghrib` (string), `days[].subuh` (string), `days[].terbit` (string), `days[].weekday` (string), `month` (integer (int64)), `monthName` (string), `province` (string), `regency` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/equran/prayerTimes?province=DKI+Jakarta&regency=Kota+Jakarta" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
