Get a crawl
A batch job and its tasks, or one task, with content and receipts.
GET
/v1/crawls/{id}On this page
Price
Pricerequest
Free. Pages were billed when they were fetched.
Description
{id} is a batch job_… id or a task cr_… id. A single task that robots.txt blocked responds 451; a batch always responds 200 and reports each task's state. Free.
Request
- Endpoint
- GET https://api.dataforgaio.com/v1/crawls/{id}
- Authentication
- HTTP Basic auth: any login, with your
dg_API key as the password. ABearerheader with the key also works. Create a key. - Body
- No request body
Fields
- A
job_…orcr_…id.Examplejob_4c1d8e2f9a7b4e3c8d5f6a7b8c9d0e1f - Include receipts. Defaults to the batch's setting.Example
true
Response
Shape: Native. Expand a field to see its children; every field has a link anchor.
- statusstringAlways
okfor a 2xx response.Exampleok - job_idstring
job_…for a batch,cr_…for a single task.Examplejob_8cbb5b5c8e155c82995945f93cdad009 - job_statusstring
completedonce every task finished, elsequeuedorprocessing.One ofqueuedprocessingcompletedExamplecompleted - costnumberSum of the task costs, USD.Example
0.00011 - tasks_countintegerNumber of tasks.Example
2 - tasks_errorintegerTasks that failed or were blocked.Example
1 - tasksarray<object>The tasks.
Show 39 child fieldsHide child fields
- idstringTask id,
cr_…. Use it with GET /v1/crawls/{id}.Examplecr_744695e7dd8a5016bb2b2d314ea9ef81 - statusstringTask state.One of
completedfailedblockedqueuedprocessingExamplecompleted - status_codeintegerHTTP-style code for this task: 200 completed, 451 blocked by robots.txt, 422 invalid target or over
max_cost, 502 upstream error, 503 level unavailable, 202 queued or processing.Example200 - status_messagestringPlain-language status. For a completed but non-substantive page, says why.Example
Ok. - costnumberWhat this task was charged, USD.Example
0.00011 - fetch_levelstring|nullThe level that delivered the page. Null until a page was delivered.One of
standardrenderedprotectedExamplestandard - upgradedbooleanTrue when Auto-upgrade moved past the requested level.Example
false - upgrade_reasonstringWhy it upgraded, for example
403 at standard. Empty when it didn't. - contentobjectThe page. Present when
statusiscompleted.Show 4 child fieldsHide child fields
- titlestringPage title.Example
Trail running shoes - markdownstringPage as Markdown, for
output_format: markdown.Example# Trail running shoes Every trail shoe we stock comes with free gait analysis and 60-day returns. - htmlstringPage HTML, for
output_format: html. - jsonobjectTitle, text and metadata, for
output_format: json.
- errorobjectPresent when
statusisfailedorblocked.Show 2 child fieldsHide child fields
- http_statusintegerSame as
status_code.Example451 - codestringError code, for example
blocked_by_policyorupstream_error.Exampleblocked_by_policy
- receiptobjectProvenance and cost. Present unless
include_receiptis false.Show 22 child fieldsHide child fields
- receipt_idstringReceipt id,
rc_….Examplerc_744695e7dd8a5016bb2b2d314ea9ef81 - source_urlstringThe URL that was requested.Example
https://summitrunning.example/trail-shoes - fetched_atstring|nullWhen the page was fetched, ISO 8601 UTC. Null when it wasn't fetched.Example
2026-12-03T10:42:18Z - http_statusinteger|nullHTTP status the site returned.Example
200 - content_sha256string|nullSHA-256 of the content we returned, so you can prove what you saw.Example
9f2c4a1b7e0d3c58a6b1f4e2d7c9a0b3e5f8d1c4a7b0e3f6d9c2a5b8e1f4d7c0 - content_checkstring|nullWhether the page is real content:
substantive, or why not.One ofsubstantiveblockedlogin_wallerror_pageempty_shellExamplesubstantive - content_check_reasonsarray<string>Signals behind a non-substantive verdict.Example
[] - robots_txtstring|nullWhat the site's robots.txt says about this path for our crawler.One of
alloweddisallowednot_foundunreachableExampleallowed - ai_use_signalstring|nullThe site's declared stance on AI use, from robots.txt, meta tags, headers and its terms, for example
none_declaredoropt_out.Examplenone_declared - ai_use_detailsobjectWhere each AI-use signal was found.Example
{} - enginestringThe level you asked to start at.One of
standardrenderedExamplestandard - fetch_levelstring|nullThe level that delivered the page. Null until a page was delivered.One of
standardrenderedprotectedExamplestandard - upgradedbooleanTrue when Auto-upgrade moved past the requested level.Example
false - upgrade_reasonstringWhy it upgraded, for example
403 at standard. Empty when it didn't. - fetch_methodstringSame as
fetch_level, orenginewhen nothing was delivered.Examplestandard - unit_cost_usdnumber|nullWhat this page was charged, in USD. Null until the task has run.Example
0.00011 - billed_usdnumber|nullSame as
unit_cost_usd.Example0.00011 - billed_pagesinteger|null1 when the page was billed, 0 when it cost nothing.Example
1 - cost_breakdownobject|nullThe charge split into the base page price and what an upgrade added.
- currencystringAlways
USD.ExampleUSD
Errors
| Code | When |
|---|---|
| unauthorized | HTTP 401. Missing, malformed or revoked API key. |
| not_found | HTTP 404. No job, task or tracker with that id in your organization. |
| rate_limited | HTTP 429. Too many requests, or too many inline requests in flight for your organization. Honor Retry-After. |
Tasks that end in an error are not billed. All status codes
Related endpoints
- POSTCrawl a pageFetch one page now and get its content with a receipt: where and when it was fetched, what robots.txt and the site's AI-use signals said, a content hash and the cost.
- POSTCrawl a batchQueue up to 100 URLs in one request; poll the job or get it at your webhook.
- GETGet crawl receiptsJust the receipts for a job or task, one per page.