# GET /api/org/activity

> Your company's calls, newest first.

GET `/api/org/activity`

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

## Query parameters

| Field      | Type      | Required | Default |
| ---------- | --------- | -------- | ------- |
| `endpoint` | `string`  | Optional |         |
| `limit`    | `integer` | Optional | `50`    |
| `cursor`   | `string`  | Optional |         |

## Request

**curl**

```bash
curl 'https://api.darkcrawl.dev/api/org/activity?limit=2' \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"
```

**Python**

```python
import os
import requests

resp = requests.get(
    "https://api.darkcrawl.dev/api/org/activity?limit=2",
    headers={"Authorization": "Bearer " + os.environ["DARKCRAWL_API_KEY"]},
    timeout=330,
)
print(resp.json())
```

**Node**

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

## Response

Status `200`.

```json
{
  "success": true,
  "data": [
    {
      "id": 100,
      "at": "2026-11-26T10:00:20.000000+00:00",
      "endpoint": "POST /v2/crawl",
      "status": 200,
      "pages": 37,
      "jobId": "01K0EXAMPLEJOB00000000000A",
      "keyPrefix": "dc_examplekey2345ab"
    },
    {
      "id": 99,
      "at": "2026-11-26T10:00:00.000000+00:00",
      "endpoint": "POST /v2/scrape",
      "status": 200,
      "pages": 1,
      "jobId": null,
      "keyPrefix": "dc_examplekey2345cd"
    }
  ],
  "next": "Wzk5XQ"
}
```

## Errors

| Code           | Status |
| -------------- | ------ |
| `BAD_REQUEST`  | 400    |
| `ORG_DISABLED` | 403    |

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

## Notes

- `endpoint` keeps the calls of one route, written as the rows write it: the method, a space and the route, such as `POST /v2/crawl`.
- `keyPrefix` is the start of the key that made the call, never the whole key. `jobId` is the job the call started, or `null`.
- `limit` sets the page size. `next` is the `cursor` of the following page, or `null` on the last page.
- Not counted against your plan's request limits, but still rate-limited per key. Answered while your company is suspended or its trial has ended. A disabled company gets `403 ORG_DISABLED`.
