POST
/
batch
/
scrape
curl --request POST \
  --url https://api.blat.ai/batch/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "allow_external_links": false,
  "allow_subdomain_links": false,
  "extract_links": false,
  "format": "html",
  "urls": [
    "https://example.com"
  ],
  "webhook": {
    "events": [
      "data"
    ],
    "headers": {},
    "metadata": {},
    "url": "https://example.com/scrape_hook"
  }
}'
{
  "batch_id": "batch_id"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Batch scraping request parameters

The body is of type object.

Response

200
application/json

OK

The response is of type object.