Sign Up

Log In

Muslim Salat

FREE
By muslim
Updated 2 months ago
Data
8.2/10
Popularity Score
603ms
Latency
85%
Success Rate

Muslim Salat API Documentation

Prayer times for around the world by MuslimSalat.com

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GETPrayer Times
GETPrayer Times for a location
GETPrayer Times

This will fetch the prayer time based on the location you request for with the given parameters. All following parameters are optional, you can set as you wish. If you wish to set two or more parameters, then you have to set url in the order the parameter is given below.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
daylightBOOLEAN
OPTIONALDaylight saving for the user, if true then hours are incremented by 1+
methodSTRING
OPTIONALMethod to use for calculation of the timing. If method is provided invalid based on the country, it will give incorrect timing. 1 = Egyptian General Authority of Survey 2 = University Of Islamic Sciences, Karachi (Shafi) 3 = University Of Islamic Sciences, Karachi (Hanafi) 4 = Islamic Circle of North America 5 = Muslim World League 6 = Umm Al-Qura 7 = Fixed Isha
timesSTRING
OPTIONALLimit the prayer times by the value. Daily, weekly, monthly or yearly
dateSTRING
OPTIONALGet the prayer times for the given date, please make sure the date is further head or current date. Heads up! Previous dates will be deprecated from the api.
locationSTRING
OPTIONALName of the location where user is at or his state name or his country name or with his latitude and longitude .
Request Snippet
unirest.get("https://muslimsalat.p.rapidapi.com/(location)/(times)/(date)/(daylight)/(method).json?daylight=undefined&method=undefined&times=undefined&date=undefined&location=undefined")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://muslimsalat.p.rapidapi.com/(location)/(times)/(date)/(daylight)/(method).json?daylight=undefined&method=undefined&times=undefined&date=undefined&location=undefined")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard