Your company
GET /api/org
Copy page
Your company: its plan, its limits and what it has used today.
GET /
Authentication: your key as a bearer token.
Request
curl https://api.darkcrawl.dev/api/org \
-H "Authorization: Bearer $DARKCRAWL_API_KEY"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())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.
{
"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.
Notes
- The company is always the key's own: the route takes no id.
statusistrial,activeorsuspended. A trial that has ended staystrial, withtrialDaysLeft0.limitsare your plan's, with any change made for your company.trialDaysLeftis whole days totrialEndsAt, rounded up,0once the trial has ended, andnullwith no trial end.usageTodayis the current UTC day. Itspages, andpagesUsedTotal, count the pages held for running jobs as well as the pages charged.aiUsdis 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.