Crawl
GET /v2/crawl/{job_id}
Copy page
Read a crawl: its status, and the pages it has read so far.
GET /
Authentication: your key as a bearer token.
Path parameters
| Field | Type | Required | Default |
|---|---|---|---|
job_id | string | Required |
Query parameters
| Field | Type | Required | Default |
|---|---|---|---|
skip | integer | Optional | 0 |
limit | integer | Optional |
Request
curl https://api.darkcrawl.dev/v2/crawl/JOB_ID \
-H "Authorization: Bearer $DARKCRAWL_API_KEY"import os
import requests
resp = requests.get(
"https://api.darkcrawl.dev/v2/crawl/JOB_ID",
headers={"Authorization": "Bearer " + os.environ["DARKCRAWL_API_KEY"]},
timeout=330,
)
print(resp.json())const resp = await fetch("https://api.darkcrawl.dev/v2/crawl/JOB_ID", {
headers: {
Authorization: "Bearer " + process.env.DARKCRAWL_API_KEY,
},
signal: AbortSignal.timeout(330000),
});
console.log(await resp.json());Response
Status 200.
{
"success": true,
"status": "completed",
"completed": 2,
"total": 2,
"creditsUsed": 0,
"expiresAt": "2026-12-26T10:00:00+00:00",
"loginWalls": 0,
"data": [
{
"markdown": "# Notice\n\nSample page text.\n\nContact: sales@example.invalid\n",
"links": [
"http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/about",
"http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/contact"
],
"metadata": {
"title": "Notice",
"description": "",
"language": "en",
"sourceURL": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/notice",
"url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/notice",
"statusCode": 200,
"contentType": "text/html",
"scrapeId": "01K0EXAMPLECAPTURE0000000A",
"onion": {
"host": "exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion",
"valid": true,
"version": 3
},
"evidence": {
"captureId": "01K0EXAMPLECAPTURE0000000A",
"fetchedAt": "2026-11-26T10:00:00+00:00",
"sha256Raw": "9f2c000000000000000000000000000000000000000000000000000000000000"
}
},
"indicators": [
{
"type": "email",
"value": "sales@example.invalid",
"count": 1
}
],
"resources": [
{
"category": "image",
"element": "img",
"url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/logo.png",
"label": "Logo",
"title": "",
"filename": "logo.png",
"type": "image/png",
"size": null,
"download": {
"status": "metadata_only"
}
}
]
},
{
"markdown": "# About\n\nSample second page.\n",
"links": [
"http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/"
],
"metadata": {
"title": "About",
"description": "",
"language": "en",
"sourceURL": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/about",
"url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/about",
"statusCode": 200,
"contentType": "text/html",
"scrapeId": "01K0EXAMPLECAPTURE0000000B",
"onion": {
"host": "exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion",
"valid": true,
"version": 3
},
"evidence": {
"captureId": "01K0EXAMPLECAPTURE0000000A",
"fetchedAt": "2026-11-26T10:00:00+00:00",
"sha256Raw": "9f2c000000000000000000000000000000000000000000000000000000000000"
}
},
"indicators": [
{
"type": "email",
"value": "sales@example.invalid",
"count": 1
}
],
"resources": [
{
"category": "image",
"element": "img",
"url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/logo.png",
"label": "Logo",
"title": "",
"filename": "logo.png",
"type": "image/png",
"size": null,
"download": {
"status": "metadata_only"
}
}
]
}
]
}Errors
| Code | Status |
|---|---|
BLOCKLIST_UNAVAILABLE | 503 |
RATE_LIMITED | 429 |
What each code means, and what to do about it: Errors.
Notes
statusisscraping,completed,failedorcancelled.dataholds up to 100 documents or about 10 MiB; when more are left,nextis the address of the following part.?skip=&limit=pages by hand.- The reply also echoes the options the job resolved, such as
render,waitFor,parsers,maxTextBytes,redactPIIandcheckPromptInjection.warningis there when there is something to say. The reply here is trimmed. - Reading the status of your own job does not count as a request. It has its own per-minute limit, set out under Rate limits.
- An unknown id, an expired job and another company's job all answer
404with{"success": false, "error": "Job not found"}. That body has nocode.