Skip to main content

Get notes count within verse range

Get the count of notes within a range of verses.

Query Parameters
    from string required

    Possible values: Value must match regular expression ^(\d+):(\d+)$

    The starting verse key of the range.

    to string required

    Possible values: Value must match regular expression ^(\d+):(\d+)$

    The ending verse key of the range.

Responses

Request has been handled successfully.


Schema
    success boolean
    data object

    A map of verse keys to note counts, where each key is a verse key and each value is an integer count of notes.

    property name* integer
GET /v1/notes/count-within-range

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
from — query required
to — query required
curl / cURL
curl -L -X GET 'https://apis-prelive.quran.foundation/auth/v1/notes/count-within-range' \
-H 'Accept: application/json' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'