GET
/
batch
/
scrape
/
{batch_id}
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

200
application/json

Batch status and results

The response is of type object.