Hadith SQLite API

High-performance, offline-ready Hadith data for your applications.

1. Configure Your API Base URL

Enter the URL where your compressed_hadith_sqlite folder is hosted (e.g., from GitHub Pages).

2. Available Endpoints

Get All Books Metadata

Returns a global list of all available languages and their corresponding books.

Loading...

Get Language Metadata

Returns all books and checksums for a specific language (e.g., ara, eng, ben).

Loading...

Download SQLite ZIP

Download the compressed SQLite database for a specific edition.

Loading...

3. Integration Guide

Follow these steps to integrate the API into your app:

  1. Fetch all_info.json to get the list of supported languages.
  2. Fetch the language-specific info.json to get book names and SHA256 checksums.
  3. Compare local checksums with the API to see if an update is required.
  4. Download the .sqlite.zip file and decompress it on the device.
  5. Open the .sqlite file and use FTS5 for fast searching.