Get a Qira'at reading
Get a single reading of an approved juncture, with its translation, transliteration, explanations, and the readers and transmitters it is attributed to. A reading whose juncture is not approved returns 404. Requires the qiraat.read scope (or the parent qiraat scope); a token with only the content scope receives 403 with type: insufficient_scope. Qira'at endpoints are available in production only; they are not available in the prelive environment.
Path Parameters
Reading identifier, as returned by the juncture and matrix endpoints.
Query Parameters
Default value: en
Language ISO code for translated names, translations, and explanations. Defaults to en. An unknown code resolves to en. Content that is missing in a language other than en or ar falls back to English; ar does not fall back.
- 200
- 401
- 403
- 404
- 429
- 500
- 502
- 503
- 504
Successful response
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
reading object required
explanation object
First explanation, when available.
explanations object[]
attributed_to object required
readers object[] required
Readers attributed to the reading without a specific transmitter.
Possible values: [all_transmitters]
The attribution covers all transmitters of the reader.
transmitters object[] required
Transmitters attributed to the reading.
{
"reading": {
"id": 0,
"juncture_id": 0,
"verse_key": "string",
"text_uthmani": "string",
"text_imlaei": "string",
"position": 0,
"color": "string",
"translation": "string",
"transliteration": "string",
"explanation": {
"id": 0,
"text": "string",
"source": "string"
},
"explanations": [
{
"id": 0,
"text": "string",
"source": "string"
}
],
"attributed_to": {
"readers": [
{
"id": 0,
"name": "string",
"abbreviation": "string",
"scope": "all_transmitters"
}
],
"transmitters": [
{
"id": 0,
"name": "string",
"abbreviation": "string",
"reader_id": 0,
"reader_name": "string"
}
]
}
}
}
Successful response
{
"reading": {
"id": 20,
"juncture_id": 10,
"verse_key": "1:4",
"text_uthmani": "...",
"text_imlaei": "...",
"position": 1,
"color": null,
"translation": "...",
"transliteration": "...",
"explanation": {
"id": 5,
"text": "...",
"source": "..."
},
"explanations": [
{
"id": 5,
"text": "...",
"source": "..."
}
],
"attributed_to": {
"readers": [
{
"id": 1,
"name": "Nafi",
"abbreviation": "N",
"scope": "all_transmitters"
}
],
"transmitters": [
{
"id": 2,
"name": "Warsh",
"abbreviation": "W",
"reader_id": 1,
"reader_name": "Nafi"
}
]
}
}
}
Will be returned when the request is unauthorized.
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "The request requires user authentication",
"type": "unauthorized",
"success": false
}
The request is forbidden, for example because a valid access token lacks the required scope or the client lacks permission.
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "The server understood the request, but refuses to authorize it",
"type": "forbidden",
"success": false
}
Not Found. Returned when the reading does not exist or its juncture is not approved.
Schema
details object required
The error body returned by the Qira'at service.
error object required
Possible values: [INVALID_PARAMETER, NOT_FOUND]
details object
Optional structured details, for example the offending parameter.
Optional structured details, for example the offending parameter.
Human-readable error message (the same text as details.error.message).
Possible values: [invalid_request, not_found]
{
"details": {
"status": 404,
"error": {
"code": "INVALID_PARAMETER",
"message": "string",
"details": {}
}
},
"message": "string",
"type": "invalid_request",
"success": false
}
{
"details": {
"status": 404,
"error": {
"code": "NOT_FOUND",
"message": "Reading with id 999999 not found"
}
},
"message": "Reading with id 999999 not found",
"type": "not_found",
"success": false
}
Rate-limit exceeded
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "Too many requests, please try again later",
"type": "rate_limit_exceeded",
"success": false
}
Server Error. Something went wrong, try again later.
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "The server encountered an internal error and was unable to complete your request",
"type": "internal_server_error",
"success": false
}
Bad Gateway
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "The server was acting as a gateway or proxy and received an invalid response from the upstream server",
"type": "bad_gateway",
"success": false
}
Service Unavailable
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "The server is currently unable to handle the request due to a temporary overload or scheduled maintenance",
"type": "service_unavailable",
"success": false
}
Gateway Timeout
Schema
Possible values: [gateway_timeout, service_unavailable, bad_gateway, internal_server_error, unprocessable_entity, not_found, forbidden, unauthorized, invalid_request, invalid_token, insufficient_scope, service_error, invalid_path, rate_limit_exceeded]
{
"message": "string",
"type": "gateway_timeout",
"success": true
}
{
"message": "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server",
"type": "gateway_timeout",
"success": false
}