> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch Items

> Per-URL outcome for a batch scrape job, with the reason each failure failed

## Overview

The per-URL outcome. Page bodies are not included here — use the download endpoint for those.

## Parameters

**id** `string` *required*

The job id returned by `POST /batch/scrape`.

**status** `string`

Filter to `scraped` or `failed`.

**limit** `integer` (default: 100)

Rows per page.

**offset** `integer` (default: 0)

Row offset.

## Example Request

```bash cURL theme={null}
curl "https://api.scrapengine.io/api/v1/batch/scrape/JOB_ID/items?status=failed" \
  -H "Authorization: Bearer YOUR_API_KEY"
```

## Response

```json theme={null}
{
  "total": 2,
  "limit": 100,
  "offset": 0,
  "items": [
    {
      "itemId": "https://example.com",
      "url": "https://example.com",
      "status": "scraped",
      "httpStatus": 200,
      "error": null,
      "errorCode": null,
      "startedAt": "2026-11-15T00:16:39.604Z",
      "completedAt": "2026-11-15T00:16:49.466Z"
    },
    {
      "itemId": "https://shopee.sg/",
      "url": "https://shopee.sg/",
      "status": "failed",
      "httpStatus": 422,
      "error": "shopee is an antibot vendor this API does not support, so no request was sent to the site.",
      "errorCode": "ANTIBOT_NOT_SUPPORTED",
      "startedAt": "2026-11-15T00:16:39.598Z",
      "completedAt": "2026-11-15T00:16:40.187Z"
    }
  ]
}
```

`errorCode` is the same taxonomy the synchronous `/scrape` endpoint returns, so a batch failure can
be branched on the same way: `WEBSITE_BLOCKED`, `RATE_LIMITED`, `ANTIBOT_NOT_SUPPORTED`,
`UPSTREAM_STATUS`, `NOT_FOUND`, `TIMEOUT` and the rest.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.