Islamic prayer times for a place in Turkey
namazReturns daily prayer times (imsak, sunrise, dhuhr, asr, maghrib, isha) plus sahur and iftar for 1–31 days, computed with the method of Turkey's Diyanet (Presidency of Religious Affairs). Location (give one): il province name, slug or plate code (e.g. 'istanbul', 'izmir', 34), optionally with ilce district name; or konum district slug (e.g. 'duzce-akcakoca'); or enlem + boylam for the nearest district. Turkish characters optional ('Düzce' = 'duzce').
Endpoint: GET /v1/namaz. Available on all plans, including free. Costs 1 request unit per call. Read-only; JSON in Turkish with source and guncelleme (updated at) fields.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "namaz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| il | No | Province: name, slug or plate code, e.g. 'ankara', 'Düzce', 81. | |
| gun | No | Number of days from `tarih` (1–31, default 1). | |
| ilce | No | District name within `il`, e.g. 'Kadıköy'. Omit for the province centre. | |
| enlem | No | Latitude (WGS84); used with `boylam` to pick the nearest district. | |
| konum | No | District slug from konumlar_bul / konumlar_iller_il_ilceler, e.g. 'duzce-akcakoca'. | |
| tarih | No | First day, YYYY-MM-DD (default today, Turkey time). | |
| boylam | No | Longitude (WGS84); used with `enlem`. |