Skip to content

Monitor

GET /v2/monitor

Copy page

List your monitors, newest first.

GET /v2/monitor

Authentication: your key as a bearer token.

Query parameters

FieldTypeRequiredDefault
limitintegerOptional25
offsetintegerOptional0

Request

bash
curl https://api.darkcrawl.dev/v2/monitor \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"

Response

Status 200.

Response
{
  "success": true,
  "data": [
    {
      "id": "01K0EXAMPLEMONITOR0000000A",
      "name": "Notice board",
      "status": "active",
      "schedule": {
        "cron": "0 */6 * * *",
        "timezone": "Europe/Berlin"
      },
      "nextRunAt": "2026-11-26T12:00:00.000000+00:00",
      "lastRunAt": "2026-11-26T10:00:00.000000+00:00",
      "currentCheckId": null,
      "targets": [
        {
          "id": "01K0EXAMPLETARGET00000000A",
          "type": "scrape",
          "urls": [
            "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/notice"
          ],
          "scrapeOptions": {}
        }
      ],
      "webhook": null,
      "notification": {},
      "retentionDays": 30,
      "estimatedCreditsPerMonth": 0,
      "lastCheckSummary": {
        "totalPages": 1,
        "same": 0,
        "changed": 1,
        "new": 0,
        "removed": 0,
        "error": 0
      },
      "goal": null,
      "judgeEnabled": false,
      "channelIds": [],
      "createdAt": "2026-11-26T10:00:00.000000+00:00",
      "updatedAt": "2026-11-26T10:00:00.000000+00:00"
    }
  ]
}

Errors

CodeStatus
BLOCKLIST_UNAVAILABLE503

What each code means, and what to do about it: Errors.

Notes

  • A listed monitor leaves out emailRecipientSubscriptions, which a single monitor has.
  • lastCheckSummary is the counts of the newest check that ran, or null before one has.