Awesome
Hadith - API
Simple Islamic Hadith API with Indonesia Translation.
Deploy
Already deployed in [https://api.hadith.gading.dev] or you can deploy your own at:
Data Source
- tafsirq.com
- Your contribution ?
Available Hadith
- Muslim
- Bukhari
- Tirmidzi
- Nasai
- Abu Daud
- Ibnu Majah
- Ahmad
- Darimi
- Malik
- Your contribution ?
Features
- Arabic
- Indonesia Translation
- Your contribution ?
Endpoint usage
-
/books
= Returns the list of available Hadith Books. -
/books/{name}?range={number}-{number}
= Returns hadiths by range of number. Example: /books/bukhari?range=300-500. (Note: For performance reasons, max accepted range: 300) -
/books/{name}/{number}
= Returns spesific hadith. Example: /books/muslim/5
Example Response
Fetching on HR. Muslim No. 5
Recommended Arabic Fonts
Available Commands
yarn start
= run server.yarn dev
= run develop server.yarn crawl
= collect new data from the data source, then unifying it in one JSON file.
LICENSE
MIT
Support or Donate Me
Global
Indonesia
- Bank Syariah Mandiri [REK: 7142365973 (SUTAN GADING F NASUTION)]
- Trakteer
- Karyakarsa
Copyright © 2020 by Sutan Gading Fadhillah Nasution