Try the RankNibbler SEO API

Maintenance windows Beta

Tell RankNibbler when you're doing planned work, so your team isn't alerted about it and it doesn't count against your uptime. A window can happen once or repeat every few days, weeks or months.

Every endpoint in this group needs an X-API-Key header, and each call counts once against your daily quota. Reading needs access to uptime monitoring in the app; every other method needs permission to manage uptime monitors, which also covers maintenance windows. See Monitoring API: getting started for authentication, rate limits and errors.

Endpoints

MethodEndpointDoes
GET/api/v1/maintenanceList windows, by status or monitor
POST/api/v1/maintenanceCreate a window, one-off or repeating
GET/api/v1/maintenance/{id}One window
PATCH/api/v1/maintenance/{id}Change a window
DELETE/api/v1/maintenance/{id}Delete a window and its occurrences
DELETE/api/v1/maintenance?ids=…Delete up to 500 windows at once
GET/api/v1/maintenance/occurrencesList occurrences in a date range
GET/api/v1/maintenance/occurrences/{id}One occurrence
PATCH/api/v1/maintenance/occurrences/{id}Move or resize one occurrence
DELETE/api/v1/maintenance/occurrences/{id}Cancel one occurrence
DELETE/api/v1/maintenance/occurrences?ids=…Cancel up to 500 occurrences at once

How maintenance works

Windows and occurrences

During an occurrence

In reports

The window object

window
  1. {
  2. "id": "mw_3f9a0c1d2e4b5a6c7d8e",
  3. "description": "Weekly database backup",
  4. "from": "2026-09-20T02:00:00.000Z",
  5. "to": "2026-09-20T03:00:00.000Z",
  6. "recurrence": "week",
  7. "repeatEvery": 1,
  8. "effectiveTo": null,
  9. "allMonitors": false,
  10. "monitorIds": ["mon_79ce3cf9c4fa56e98af4", "mon_4b1d0a7e2c9f83d56e10"],
  11. "nextOccurrence": { "id": "48213", "from": "2026-09-20T02:00:00.000Z", "to": "2026-09-20T03:00:00.000Z" },
  12. "active": false,
  13. "createdAt": "2026-09-17T10:12:44.000Z",
  14. "updatedAt": "2026-09-17T10:12:44.000Z"
  15. }
FieldTypeDescription
idstringThe window id, starting mw_.
descriptionstringWhat the work is. Up to 200 characters.
from, tostringThe first occurrence's start and end. The length of every occurrence is to minus from.
recurrencestringnone, day, week or month.
repeatEveryintegerRepeat every this many days, weeks or months, from 1 to 100.
effectiveTostring | nullNo occurrences start after this time. null repeats for ever.
allMonitorsbooleantrue covers every monitor in the workspace, including ones added later.
monitorIdsstring[]The monitors it covers when allMonitors is false.
nextOccurrenceobject | nullThe current or next occurrence (id, from, to). null when none are left.
activebooleantrue while an occurrence is running.
createdAt, updatedAtstringWhen the window was created and last changed.

An occurrence is { id, maintenanceId, description, from, to, modified }, where modified is true for one that was moved on its own.