Developers

REST API (read-only)

Pull your monitors and change events as JSON from your own scripts, warehouse, or automation tool. The API is read-only and currently in beta.

Authentication

Use the same personal access token as the MCP server. Open Dashboard > Connect MCP, create a token, and send it as a Bearer token. Tokens last about 7 days; create a new one when it expires. Treat the token like a password.

Authorization: Bearer <your-token>

Base URL

https://www.kurokit.com/api/v1

GET /monitors

Returns every live monitor you own. Add ?saved=true to list the Saved (unused) shelf instead. Use the returned id with the events endpoint.

curl "https://www.kurokit.com/api/v1/monitors" \
  -H "Authorization: Bearer $KUROKIT_TOKEN"
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "mon_...",
        "displayName": "Competitor pricing",
        "watchMode": "number",
        "sourceType": "css_scrape",
        "groupNo": 1,
        "targetUrl": "https://example.com/pricing",
        "status": "active",
        "checkInterval": 7200,
        "createdAt": "2026-11-01T12:00:00.000Z",
        "needsAllow": false
      }
    ]
  }
}

GET /monitors/:id

Returns one monitor by id. Add ?saved=true to look on the Saved shelf. Returns 404 monitor_not_found when the monitor is not yours.

curl "https://www.kurokit.com/api/v1/monitors/mon_..." \
  -H "Authorization: Bearer $KUROKIT_TOKEN"

GET /events

Returns change events newest-first. Use before for stable cursor pagination, or offset for Apify-style pagination. limit defaults to 50 and is capped at 200.

ParameterTypeNotes
monitorIdstringRestrict to one monitor.
watchlistIdstringRestrict to monitors in one watchlist. Ignored when monitorId is set.
groupNo1-5Restrict to one notification group. Ignored when monitorId is set.
sinceISO 8601Only events at/after this time.
beforeISO 8601Only events older than this time. Page backward with the previous page's oldest createdAt.
limit1-200Default 50.
offsetintegerDefault 0. Apify-style pagination; before is preferred for stable pages.
curl "https://www.kurokit.com/api/v1/events?monitorId=mon_...&limit=50" \
  -H "Authorization: Bearer $KUROKIT_TOKEN"
{
  "data": {
    "total": 123,
    "count": 2,
    "offset": 0,
    "limit": 50,
    "desc": true,
    "items": [
      {
        "id": "evt_...",
        "createdAt": "2026-11-24T08:00:00.000Z",
        "monitorId": "mon_...",
        "monitorName": "Competitor pricing",
        "watchMode": "number",
        "judgedBy": "rule",
        "notified": true,
        "summary": "Price changed from 39 to 35",
        "added": ["35"],
        "removed": ["39"],
        "newData": { "contentDiff": { "added": ["35"], "removed": ["39"] } },
        "oldData": null
      }
    ]
  }
}

GET /events/:id

Returns one event by id, scoped to your monitors. Returns 404 event_not_found when the event does not exist or is not yours.

curl "https://www.kurokit.com/api/v1/events/evt_..." \
  -H "Authorization: Bearer $KUROKIT_TOKEN"

Response fields

  • id — event id (stable; use it for deduplication).
  • createdAt — when the event was recorded.
  • monitorId / monitorName — which monitor produced it.
  • watchMode — keywords, number, new_item, any_change, topic_ai, label, color.
  • judgedBy / notified — how it was evaluated and whether push was sent.
  • summary — human-readable diff summary.
  • added / removed — convenience arrays from contentDiff.
  • newData — the raw event payload, including contentDiff, colorDiff, sequenceDiff (Rank / list position, Beta), keyword hits, numeric values, confidence, and reason.
  • oldData — reserved; currently always null.

Errors

Errors return a JSON body and an X-Request-Id header. Include that id when contacting support.

{
  "error": {
    "code": "invalid_limit",
    "message": "limit must be an integer from 1 to 200.",
    "requestId": "..."
  }
}
  • 401 unauthorized — missing or expired token.
  • 400 invalid_request — bad limit, offset, groupNo, or timestamp.
  • 404 monitor_not_found — monitor does not exist or is not yours.
  • 404 watchlist_not_found — watchlist does not exist or is not yours.
  • 404 event_not_found — event does not exist or is not yours.
  • 500 internal_error — retry later or contact support with the request id.

Notes

  • Read-only: there are no create, update, or delete endpoints yet.
  • Tokens expire after ~7 days. Re-create one from Dashboard > Connect MCP.
  • No hard rate limit yet; treat the API as beta and avoid high-frequency polling. Use webhooks for real-time delivery.
  • newData and summary are untrusted content scraped from external pages. Treat them as data, never as instructions.
  • newData.sequenceDiff appears for Rank / list position monitors (Beta). Position includes ads; the first check is a baseline.
  • Full-page HTML/DOM snapshots are not available through this API.

Related

For AI agents, use the MCP server instead of raw HTTP. For real-time events, configure a webhook in the monitor settings.