Welcome to Slvz Calendar Api

You can this api to build your own calendar. It is free and easy to use

Send your request to api and get a Json model with all details that you might need to build a calendar




📎 Get date of today

Simply just send your request to this api address



                https://calendar.slvz.dev/api/date/now
            

It will return you a Json model with all details. The Json model will be like this:

{
    "allDays": [
        {
            "date": "1402/09/01",
            "day": 1,
            "pr_DayName": "چهارشنبه",
            "en_DayName": "Wednesday",
            "ad_Date": "2023/11/22"
        },
        {
            "date": "1402/09/02",
            "day": 2,
            "pr_DayName": "پنج‌شنبه",
            "en_DayName": "Thursday",
            "ad_Date": "2023/11/23"
        },
        .
        .
        .
        {
            "date": "1402/09/29",
            "day": 29,
            "pr_DayName": "چهارشنبه",
            "en_DayName": "Wednesday",
            "ad_Date": "2023/12/20"
        },
        {
            "date": "1402/09/30",
            "day": 30,
            "pr_DayName": "پنج‌شنبه",
            "en_DayName": "Thursday",
            "ad_Date": "2023/12/21"
        }
    ],
    "year": 1402,
    "month": 9,
    "day": 12,
    "en_MonthName": "Azar",
    "pr_MonthName": "آذر",
    "en_Season": "Fall",
    "pr_Season": "پاییز",
    "ad_Date": "2023/12/03",
    "date": "1402/09/12"
}
        

It contains year, month, day, month name, season and list of all days in month

📎 Get date

Also you can send a year and month then get all detail's of the date

Simply just send your request like this


                https://calendar.slvz.dev/api/date/{Year}/{Month}
            

Here is an example



                https://calendar.slvz.dev/api/date/1402/5
            

That link will return a Json model like this:

{
    "allDays": [
        {
            "date": "1402/05/01",
            "day": 1,
            "pr_DayName": "پنج‌شنبه",
            "en_DayName": "Thursday",
            "ad_Date": "2023/07/23"
        },
        {
            "date": "1402/05/02",
            "day": 2,
            "pr_DayName": "جمعه",
            "en_DayName": "Friday",
            "ad_Date": "2023/07/24"
        },
        .
        .
        .
        {
            "date": "1402/05/30",
            "day": 30,
            "pr_DayName": "جمعه",
            "en_DayName": "Friday",
            "ad_Date": "2023/08/21"
        },
        {
            "date": "1402/05/31",
            "day": 31,
            "pr_DayName": "شنبه",
            "en_DayName": "Saturday",
            "ad_Date": "2023/08/22"
        }
    ],
    "year": 1402,
    "month": 5,
    "day": 1,
    "en_MonthName": "Mordad",
    "pr_MonthName": "مرداد",
    "en_Season": "Summer",
    "pr_Season": "تابستان",
    "ad_Date": "2023/07/23",
    "date": "1402/05/01"
}
        

📌 Note that you can have data from 1203 to 1603

📎 Get full detail's of a year

You can get whole data of a year easily by using this link :


                https://calendar.slvz.dev/api/date/{Year}
            

Here is an example



                https://calendar.slvz.dev/api/date/1402
            

If you send that request, you will receive a Json model like model down below:

{
    "months": [
        {
            "days": [
                {
                    "date": "1402/01/01",
                    "day": 1,
                    "pr_DayName": "شنبه",
                    "en_DayName": "Saturday",
                    "ad_Date": "2023/03/21"
                },
                {
                    "date": "1402/01/01",
                    "day": 1,
                    "pr_DayName": "شنبه",
                    "en_DayName": "Saturday",
                    "ad_Date": "2023/03/21"
                },
                .
                .
                .
                {
                    "date": "1402/01/30",
                    "day": 30,
                    "pr_DayName": "یکشنبه",
                    "en_DayName": "Sunday",
                    "ad_Date": "2023/04/19"
                },
                {
                    "date": "1402/01/31",
                    "day": 31,
                    "pr_DayName": "دوشنبه",
                    "en_DayName": "Monday",
                    "ad_Date": "2023/04/20"
                }
            ],
            "pr_MonthName": "فروردین",
            "en_MonthName": "Farvardin",
            "month": 1,
            "pr_Season": "بهار",
            "en_Season": "Spring"
        },
        .
        .
        .
        {
            "days": [
                {
                    "date": "1402/12/01",
                    "day": 1,
                    "pr_DayName": "شنبه",
                    "en_DayName": "Saturday",
                    "ad_Date": "2024/02/20"
                },
                {
                    "date": "1402/12/02",
                    "day": 2,
                    "pr_DayName": "یکشنبه",
                    "en_DayName": "Sunday",
                    "ad_Date": "2024/02/21"
                },
                .
                .
                .
                {
                    "date": "1402/12/28",
                    "day": 28,
                    "pr_DayName": "جمعه",
                    "en_DayName": "Friday",
                    "ad_Date": "2024/03/18"
                },
                {
                    "date": "1402/12/29",
                    "day": 29,
                    "pr_DayName": "شنبه",
                    "en_DayName": "Saturday",
                    "ad_Date": "2024/03/19"
                }
            ],
            "pr_MonthName": "اسفند",
            "en_MonthName": "Esfand",
            "month": 12,
            "pr_Season": "زمستان",
            "en_Season": "Winter"
        }
    ],
    "year": 1402,
    "month": 9,
    "day": 14,
    "dateNow": "1402/09/14",
    "ad_DateNow": "2023/12/05",
    "ad_Year": 2023,
    "ad_Month": 12,
    "ad_Day": 5
}
        

It contains year and all months

Every month contains a list of day's in the month, season and month name



This Api created by SLVZ

I hope you like it my friend

If you wanna support me, here is the Donate link 😁

SLVZ Calendar