List batches
curl --request GET \
--url https://api.spidra.io/api/batch/scrape \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spidra.io/api/batch/scrape"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spidra.io/api/batch/scrape', 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.spidra.io/api/batch/scrape",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.spidra.io/api/batch/scrape"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.spidra.io/api/batch/scrape")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spidra.io/api/batch/scrape")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"jobs": [
{
"uuid": "38ae74ab-3a7f-421f-9d02-50c6b48d8c49",
"status": "running",
"totalUrls": 3,
"completedCount": 2,
"failedCount": 0,
"outputFormat": "json",
"scrapingChannel": "api",
"createdAt": "2026-10-25T03:09:37.000Z",
"finishedAt": null,
"firstUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"creditsUsed": 4
},
{
"uuid": "7ebc7287-e3ea-4376-a2ea-4d4d4579902b",
"status": "completed",
"totalUrls": 1,
"completedCount": 1,
"failedCount": 0,
"outputFormat": "json",
"scrapingChannel": "api",
"createdAt": "2026-10-24T19:27:00.000Z",
"finishedAt": "2026-10-24T19:27:03.000Z",
"firstUrl": "https://www.producthunt.com/leaderboard/weekly/2026/42",
"creditsUsed": 1
}
],
"pagination": {
"page": 1,
"limit": 2,
"total": 258,
"totalPages": 129
}
}Batch scrape
List batches
Lists your batches, newest first, with their progress and the credits they’ve used. Items aren’t included, so get them with Get a batch.
This endpoint has no rate limit.
GET
/
batch
/
scrape
List batches
curl --request GET \
--url https://api.spidra.io/api/batch/scrape \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spidra.io/api/batch/scrape"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spidra.io/api/batch/scrape', 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.spidra.io/api/batch/scrape",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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.spidra.io/api/batch/scrape"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
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.spidra.io/api/batch/scrape")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spidra.io/api/batch/scrape")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"jobs": [
{
"uuid": "38ae74ab-3a7f-421f-9d02-50c6b48d8c49",
"status": "running",
"totalUrls": 3,
"completedCount": 2,
"failedCount": 0,
"outputFormat": "json",
"scrapingChannel": "api",
"createdAt": "2026-10-25T03:09:37.000Z",
"finishedAt": null,
"firstUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"creditsUsed": 4
},
{
"uuid": "7ebc7287-e3ea-4376-a2ea-4d4d4579902b",
"status": "completed",
"totalUrls": 1,
"completedCount": 1,
"failedCount": 0,
"outputFormat": "json",
"scrapingChannel": "api",
"createdAt": "2026-10-24T19:27:00.000Z",
"finishedAt": "2026-10-24T19:27:03.000Z",
"firstUrl": "https://www.producthunt.com/leaderboard/weekly/2026/42",
"creditsUsed": 1
}
],
"pagination": {
"page": 1,
"limit": 2,
"total": 258,
"totalPages": 129
}
}Authorizations
BearerAuthApiKeyAuth
Query Parameters
Was this page helpful?

