![](https://cdn.userecho.com/characters/83.png?1)
0
Completed
Please add Sof Zman Tefila and Shema according to the Magen Avraham
I have been having trouble calculating the Magen Avraham's times based on Alos and Tzeis returned by this API. Please add those two times into the API natively. I believe a lot of people will find it helpful.
Answer
![](/s/cache/50/1e/501e2d9154cabb4b38c9ddc5fc4c3a50.png)
Answer
Completed
We've recently completed this feature request.
https://www.hebcal.com/home/1663/zmanim-halachic-times-api
In addition to previous output there are now two new outputs
sofZmanShmaMGA
– Latest Shema (MGA)
Sunrise plus 3 halachic hours, according to Magen Avraham
sofZmanTfillaMGA
– Latest Shacharit (MGA)
Sunrise plus 4 halachic hours, according to Magen Avraham
The source code that generates the new times is here:
https://github.com/hebcal/hebcal-es6/blob/main/src/zmanim.js#L205
And if you'd like to see an example of the output:
https://www.hebcal.com/zmanim?cfg=json&geonameid=293807&date=2022-03-27
Customer support service by UserEcho
We've recently completed this feature request.
https://www.hebcal.com/home/1663/zmanim-halachic-times-api
In addition to previous output there are now two new outputs
sofZmanShmaMGA
– Latest Shema (MGA)Sunrise plus 3 halachic hours, according to Magen Avraham
sofZmanTfillaMGA
– Latest Shacharit (MGA)Sunrise plus 4 halachic hours, according to Magen Avraham
The source code that generates the new times is here:
https://github.com/hebcal/hebcal-es6/blob/main/src/zmanim.js#L205
And if you'd like to see an example of the output:
https://www.hebcal.com/zmanim?cfg=json&geonameid=293807&date=2022-03-27