Skip to main content

Content API Helpers

Use an app access token for Content API calls.

from quran_foundation import QuranClient

client = QuranClient(client_id="YOUR_CLIENT_ID", access_token="APP_ACCESS_TOKEN")

The Python SDK includes explicit helpers for chapters, verses, juzs, resources, audio, answers, and hadith references. For Content endpoints without a dedicated helper, use content_request() with the path from the API reference.

client.content_request("/verses/by_ruku/1", params={"translations": "131"})

Read next: