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, Islamic Prayer times API, pray time api, xhanch prayer time, muslim prayer times api, prayer timings api, prayers time api, prayer times json, salaat time api, islamic api, prayer time xml, prayer timing api, api prayer times, API prayer time, salat time api, islamic prayer time api, json prayer time, shalat time API, prayer times php script, prayer times C#, prayer time json, prayer api, php prayer time script, namaz times api, pray times api, prayer times script php, pray time php uoif, islamic prayer times xml php, prayer timings script, Namaz timings api, prayer time script, prayertimes api, get prayer times service with latitude and longitude, namaz timing script, prayer muslim time api based on country, namaz timing api, islamic php script, yahoo prayer times script, Prayers times api, muslim prayer time api, c# prayer time, c# prayer times, prayer time web api, online prayer time api, php islamic prayer time, script to grab salat time, xhanch prayer api, code source php Islamic Prayer Time, get musilm prayer time in json in android, javascript:namazxml(\fajr\);, namaaz timings api, json pray times, muslim pray json, ismalic prayer time api for websites, muslims prayers times templates, Islamoic APi, islamic-get-prayer-time php?lng=, islamic salat time free code for api, muslim prayer times api android, Muslim prayer timing API, muslim salat api, mohammedan prayer time api coordinates, json salat time api, my prayer time word press uoif, islamic monthly prayer schedule source code wordpress, get prayer times using longitude and latitude, get prayer times using c#, drupal islamic prayer feed, download prayer time, daily prayer time api, code prayer time, Calling Hijri date api in php code, c# time prayer code, c# islamic prayer timings, مواقيت الصلاة في العالم api, api to integrate prayer time, api to get prayer times, api salate time, api json prayer times, api for prayer times, get prayer timetable api, get prayer timing through api in php, islamic month php script, islamic finder api json, islam pray time api, islam php script, integrating islamic prayer timing to a website, imslamic prayer time api, how to retrieve prayer times api, how to get pray time using xml, how to get muslim pray time api, how can i get prayer time in php, google web api islamic prayer time, google prayer time api, getting islamic prayer times, Get Salat time service, get praytime using xml, Xhanch, Xhanch Studio

Posted on 2010-03-21 by Susanto BSc in Xhanch API
Prayer Time, Json, Xml, Islamic, Script, Api, Free, Xhanch, Code, Call, Protocol, Moslem, Calculator, Public, Php, 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.