# GET /api/org

> Your company: its plan, its limits and what it has used today.

GET `/api/org`

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

## Request

**curl**

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

**Python**

```python
import os
import requests

resp = requests.get(
    "https://api.darkcrawl.dev/api/org",
    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", {
  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": "01K0EXAMPLECOMPANY0000000A",
    "name": "Acme Example Ltd",
    "domain": "acme.example",
    "status": "trial",
    "planId": "trial",
    "trialEndsAt": "2026-12-05T10:00:00.000000+00:00",
    "trialDaysLeft": 9,
    "limits": {
      "pagesTotal": 2000,
      "pagesPerDay": 300,
      "requestsPerDay": 3000,
      "requestsPerMinute": 30,
      "runningJobs": 2,
      "crawlMaxPages": 200,
      "agentRunsPerDay": 10,
      "aiUsdPerDay": 2,
      "members": 3,
      "keys": 3,
      "watches": 10,
      "monitors": 5,
      "uploadBytes": 10485760
    },
    "usageToday": {
      "requests": 42,
      "pages": 130,
      "aiUsd": 0.18,
      "agentRuns": 2
    },
    "pagesUsedTotal": 860
  }
}
```

## Errors

| Code           | Status |
| -------------- | ------ |
| `ORG_DISABLED` | 403    |

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

## Notes

- The company is always the key's own: the route takes no id.
- `status` is `trial`, `active` or `suspended`. A trial that has ended stays `trial`, with `trialDaysLeft` `0`.
- `limits` are your plan's, with any change made for your company. `trialDaysLeft` is whole days to `trialEndsAt`, rounded up, `0` once the trial has ended, and `null` with no trial end.
- `usageToday` is the current UTC day. Its `pages`, and `pagesUsedTotal`, count the pages held for running jobs as well as the pages charged. `aiUsd` is US dollars.
- 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`.
