Skip to main content
GET
/
api
/
scrape
/
batch
/
{id}
JavaScript
import { Hyperbrowser } from '@hyperbrowser/sdk';

const client = new Hyperbrowser({ apiKey: 'your-api-key' });

await client.scrape.batch.get('job-id', {
  page: 1
});
{
  "jobId": "<string>",
  "status": "pending",
  "data": [
    {
      "url": "<string>",
      "status": "pending",
      "error": "<string>",
      "metadata": {},
      "markdown": "<string>",
      "html": "<string>",
      "links": [
        "<string>"
      ],
      "screenshot": "<string>"
    }
  ],
  "error": "<string>",
  "totalScrapedPages": 123,
  "totalPageBatches": 123,
  "currentPageBatch": 123,
  "batchSize": 123
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Response

Batch scrape job details

jobId
string
status
enum<string>
Available options:
pending,
running,
completed,
failed,
stopped
data
object[]
error
string
totalScrapedPages
number
totalPageBatches
number
currentPageBatch
number
batchSize
number