Skip to main content

Get Chapter Info

Get Chapter Info in specific language. Default to English. Supports selecting a specific resource via resource_id and listing available resources via include_resources=true. Use include_resources=true to discover the resource ids or slugs that actually have chapter-info content for the resolved chapter and language. The /resources/chapter_infos endpoint is a global catalog of chapter-info resources and may include resources that return chapter_info: null for a specific chapter.

Path Parameters
    id integer required

    Possible values: >= 1 and <= 114

    Chapter number (1-114)

Query Parameters
    language string

    Default value: en

    Language ISO code for translated metadata. Defaults to English.

    locale string

    Locale fallback if a language code is not provided.

    resource_id string

    Resource id or slug of the chapter info resource to fetch. Prefer identifiers returned by include_resources=true for the current chapter. The /resources/chapter_infos endpoint is a global catalog and may include resources that do not have chapter-info content for this specific chapter, which would return chapter_info: null.

    include_resources string

    Possible values: [true, false]

    Default value: false

    Include the ordered list of available chapter info resources that actually have content for the resolved chapter and language. This is the safest discovery path for the id or slug to pass as resource_id for a specific author such as Ibn Ashur.

Responses

Successful response


Schema
    chapter_info object nullable
    chapter_id integer required
    text string required

    Long chapter info text; may include HTML markup for formatting.

    short_text string required
    language_name string required
    source string required

    Name of the source, such as a book or site title.

    id integer required
    resource_id integer required
    resources object[]

    Only returned when include_resources=true. Contains approved chapter info resources that have chapter-info content for the resolved chapter and language, ordered by the API's preferred resource order for selection.

  • Array [
  • id integer
    name string
    author_name string
    slug string
    language_name string
    translated_name object
    name string
    language_name string
  • ]
Loading...