Skip to content

Your company

GET /api/org

Copy page

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

GET /api/org

Authentication: your key as a bearer token.

Request

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

Response

Status 200.

Response
{
  "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

CodeStatus
ORG_DISABLED403

What each code means, and what to do about it: 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.