Xhanch API – Islamic Get Prayer Time

Xhanch API – Islamic Get Prayer Time is a public API to retrieve a monthly Islamic prayer time based on longitude, latitude, year, month, and gmt. It will returns daily times for fajr, sunrise, zuhr, asr, maghrib, and isha.

API Call Syntax


  • <location>; required; ID number of the location
  • <year>; required; year of the prayer time
  • <month>; required; month of the prayer time
  • <mode>; xml or json; optional; default is xml; api result mode that you prefer

Current version: 1.0.2
Note: List of locations and their IDs will be provided soon

Example of Use

Click the link to view the result of these API call samples

Prayer times for Riyadh, Saudi Arabia (Location ID: 108410) in September 2016:
http://api.xhanch.com/islamic-get-prayer-time.php?loc=108410&yer=2016&mth=9 (XML)
http://api.xhanch.com/islamic-get-prayer-time.php?loc=108410&yer=2016&mth=9&mde=json (JSON)

Incoming Search Terms

prayer times api, prayer time API, prayer, prayerTime api, pray time api, Islamic Prayer times API, xhanch prayer time, muslim prayer times api, prayer timings api, prayers time api, prayer times json, islamic api, salaat time api, API prayer time, api prayer times, prayer time xml, prayer timing api, salat time api, php prayer time script, shalat time API, prayer times C#, prayer api, prayer time json, pray times api, islamic prayer time api, prayer times php script, prayer times script php, json prayer time, namaz times api, pray time php uoif, php islamic prayer time, script to grab salat time, c# prayer time, c# prayer times, code source php Islamic Prayer Time, prayer muslim time api based on country, Prayers times api, prayer timings script, online prayer time api, get musilm prayer time in json in android, yahoo prayer times script, get prayer times service with latitude and longitude, xhanch prayer api, prayer time script, islamic php script, Namaz timings api, prayer time web api, namaz timing script, islamic prayer times xml php, prayertimes api, namaz timing api, muslim prayer time api, api for muslim prayer time, api for prayer time, api for prayer times, api link to prayer times, api prayer, api salate time, api to get prayer times, buy php script salat time, c# islamic prayer timings, c# time prayer code, Calling Hijri date api in php code, code prayer time, daily prayer time api, download prayer time, get muslim prayer timings with ip address of location php, get prayer time in json format, get prayer time services xml format, get prayer times using c#, get prayer times using longitude and latitude, get praytime using xml, Get Salat time service, getting islamic prayer times, google prayer time api, google web api islamic prayer time, how can i get prayer time in php, how to get muslim pray time api, how to get pray time using xml, how to retrieve prayer times api, imslamic prayer time api, integrating islamic prayer timing to a website, islam php script, islam pray time api, islamic finder api json, islamic month php script, islamic prayer times uoif, islamic prayer times xml response, islamic prayer timing json, مواقيت الصلاة في العالم api, islamic-get-prayer-time php?lng=, Islamoic APi, ismalic prayer time api for websites, javascript:namazxml(\fajr\);, json pray times, muslim pray json, muslim prayer times api android, Muslim prayer timing API, muslim salat api, muslims prayers times templates, Xhanch, Xhanch Studio

Posted on 2010-03-21 by Susanto BSc in Xhanch API
Moslem, Php, Public, Code, Script, Xhanch, Prayer Time, Islamic, Free, Calculator, Call, Protocol, Json, Api, Xml, Xhanch, Xhanch Studio

Tagged as: , , , , , , , , , , , , , ,

6 Responses to “Xhanch API – Islamic Get Prayer Time”

  1. Ashraf Ali says:

    Any chance you’ll release the PHP source code?

  2. Haroon says:

    I’am looking for a service, similar to yours. I would like to get API for integrating to get the salat times runtime.

    We are building a solution, in which we would like to show the salat strart times for 5 times, if possible the moon (Lunar) positions.

    Let me know, how we can work together to develop a solution.

    Many thnaks


  3. akashi says:

    how about the method of calculation? afaik, some places use different calculation method. could we select the calculation method?

Leave a Reply

You must be logged in to post a comment.