GET
/
batch
/
scrape
/
{batch_id}
Get Batch Scrape Status
curl --request GET \
  --url https://api.blat.ai/batch/scrape/{batch_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "processed": 6,
  "total": 1,
  "expires_at": "expires_at",
  "data": [
    {
      "extracted_links": [
        "extracted_links",
        "extracted_links"
      ],
      "metadata": {
        "status_code": 0,
        "final_url": "final_url",
        "batch_id": "batch_id",
        "job_id": "job_id",
        "url": "url"
      },
      "success": true,
      "error_code": "error_code",
      "error": "error",
      "content": "content"
    },
    {
      "extracted_links": [
        "extracted_links",
        "extracted_links"
      ],
      "metadata": {
        "status_code": 0,
        "final_url": "final_url",
        "batch_id": "batch_id",
        "job_id": "job_id",
        "url": "url"
      },
      "success": true,
      "error_code": "error_code",
      "error": "error",
      "content": "content"
    }
  ],
  "status": "status"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

batch_id
string
required

Batch ID

Query Parameters

from
integer

Starting index for job results (default: 0)

Body

application/json · object

Response

Batch status and results

data
object[]

The data of the batch scrape

expires_at
string

The expiration time of the batch scrape

processed
integer

The number of successful scrapes

status
string

The status of the batch scrape

total
integer

The total number of URLs in the batch