---
title: "Batch Extract Multiple Pages"
method: POST
path: "/extract/batch"
tags: ["Batch", "Extract"]
---

# Batch Extract Multiple Pages

`POST /extract/batch`

Extract structured data from multiple URLs simultaneously using AI.

**Use Cases:**
- Scrape product catalogs from multiple pages
- Extract data from search result pages
- Batch process listings or directory pages
- Collect competitive intelligence at scale

**How It Works:**
1. Submit up to 50 URLs with a single schema
2. Get immediate job ID response
3. All URLs are extracted using the same schema
4. Poll for status or receive webhook notification
5. Retrieve all structured results at once

**Features:**
- Same schema applied to all URLs
- Parallel processing for speed
- Individual error handling per URL
- Webhook notifications available

## Request body

- object
  - `urls` string[], required — List of URLs to extract data from, maximum 50
  - `schema` object, required — Data structure definition in JSON Schema format
  - `timeout` number — Timeout per request in milliseconds, default 30000
  - `webhook` object — Webhook callback configuration, notifies when task completes
    - `url` string — Webhook callback URL, must be HTTPS
    - `headers` object

## Response `200`

Success response

- object
  - `success` boolean
  - `data` object
    - `id` string
    - `status` 'processing' | 'completed' | 'failed'
    - `total` integer
    - `completed` integer

---

[API](https://skmtc.dev/thunderbit/apis/thunderbit-open-api.md) · [All operations](https://skmtc.dev/thunderbit/apis/thunderbit-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/thunderbit/thunderbit-open-api/revisions/45aa863b3172/schema)
