Download scraped records by snapshot id
brightdata.web.scrape.job.resultsDownload the records produced by a finished scraping job
- 价格
- $0.0015/result按供应商原价
- 成功率
- 90.6%近 30 天 · 2,470 次
- 延迟 p50
- 386 毫秒p95 1.7 秒
- 最后验证
- 2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/brightdata.web.scrape.job.results?format=json预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
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
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 路径参数 | ||||
snapshot_id | 字符串 | 必填 | the snapshot_id returned by brightdata.web.scrape.job.start | s_00000000000000000 |
| 查询参数 | ||||
part | 整数 | 可选 | which batch to fetch when batch_size is set | |
format | 字符串 | 可选 | json (array) | ndjson | jsonl (one record per line) | csv | json |
compress | 布尔 | 可选 | gzip the download | |
batch_size | 整数 | 可选 | split the snapshot into batches; minimum 1000 records | |
- 路径参数
snapshot_id字符串必填the snapshot_id returned by brightdata.web.scrape.job.start
示例:
s_00000000000000000- 查询参数
part整数可选which batch to fetch when batch_size is set
format字符串可选json (array) | ndjson | jsonl (one record per line) | csv
示例:
jsoncompress布尔可选gzip the download
batch_size整数可选split the snapshot into batches; minimum 1000 records
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.0015/result 计费,已含服务费。