⚡ Free Public JSON API
•
Bangladesh Standard Time
Developer API & Integration Guide
Connect your mobile apps, smart displays, Discord bots, and web applications to real-time Ramadan timetables, Imsakiyah schedules, and Sehri/Iftar timings across Bangladesh.
Base URL:
https://trunlo.sysninja.net/api
Response:
application/json (Pretty-Printed)
Supported Bangladesh Cities & Region Slugs
Chittagong
city=chittagong
Dhaka
city=dhaka
Khulna
city=khulna
Rajshahi
city=rajshahi
Sylhet
city=sylhet
GET
/api/ramadan/current/{city}
Fetches active or upcoming Ramadan timetable for any Bangladesh city.
Path Parameters
city
(string, optional, default: dhaka)
Options: dhaka, chittagong, sylhet, khulna, rajshahi
Example Request:
curl -X GET "https://trunlo.sysninja.net/api/ramadan/current/chittagong" \
-H "Accept: application/json"
JavaScript (Fetch API):
const response = await fetch('https://trunlo.sysninja.net/api/ramadan/current/chittagong');
const data = await response.json();
console.log('Fasting Times:', data.days);
GET
/api/cities
Returns all configured cities in Bangladesh with geographic coordinates.
cURL Command:
curl -X GET "https://trunlo.sysninja.net/api/cities"
GET
/api/ramadan/{year}/{city}
Retrieve timetable data for a specific year (e.g. 2027) and city.
cURL Command:
curl -X GET "https://trunlo.sysninja.net/api/ramadan/2027/sylhet"