Fasting Day Endpoint
Get fasting rules and descriptions for a specific day.
Request
GET /fasting/day/{date}
Parameters:
| Parameter | Type | In | Description |
|---|---|---|---|
date |
string | path | Date in YYYY-MM-DD format. |
lang |
string | query | ru (default) or en. |
Constraints: supported years 1583–3000.
Response
Returns fasting details including whether it is a fast day (isFasting), a type (FAST / NO_FAST / FAST_FREE), an explicit solid-week marker (isSolidWeek), a localized description, and an optional concrete meal rule (allowedFood).
FAST_FREE denotes "Solid Weeks" (Sviatki, Bright Week, etc.) where fasting is explicitly suspended, even on Wednesdays and Fridays.
NO_FAST returns an explicit no-fast description (Поста нет / No fast) so API consumers do not receive a blank value for ordinary non-fasting days and feast-day exceptions.
isSolidWeek is true only for solid weeks and false for all other days.
allowedFood is returned only when a concrete food allowance exists for the day.
allowedFood values:
ru:Пища без мяса,Рыба, горяч. пища с раст. маслом,Горяч. пища с раст. маслом,Горяч. пища без раст. масла,Сухоядение. Холод. пища без раст. масла, неподогретое питьё,Воздержание от пищи,разрешается икраen:meat-free food,fish, hot food with vegetable oil,hot food with vegetable oil,hot food without vegetable oil,cold food without vegetable oil, unheated drink,abstinence from food,caviar
{
"meta": {
"from": "2025-03-05",
"to": "2025-03-05",
"count": 1,
"lang": "ru"
},
"data": {
"2025-03-05": {
"gregorianDate": "2025-03-05",
"julianDate": "2025-02-20",
"dayOfWeek": "Среда",
"fasting": {
"isFasting": true,
"type": "FAST",
"isSolidWeek": false,
"description": "Великий пост",
"allowedFood": "Сухоядение. Холод. пища без раст. масла, неподогретое питьё"
}
}
}
}
Example (JavaScript)
const date = '2025-03-05';
fetch(`https://api.ispovednik.org/api/v1/fasting/day/${date}?lang=en`)
.then(response => response.json())
.then(data => console.log(data));