gunturpratama / quran-api

Simple Quran API with Indonesia Tafsir and media audio (murrotal) Syekh. Mishary Rashid Alafasy

Home Page:https://api.quran.sutanlab.id

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quran - API

Quran API with media audio Syekh. Mishary Rashid Al-Afasy murrotal.

Deployed in: https://api.quran.sutanlab.id

Try your own!

Deploy with Vercel Deploy

Introduction

This API data source comes from the combination of several parameters from api.alquran.cloud and quran.kemenag.go.id by merging its data to one JSON file with new structure for the better use and performance. Futhermore, this api uses indexed querying techniques with 0(1) access time which is greatly affects performance.

Features

  • Arabic Transliteration
  • English and Indonesia translation
  • Verses meta (juz, sajda, manzil, etc)
  • Tafsir surahs and verses (for now, only Bahasa Indonesia)
  • Audio (Syekh. Mishary Rashid Al-Afasy murrotal edition)
  • Your requests ?

Data Source

  • api.alquran.cloud = Quran, Meta Verses, Audio.
  • quran.kemenag.go.id = Indonesia translations and tafsir verses (short/long).
  • Al-Quran-ID-API = Indonesia tafsir surah [note: ambiguous revelation type on surah 13 and 55 in this source. So, I changed it to medinan (according to sahih international data)]

Endpoint usage

  • /surah = Returns the list of surahs in Al-Quran.
  • /surah/{surah} = Returns spesific surah. Example: /surah/110
  • /surah/{surah}/{ayah} = Returns spesific ayah with requested surah. Example: /surah/2/255

Recommended fonts for Al-qur'an

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.

Performance Measurement & Comparison

api.alquran.cloud

Fetching on Surah 7 with audio, en translation & transliteration, id translation . Result: 1200++ ms

api.alquran.cloud

api.quran.sutanlab.id

Fetching on Surah 7 with audio, en translation & transliteration, id translation & tafsir (a lot more data and hosted on free serverless). Result: 400++ ms

api.quran.sutanlab.id

LICENSE

MIT

Support Me

Global

ko-fi

Indonesia


Copyright © 2020 by Sutan Gading Fadhillah Nasution

About

Simple Quran API with Indonesia Tafsir and media audio (murrotal) Syekh. Mishary Rashid Alafasy

https://api.quran.sutanlab.id

License:MIT License


Languages

Language:JavaScript 98.7%Language:Shell 1.3%