Welcome - Yes, you can use our data-feeds in your apps and web sites.
Welcome to BahaiPrayers.net's developer resource. It's really very simple. We keep the database up to date with the newest translations, links to YouTube, resources and Tags. You can then consume these in your apps and web sites.

This web site is in fact a consumer of the API, as is our apps. For the web site we used Google Angular to render the UI, so it's 100% javascript based.

Search all the Writings in all languages using Artificial Intelligence

Notes
We use an Artificial Intelligence to help you find the Text in the Writings. Let us know if we are missing any books. Example Javascript.

Get the AI Languages

You'll need the language to search. The Language-json also includes the optional Authors.

https://BahaiPrayers.net/api/ai/languages

Search!

Pass in the Language and search. Author is optional.

https://BahaiPrayers.net/api/ai/search?query=love&language=english&author=Baha%27u%27llah

Get a full document based on a search result and highlight

You'll need to POST to get the result:

return $http({ method: 'POST', url: https://BahaiPrayers.net/api/ai/GetHtmlPost', data: { documentId: documentId, language: language, highlight: highlight } });

Tools for Specific Books

Notes
These are specific tools which are focused on the structure of each book. It also includes handy endpoints to download the content. Feel free to use this data-feed in your web apps.

Prayers

Get the Languages

Gets the all important LanguageId needed for all the API calls.

https://BahaiPrayers.net/api/prayer/Languages

Get the Tags for a Language

Tags tell you what topic the Prayer is for. Example, "Healing". In this example LanguageId of '1' is requested.

https://BahaiPrayers.net/api/prayer/tags?languageid=1

Get the Prayers for a Language

In this example LanguageId of '1' is requested and simple HTML encoding is added. We add italic, h1,h2 and p to the right places. If no HTML is desired, plain text is returned with CRLF's for new lines.

https://BahaiPrayers.net/api/prayer/prayersystembylanguage?html=true&languageid=1


The Ridvan Messages

Get the Ridvan Messages Languages

Gets the all important LanguageId needed for all the Ridvan API calls.

https://BahaiPrayers.net/api/prayer/RidvanLanguages

Get the Ridvan Messages

Pass in the language id

https://BahaiPrayers.net/api/prayer/RidvansByLanguage?languageid=1


The Kitáb-i-Aqdas

Get the Kitáb-i-Aqdas Languages

Gets the all important LanguageId needed for all the Kitáb-i-Aqdas API calls.

https://BahaiPrayers.net/api/prayer/AqdasLanguages

Get the Kitáb-i-Aqdas

Pass in the language id and if you want the result formatted into html with links to notes and Questions and Answers.

https://BahaiPrayers.net/api/prayer/AqdasByLanguage?languageid=1&html=true

Get the Aqdas Matrix (Comparison)

Pass in the language ids

https://bahaiprayers.net/api/prayer/AqdasMatrixByLanguages?languageid1=1&languageid2=3


The Hidden Words

Get the Hidden Words Languages

Gets the all important LanguageId needed for all the Hidden Words API calls.

https://BahaiPrayers.net/api/prayer/HiddenLanguages

Get the Hidden Words

Pass in the language id

https://BahaiPrayers.net/api/prayer/HiddensByLanguage?languageid=1

Get the Hidden Words Matrix (Comparison)

Pass in the language ids

https://BahaiPrayers.net/api/prayer/HiddensMatrixByLanguages?languageid1=1&languageid2=2


Gleanings from the Writings of Baha'u'llah

Get the Gleaning Languages

Gets the all important LanguageId needed for all the Gleaning API calls.

https://BahaiPrayers.net/api/prayer/GleaningLanguages

Get the Gleanings

Pass in the language id

https://BahaiPrayers.net/api/prayer/GleaningsByLanguage?languageid=1

Get the Gleanings Matrix (Comparison)

Pass in the language ids

https://BahaiPrayers.net/api/prayer/GleaningsMatrixByLanguages?languageid1=1&languageid2=3


Prayers and Meditations by Baha'u'llah

Get the P&M Languages

Gets the all important LanguageId needed for all the Prayers and Meditations API calls.

https://BahaiPrayers.net/api/prayer/PMLanguages

Get the PMs

Pass in the language id

https://BahaiPrayers.net/api/prayer/PMsByLanguage?languageid=1

Get the PMs Matrix (Comparison)

Pass in the language ids

https://BahaiPrayers.net/api/prayer/PMsMatrixByLanguages?languageid1=1&languageid2=3


Tablets of Baha'u'llah Revealed after the Kitáb-i-Aqdas

Get the Languages

Gets the all important LanguageId

https://BahaiPrayers.net/api/prayer/TabLanguages

Get the Tablets

Pass in the language id

https://BahaiPrayers.net/api/prayer/TabsByLanguage?languageid=1

Get the Tablet Matrix (Comparison)

Pass in the language ids

https://BahaiPrayers.net/api/prayer/TabsMatrixByLanguages?languageid1=1&languageid2=3


Kitab-i-Iqan by Baha'u'llah

Get the Iqan Languages

Gets the all important LanguageId needed for all the Iqan API calls.

https://BahaiPrayers.net/api/prayer/IqanLanguages

Get the Iqan

Pass in the language id

https://BahaiPrayers.net/api/prayer/IqansByLanguage?languageid=1

Get the Iqan Matrix (Comparison)

Pass in the language ids

https://BahaiPrayers.net/api/prayer/IqansMatrixByLanguages?languageid1=1&languageid2=3


Some Answered Questions

Get the SAQ Languages

Gets the all important LanguageId needed for all the SAQ API calls.

https://BahaiPrayers.net/api/prayer/SaqLanguages

Get the SAQ Parts (Sections)

Pass in the language id

https://BahaiPrayers.net/api/prayer/SaqPartsByLanguage?languageid=1

Get the SAQ Topics (Main body)

Pass in the language id

https://BahaiPrayers.net/api/prayer/SaqTopicsByLanguage?languageid=1


Days of Remembrance

Get the Days of Remembrance Languages

Gets the all important LanguageId needed for all the Days of Remembrance API calls.

https://BahaiPrayers.net/api/prayer/DaysRememberLanguages

Get the Days of Remembrance

Pass in the language id

https://BahaiPrayers.net/api/prayer/DaysRemembersByLanguage?languageid=1
Windows / Mac