Download scraped records by snapshot id
brightdata.web.scrape.job.resultsDownload the records produced by a finished scraping job
- Price
- $0.0015/resultPelo preço do provedor
- Success rate
- 90,6%Last 30 days · 2.470 calls
- Latency p50
- 386 msp95 1.7 s
- Last verified
- 28 de jul. de 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 | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de caminho | ||||
snapshot_id | string | Obrigatório | the snapshot_id returned by brightdata.web.scrape.job.start | s_00000000000000000 |
| Parâmetros de consulta | ||||
part | inteiro | Opcional | which batch to fetch when batch_size is set | |
format | string | Opcional | json (array) | ndjson | jsonl (one record per line) | csv | json |
compress | booleano | Opcional | gzip the download | |
batch_size | inteiro | Opcional | split the snapshot into batches; minimum 1000 records | |
- Parâmetros de caminho
snapshot_idstringObrigatóriothe snapshot_id returned by brightdata.web.scrape.job.start
Exemplo:
s_00000000000000000- Parâmetros de consulta
partinteiroOpcionalwhich batch to fetch when batch_size is set
formatstringOpcionaljson (array) | ndjson | jsonl (one record per line) | csv
Exemplo:
jsoncompressbooleanoOpcionalgzip the download
batch_sizeinteiroOpcionalsplit the snapshot into batches; minimum 1000 records
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0015/result, incluindo a taxa de serviço.