# Batch — several PDFs in one run

**Use case:** 

Process multiple public PDF URLs into structured Markdown. Each document includes individual statuses and a combined manifest for easy integration.

## Input

```json
{
  "pdfUrls": [
    "https://arxiv.org/pdf/1706.03762",
    "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
  ],
  "maxPages": 5,
  "ocr": "auto",
  "maxOcrPages": 100,
  "ocrMaxWaitSecs": 300
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "text"
  },
  "url": {
    "label": "PDF",
    "format": "link"
  },
  "pageNumber": {
    "label": "Page",
    "format": "number"
  },
  "mode": {
    "label": "Mode",
    "format": "text"
  },
  "confidence": {
    "label": "Confidence",
    "format": "number"
  },
  "markdown": {
    "label": "Markdown",
    "format": "text"
  },
  "pageCount": {
    "label": "Pages",
    "format": "number"
  },
  "pagesDelivered": {
    "label": "Delivered",
    "format": "number"
  },
  "partialFailures": {
    "label": "Partial failures",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [PDF to Markdown + OCR — Structured Document Extraction](https://apify.com/kaz_kakyo/pdf-structured-ocr) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kaz_kakyo/pdf-structured-ocr) to learn more, explore other use cases, and run it yourself.