Your company
GET /api/plans
Copy page
The plans DarkCrawl offers, with the limits of each.
GET /
Authentication: your key as a bearer token.
Request
curl https://api.darkcrawl.dev/api/plans \
-H "Authorization: Bearer $DARKCRAWL_API_KEY"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())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.
{
"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.
Notes
- Every plan, in the plan file's order.
trialDaysisnullon a plan that is not a trial, andpagesTotalisnullon 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. - 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.