Ramadan API Documentation

Get All Ramadan Data

API URL https://chikuweb.in/api/ramadan/all

Method: GET

Example Response:

{"ramadan_2025": [{"date": "2025-03-02", "sehri": "05:06 AM", "iftar": "06:02 PM"}, ...]}

Explanation: This endpoint returns the Sehri and Iftar times for all days of Ramadan for the specified year.

Get Today's Sehri & Iftar Time

API URL https://chikuweb.in/api/ramadan/today

Method: GET

Example Response:

{"date": "2025-03-02", "sehri": "05:06 AM", "iftar": "06:02 PM", "nextDay": false}

Explanation: Returns Sehri and Iftar times for the current date. The nextDay flag indicates whether the timings for the next day should be considered (if today's Sehri and Iftar have already passed).

Get Sehri & Iftar by Date

API URL https://chikuweb.in/api/ramadan/date/{YYYY-MM-DD}

Method: GET

Example Response:

{"date": "2025-03-10", "sehri": "04:59 AM", "iftar": "06:06 PM"}

Explanation: Fetches Sehri and Iftar timings for a specific date.

Get Next Day's Sehri & Iftar Time

API URL https://chikuweb.in/api/ramadan/next

Method: GET

Example Response:

{"date": "2025-03-03", "sehri": "05:05 AM", "iftar": "06:03 PM"}

Explanation: Returns Sehri and Iftar times for the next day.

Get Previous Day's Sehri & Iftar Time

API URL https://chikuweb.in/api/ramadan/previous

Method: GET

Example Response:

{"date": "2025-03-01", "sehri": "05:07 AM", "iftar": "06:01 PM"}

Explanation: Returns Sehri and Iftar times for the previous day.

nisoz