# GET /darkcrawl/v1/alerts

> List the alerts raised for your monitors and watches, newest first.

GET `/darkcrawl/v1/alerts`

**Authentication:** your key as a [bearer token](https://darkcrawl.dev/docs/api-reference/authentication/).

## Query parameters

| Field         | Type                                                                                                                     | Required | Default   |
| ------------- | ------------------------------------------------------------------------------------------------------------------------ | -------- | --------- |
| `monitorId`   | `string`                                                                                                                 | Optional |           |
| `type`        | `string` Values: `changed`, `keyword`, `new_page`, `page_gone`, `new_indicator`, `monitor_failing`, `test`, `feed_match` | Optional |           |
| `since`       | `string`                                                                                                                 | Optional |           |
| `deliveryId`  | `string`                                                                                                                 | Optional |           |
| `limit`       | `integer`                                                                                                                | Optional | `20`      |
| `offset`      | `integer`                                                                                                                | Optional | `0`       |
| `includeText` | `string` Values: `true`, `false`                                                                                         | Optional | `"false"` |

## Request

**curl**

```bash
curl 'https://api.darkcrawl.dev/darkcrawl/v1/alerts?type=keyword&limit=20' \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"
```

**Python**

```python
import os
import requests

resp = requests.get(
    "https://api.darkcrawl.dev/darkcrawl/v1/alerts?type=keyword&limit=20",
    headers={"Authorization": "Bearer " + os.environ["DARKCRAWL_API_KEY"]},
    timeout=330,
)
print(resp.json())
```

**Node**

```javascript
const resp = await fetch("https://api.darkcrawl.dev/darkcrawl/v1/alerts?type=keyword&limit=20", {
  headers: {
    Authorization: "Bearer " + process.env.DARKCRAWL_API_KEY,
  },
  signal: AbortSignal.timeout(330000),
});
console.log(await resp.json());
```

## Response

Status `200`.

```json
{
  "alerts": [
    {
      "id": "01K0EXAMPLEALERT00000000A0",
      "type": "keyword",
      "createdAt": "2026-11-26T10:00:00.000000+00:00",
      "name": "Acme Example Ltd",
      "monitorId": null,
      "watchId": "01K0EXAMPLEWATCH00000000A0",
      "terms": [
        {
          "kind": "phrase",
          "value": "Acme Example Ltd"
        }
      ],
      "runId": null,
      "captureId": "01K0EXAMPLECAPTURE0000000A",
      "previousCaptureId": null,
      "url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/notice",
      "title": "Notice",
      "counts": {},
      "source": "watch"
    }
  ],
  "next": null
}
```

## Errors

| Code                    | Status |
| ----------------------- | ------ |
| `BAD_REQUEST`           | 400    |
| `BLOCKLIST_UNAVAILABLE` | 503    |

What each code means, and what to do about it: [Errors](https://darkcrawl.dev/docs/api-reference/errors/).

## Notes

- `type` is the kind of alert: `changed`, `keyword`, `new_page`, `page_gone`, `new_indicator`, `monitor_failing`, `test` or `feed_match`. A `feed_match` is unconfirmed: a post on a leak site names a watch's term, and DarkCrawl has not confirmed it.
- `watchId` and `terms` are on a brand watch's alert, and `monitorId` on a monitor's. `counts` holds the numbers the alert carries.
- Page text is left out unless you send `includeText=true`. `next` is the `offset` of the following page, or `null`.
