Pray Times Api

Description

Services that show you how much time you have chosen, bringing the prayer times of the city you want.

Pricing per Call: 0.001$
For learn the packages and usage details of the services, go to the pricing page.

End Points

get/all

This endpoint allows to receive all prayer times for cities.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityEnter name of city you want to learn the prayer times.text
Example
Request
{
  "uri": "https://api.collectapi.com/pray/all?data.city=istanbul",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "saat": "04:57",
      "vakit": "İmsak"
    },
    {
      "saat": "06:26",
      "vakit": "Güneş"
    },
    {
      "saat": "13:09",
      "vakit": "Öğle"
    },
    {
      "saat": "16:47",
      "vakit": "İkindi"
    },
    {
      "saat": "19:40",
      "vakit": "Akşam"
    },
    {
      "saat": "21:04",
      "vakit": "Yatsı"
    }
  ]
}
get/single

The service that shows how many hours left to pray time of your chosen.

Parameters
FieldDescriptionTypeHeaderRequired
data.cityYou have to write the name of the city you want to learn the prayer times to be small.text
ezanİmsak, Öğle, İkindi, Akşam, Yatsıtext
Example
Request
{
  "uri": "https://api.collectapi.com/pray/single?data.city=istanbul&ezan=Akşam",
  "headers": {
    "Authorization": "apikey your_token"
  }
}
Response
{
  "success": true,
  "result": [
    {
      "time": "19:15",
      "hour": "3 saat",
      "min": "59 dakika."
    }
  ]
}