Download scraped records by snapshot id
brightdata.web.scrape.job.resultsDownload the records produced by a finished scraping job
- Price
- $0.0015/resultAu prix du fournisseur
- Success rate
- 90,6 %Last 30 days · 2 470 calls
- Latency p50
- 386 msp95 1.7 s
- Last verified
- 28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/brightdata.web.scrape.job.results?format=jsonPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
call only once brightdata.web.scrape.job.status reports ready — downloading early returns the job's running state rather than rows. Snapshots are retained for 16 days after collection
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de chemin | ||||
snapshot_id | chaîne | Obligatoire | the snapshot_id returned by brightdata.web.scrape.job.start | s_00000000000000000 |
| Paramètres de requête | ||||
part | entier | Facultatif | which batch to fetch when batch_size is set | |
format | chaîne | Facultatif | json (array) | ndjson | jsonl (one record per line) | csv | json |
compress | booléen | Facultatif | gzip the download | |
batch_size | entier | Facultatif | split the snapshot into batches; minimum 1000 records | |
- Paramètres de chemin
snapshot_idchaîneObligatoirethe snapshot_id returned by brightdata.web.scrape.job.start
Exemple :
s_00000000000000000- Paramètres de requête
partentierFacultatifwhich batch to fetch when batch_size is set
formatchaîneFacultatifjson (array) | ndjson | jsonl (one record per line) | csv
Exemple :
jsoncompressbooléenFacultatifgzip the download
batch_sizeentierFacultatifsplit the snapshot into batches; minimum 1000 records
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/brightdata.web.scrape.job.results?format=json' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/brightdata.web.scrape.job.results?format=json",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/brightdata.web.scrape.job.results?format=json", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0015/result, frais de service inclus.