# Al Quran Cloud API

> Returns Quran surahs, verses, juz, word search results and available editions such as translations and tafsirs.

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

The 114 surahs with their Arabic and English names, revelation type and verse count.

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)), `englishMeaning` (string), `englishName` (string), `name` (string), `number` (integer (int64)), `revelationType` (string)

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

## GET /v1/alqurancloud/surah

One surah with every verse in the chosen edition (Indonesian by default).

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `number` | integer | yes | Surah number, from 1 to 114. (e.g. 1) |
| `edition` | string | no | Edition identifier such as id.indonesian, en.asad or quran-uthmani. (default id.indonesian) |
| `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)), `ayahs` (Ayah[]), `ayahs[].number` (integer (int64)), `ayahs[].numberInSurah` (integer (int64)), `ayahs[].surahName` (string), `ayahs[].surahNumber` (integer (int64)), `ayahs[].text` (string), `edition` (string), `englishMeaning` (string), `englishName` (string), `name` (string), `number` (integer (int64)), `revelationType` (string)

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

## GET /v1/alqurancloud/ayah

One verse by its surah:verse key such as 2:255, in the chosen edition.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `ref` | string | yes | Verse as surah:verse, such as 2:255. (e.g. 2:255) |
| `edition` | string | no | Edition identifier such as id.indonesian, en.asad or quran-uthmani. (default id.indonesian) |
| `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: `number` (integer (int64)), `numberInSurah` (integer (int64)), `surahName` (string), `surahNumber` (integer (int64)), `text` (string)

```bash
curl "https://api.hoshime.com/v1/alqurancloud/ayah?ref=2%3A255" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/alqurancloud/juz

One of the 30 juz of the Quran with its verses in the chosen edition (Uthmani Arabic by default).

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `number` | integer | yes | Juz number, from 1 to 30. (e.g. 30) |
| `edition` | string | no | Edition identifier such as quran-uthmani or id.indonesian. (default quran-uthmani) |
| `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: `edition` (string), `items` (Ayah[]), `items[].number` (integer (int64)), `items[].numberInSurah` (integer (int64)), `items[].surahName` (string), `items[].surahNumber` (integer (int64)), `items[].text` (string), `number` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/alqurancloud/juz?number=30" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/alqurancloud/search

Verses of the Quran that contain a word in the chosen edition. Returns the first 50 matches and the total count.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Word to search for in the edition, such as allah. (e.g. allah) |
| `edition` | string | no | Edition identifier such as id.indonesian or en.asad. (default id.indonesian) |
| `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: `number` (integer (int64)), `numberInSurah` (integer (int64)), `surahName` (string), `surahNumber` (integer (int64)), `text` (string)

```bash
curl "https://api.hoshime.com/v1/alqurancloud/search?query=allah" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/alqurancloud/editions

The editions (translations, tafsirs and Arabic texts) of one language, with their identifiers.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `lang` | string | yes | Two-letter language code such as id or en. (e.g. id) |
| `type` | string | no | Kind of edition: quran, translation or tafsir. Omit it for all kinds. (one of quran, translation, tafsir) |
| `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: `englishName` (string), `identifier` (string), `language` (string), `name` (string), `type` (string)

```bash
curl "https://api.hoshime.com/v1/alqurancloud/editions?lang=id" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/alqurancloud/page

One of the 604 Mushaf pages with its verses in the chosen edition (Uthmani Arabic by default).

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `number` | integer | yes | Mushaf page, from 1 to 604. (e.g. 1) |
| `edition` | string | no | Edition identifier such as quran-uthmani or id.indonesian. (default quran-uthmani) |
| `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: `edition` (string), `items` (Ayah[]), `items[].number` (integer (int64)), `items[].numberInSurah` (integer (int64)), `items[].surahName` (string), `items[].surahNumber` (integer (int64)), `items[].text` (string), `number` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/alqurancloud/page?number=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/alqurancloud/sajdas

The 15 verses of prostration (sajda) of the Quran with their edition text.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `edition` | string | no | Edition identifier such as quran-uthmani or id.indonesian. (default quran-uthmani) |
| `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: `edition` (string), `items` (Ayah[]), `items[].number` (integer (int64)), `items[].numberInSurah` (integer (int64)), `items[].surahName` (string), `items[].surahNumber` (integer (int64)), `items[].text` (string)

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

## GET /v1/alqurancloud/hizbQuarter

One of the 240 hizb quarters of the Quran with its verses in the chosen edition (Uthmani Arabic by default).

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `number` | integer | yes | Hizb quarter, from 1 to 240. Each hizb has four quarters. (e.g. 1) |
| `edition` | string | no | Edition identifier such as quran-uthmani or id.indonesian. (default quran-uthmani) |
| `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: `edition` (string), `items` (Ayah[]), `items[].number` (integer (int64)), `items[].numberInSurah` (integer (int64)), `items[].surahName` (string), `items[].surahNumber` (integer (int64)), `items[].text` (string), `number` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/alqurancloud/hizbQuarter?number=1" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/alqurancloud/reciters

Quran reciters with audio, for the audio edition of an ayah or surah: identifiers such as ar.alafasy, names and whether the audio is verse by verse or a full recitation.

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

| Parameter | Type | Required | Description |
|---|---|---|---|
| `lang` | string | no | Optional two-letter language code of the reciters' edition, such as ar. Omit it for all reciters. |
| `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: `englishName` (string), `identifier` (string), `language` (string), `name` (string), `type` (string)

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