Skip to content

Monitor

GET /v2/monitor/{monitor_id}/checks/{check_id}

Copy page

Read one check with its pages, and for a changed page its diff.

GET /v2/monitor/{monitor_id}/checks/{check_id}

Authentication: your key as a bearer token.

Path parameters

FieldTypeRequiredDefault
monitor_idstringRequired
check_idstringRequired

Query parameters

FieldTypeRequiredDefault
limitintegerOptional25
skipintegerOptional0
statusstring Values: same, new, changed, removed, errorOptional

Request

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

Response

Status 200.

Response
{
  "success": true,
  "data": {
    "id": "01K0EXAMPLECHECK000000000A",
    "monitorId": "01K0EXAMPLEMONITOR0000000A",
    "status": "completed",
    "trigger": "manual",
    "scheduledFor": "2026-11-26T10:00:00.000000+00:00",
    "startedAt": "2026-11-26T10:00:00.000000+00:00",
    "finishedAt": "2026-11-26T10:00:20.000000+00:00",
    "estimatedCredits": 0,
    "reservedCredits": 0,
    "actualCredits": 0,
    "billingStatus": "not_applicable",
    "summary": {
      "totalPages": 1,
      "same": 0,
      "changed": 1,
      "new": 0,
      "removed": 0,
      "error": 0
    },
    "targetResults": [
      {
        "targetId": "01K0EXAMPLETARGET00000000A",
        "type": "scrape",
        "judgeDegraded": false,
        "degradedReason": null,
        "resultsJudged": 0
      }
    ],
    "notificationStatus": {},
    "error": null,
    "createdAt": "2026-11-26T10:00:00.000000+00:00",
    "updatedAt": "2026-11-26T10:00:20.000000+00:00",
    "pages": [
      {
        "id": "01K0EXAMPLEPAGE0000000000A",
        "targetId": "01K0EXAMPLETARGET00000000A",
        "url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/notice",
        "status": "changed",
        "previousScrapeId": "01K0EXAMPLECAPTURE0000000B",
        "currentScrapeId": "01K0EXAMPLECAPTURE0000000A",
        "statusCode": 200,
        "error": null,
        "metadata": {},
        "diff": {
          "text": "--- previous\n+++ current\n@@ -1,2 +1,2 @@\n # Notice board\n-Hours: 9 to 5\n+Hours: 9 to 6",
          "json": {
            "files": [
              {
                "chunks": [
                  {
                    "content": "@@ -1,2 +1,2 @@",
                    "changes": [
                      {
                        "type": "normal",
                        "normal": true,
                        "ln1": 1,
                        "ln2": 1,
                        "content": " # Notice board"
                      },
                      {
                        "type": "del",
                        "del": true,
                        "ln": 2,
                        "content": "-Hours: 9 to 5"
                      },
                      {
                        "type": "add",
                        "add": true,
                        "ln": 2,
                        "content": "+Hours: 9 to 6"
                      }
                    ],
                    "oldStart": 1,
                    "oldLines": 2,
                    "newStart": 1,
                    "newLines": 2
                  }
                ],
                "deletions": 1,
                "additions": 1,
                "from": "previous",
                "to": "current"
              }
            ]
          }
        },
        "snapshot": null,
        "judgment": null,
        "createdAt": "2026-11-26T10:00:20.000000+00:00"
      }
    ]
  }
}

Errors

CodeStatus
BAD_REQUEST400
NOT_FOUND404
BLOCKLIST_UNAVAILABLE503

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

Notes

  • A page is same, new, changed, removed or error. status picks one, and limit and skip page through them; next is then the address of the following part.
  • diff is on a changed page whose two captures are both stored. diff.text is a unified diff of their Markdown and diff.json is the same diff in parts. It is null otherwise.
  • judgment is on a changed or new page when the monitor has a goal, and null otherwise. snapshot is always null.
  • An unknown id, and another company's monitor, answer 404 NOT_FOUND.