Batch Items
curl --request GET \
--url https://api.example.com/batch/scrape/{id}/itemsimport requests
url = "https://api.example.com/batch/scrape/{id}/items"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/batch/scrape/{id}/items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/batch/scrape/{id}/items",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/batch/scrape/{id}/items"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/batch/scrape/{id}/items")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/batch/scrape/{id}/items")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyBatch Scraping
Batch Items
Per-URL outcome for a batch scrape job, with the reason each failure failed
GET
/
batch
/
scrape
/
{id}
/
items
Batch Items
curl --request GET \
--url https://api.example.com/batch/scrape/{id}/itemsimport requests
url = "https://api.example.com/batch/scrape/{id}/items"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/batch/scrape/{id}/items', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/batch/scrape/{id}/items",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/batch/scrape/{id}/items"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/batch/scrape/{id}/items")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/batch/scrape/{id}/items")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyOverview
The per-URL outcome. Page bodies are not included here — use the download endpoint for those.Parameters
Example Request
cURL
curl "https://api.scrapengine.io/api/v1/batch/scrape/JOB_ID/items?status=failed" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
{
"total": 2,
"limit": 100,
"offset": 0,
"items": [
{
"itemId": "https://example.com",
"url": "https://example.com",
"status": "scraped",
"httpStatus": 200,
"error": null,
"errorCode": null,
"startedAt": "2026-11-15T00:16:39.604Z",
"completedAt": "2026-11-15T00:16:49.466Z"
},
{
"itemId": "https://shopee.sg/",
"url": "https://shopee.sg/",
"status": "failed",
"httpStatus": 422,
"error": "shopee is an antibot vendor this API does not support, so no request was sent to the site.",
"errorCode": "ANTIBOT_NOT_SUPPORTED",
"startedAt": "2026-11-15T00:16:39.598Z",
"completedAt": "2026-11-15T00:16:40.187Z"
}
]
}
errorCode is the same taxonomy the synchronous /scrape endpoint returns, so a batch failure can
be branched on the same way: WEBSITE_BLOCKED, RATE_LIMITED, ANTIBOT_NOT_SUPPORTED,
UPSTREAM_STATUS, NOT_FOUND, TIMEOUT and the rest.Was this page helpful?