search
search
Query Parameters
q string
Search query, you can use query as well
size number
Default value: 20
Results per page. s is also valid parameter.
page number
Page number, well for pagination. You can use p as well
language string
Default value: en
ISO code of language, use this query params if you want to boost translations for specific language. For list of available language see #endpoint:8rjMCZEyPEZMHAKz9 endpoint.
Responses
- default
application/json
Schema
Example (from schema)
Schema
object
{}
GET /search
Authorization
name: x-auth-tokentype: apiKeydescription: The JWT access token required for accessing the endpoints.in: header
name: x-client-idtype: apiKeydescription: Your client Idin: header
Request
Request
curl / cURL
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
go / native
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
ruby / Net::HTTP
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
csharp / RestSharp
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
java / OkHttp
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'
powershell / RestMethod
curl -L -X GET 'https://apis-prelive.quran.foundation/content/api/v4/search' \
-H 'x-auth-token: <API_KEY_VALUE>' \
-H 'x-client-id: <API_KEY_VALUE>'