1. Services
  2. Quran

Quran text API

Quran Arabic text from the Tanzil Project, Uthmani and Simple editions, served exactly as published. List the surahs, read a surah or one ayah, or search the Arabic text.

GET /v1/quran/{surah}/{ayah}1 creditAbout $0.001

Try it

GET/v1/quran/1/2
curl 'https://api.apifor.dev/v1/quran/1/2' \
  -H 'x-api-key: YOUR_API_KEY'
Example response · 200
{
  "success": true,
  "data": {
    "id": "1:2",
    "surah": 1,
    "ayah": 2,
    "text_uthmani": "ٱلْحَمْدُ لِلَّهِ رَبِّ ٱلْعَٰلَمِينَ",
    "text_simple": "الْحَمْدُ لِلَّهِ رَبِّ الْعَالَمِينَ"
  },
  "meta": {
    "attribution": {
      "source": "Tanzil Project: Tanzil Quran Text (Uthmani and Simple, version 1.1)",
      "licence": "Creative Commons Attribution 3.0 (Tanzil terms of use: verbatim copies only, changing the text is not allowed)",
      "license": "Creative Commons Attribution 3.0 (Tanzil terms of use: verbatim copies only, changing the text is not allowed)",
      "license_url": "https://tanzil.net/docs/text_license",
      "source_url": "https://tanzil.net",
      "attribution_page": "https://apifor.dev/sources",
      "notice": "Quran text: Copyright (C) 2007-2026 Tanzil Project, https://tanzil.net. Served verbatim; check updates at https://tanzil.net/updates/."
    }
  }
}

A real response from our OpenAPI file, with long lists and strings shortened.

Endpoints and price

EndpointCreditsAbout
GET /v1/quran/surahs1 credit$0.001
GET /v1/quran/{surah}1 credit$0.001
GET /v1/quran/{surah}/{ayah}1 credit$0.001
GET /v1/quran/search1 credit$0.001
GET /v1/quran/coverage (Free)Free$0

USD at Starter pack prices ($5 for 5,000 credits). Calls that fail before work starts are refunded.

Coverage today

Works for any country.

Sources, row counts and country-only fields per country: GET /v1/quran/coverage, free with your API key. How coverage works

Limits

  • Arabic text only. No translations.
  • Search ignores diacritics in the query.
  • The text must stay unchanged when you show it.

Questions

Why no translations?

Tanzil licenses its translations for non-commercial use only, so we do not serve them.

Can I show one edition only?

Yes. Pass edition=uthmani or edition=simple and you get one text field.

Related services

All services