Download scraped records by snapshot id
brightdata.web.scrape.job.resultsDownload the records produced by a finished scraping job
- Price
- $0.0015/resultAl precio del proveedor
- Success rate
- 90,6 %Last 30 days · 2470 calls
- Latency p50
- 386 msp95 1.7 s
- Last verified
- 28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/brightdata.web.scrape.job.results?format=jsonPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
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
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de ruta | ||||
snapshot_id | cadena | Obligatorio | the snapshot_id returned by brightdata.web.scrape.job.start | s_00000000000000000 |
| Parámetros de consulta | ||||
part | entero | Opcional | which batch to fetch when batch_size is set | |
format | cadena | Opcional | json (array) | ndjson | jsonl (one record per line) | csv | json |
compress | booleano | Opcional | gzip the download | |
batch_size | entero | Opcional | split the snapshot into batches; minimum 1000 records | |
- Parámetros de ruta
snapshot_idcadenaObligatoriothe snapshot_id returned by brightdata.web.scrape.job.start
Ejemplo:
s_00000000000000000- Parámetros de consulta
partenteroOpcionalwhich batch to fetch when batch_size is set
formatcadenaOpcionaljson (array) | ndjson | jsonl (one record per line) | csv
Ejemplo:
jsoncompressbooleanoOpcionalgzip the download
batch_sizeenteroOpcionalsplit the snapshot into batches; minimum 1000 records
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.0015/result, incluida la tarifa de servicio.