Parsew
API Reference

Batch scrape multiple URLs

Submit up to 100 URLs for scraping in a single request. Returns a batch ID for polling progress. Costs 1 credit per URL, charged upfront.

POST
/batch/scrape

Submit up to 100 URLs for scraping in a single request. Returns a batch ID for polling progress. Costs 1 credit per URL, charged upfront.

Authorization

bearerAuth
AuthorizationBearer <token>

Secret API key (sr_ prefix). Pass as Authorization: Bearer sr_...

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://api.parsew.com/v1/batch/scrape" \  -H "Content-Type: application/json" \  -d '{    "urls": [      "https://example.com"    ]  }'
{
  "id": "batch_clx9abc123",
  "url": "https://api.parsew.com/v1/batch/scrape/batch_clx9abc123",
  "total": 3,
  "creditsUsed": 3
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}