Skip to main content

Estimate reading time

Estimate the number of seconds it would take to read a range. We estimate it based on the average reading speed we have collected on quran.com.

Query Parameters
    ranges string required

    Possible values: Value must match regular expression ^(\d+:\d+-\d+:\d+(?:,\d+:\d+-\d+:\d+)*)$

    a comma separated string of Ayah ranges e.g. 1:1-1:2

Responses

Request has been handled successfully.


Schema
    success boolean
    data object
    seconds integer required

    The number of seconds it would take on average to read the range of Ayahs.

GET /v1/activity-days/estimate-reading-time

Authorization

name: x-auth-tokentype: apiKeyin: headerdescription: The JWT access token required for accessing the endpoints.
name: x-client-idtype: apiKeyin: headerdescription: Your client id

Request

Base URL
https://apis-prelive.quran.foundation/auth
x-auth-token
x-client-id
ranges — query required
curl / cURL
curl -L -X GET 'https://apis-prelive.quran.foundation/auth/v1/activity-days/estimate-reading-time' \
-H 'Accept: application/json' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'