# GET /api/plans

> The plans DarkCrawl offers, with the limits of each.

GET `/api/plans`

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

## Request

**curl**

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

**Python**

```python
import os
import requests

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

**Node**

```javascript
const resp = await fetch("https://api.darkcrawl.dev/api/plans", {
  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": "trial",
      "name": "Trial",
      "price": "free",
      "trial": true,
      "trialDays": 14,
      "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
      }
    }
  ]
}
```

## 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

- Every plan, in the plan file's order. `trialDays` is `null` on a plan that is not a trial, and `pagesTotal` is `null` on a plan with no total.
- These are each plan's own limits. Your company's, with any change made for it, are in `GET /api/org`. What each limit means is on [Rate limits](https://darkcrawl.dev/docs/api-reference/rate-limits/).
- 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`.
