Calendar Month Endpoint
Get full liturgical calendar data for a specific month.
Request
GET /calendar/month/{year}/{month}
Parameters:
| Parameter | Type | In | Description |
|---|---|---|---|
year |
integer | path | Year in YYYY format. |
month |
integer | path | Month number (1-12). |
lang |
string | query | ru (default) or en. |
type |
integer | query | Filter saints by taxonomy ID. |
Constraints: supported years 2000–3000.
Response
Returns a JSON object with entries for every day of the requested month.
Each day entry includes weekAfterPentecost as an always-present numeric Pentecost-cycle week.
All id-backed entities inside saints[] and events[] include icons[] with the same shape as /calendar/day/{date} and /hymnography.
{
"meta": {
"year": 2024,
"month": 1,
"from": "2024-01-01",
"to": "2024-01-31",
"count": 31,
"lang": "ru"
},
"data": {
"2024-01-01": { /* Day Data */ }
// ...
}
}
Example (JavaScript)
const year = 2024;
const month = 1; // January
fetch(`https://api.ispovednik.org/api/v1/calendar/month/${year}/${month}?lang=en`)
.then(response => response.json())
.then(data => console.log(data));