Download an Apify run's results by dataset id
apify.web.scrape.job.resultsDownload the results of a finished scraper run
- Price
- freeAl precio del proveedor
- Success rate
- 99,8 %Last 30 days · 1741 calls
- Latency p50
- 154 msp95 650 ms
- Last verified
- 31 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/apify.web.scrape.job.results?clean=true&limit=5Preview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
results are already paid for at run time — re-reading a dataset is free and repeatable, so store the dataset id rather than re-running the actor. The response is the items ARRAY at the top level, not an envelope. CHAINED ID: the dataset_id in test_request is the defaultDatasetId of that same 2026-07-31 hello-world run and expires with it — harvest a fresh one from a run before re-verifying
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de ruta | ||||
dataset_id | cadena | Obligatorio | defaultDatasetId from the run | 9RcGyLmzZm3nBWNsL |
| Parámetros de consulta | ||||
clean | booleano | Opcional | true drops empty and hidden (#-prefixed) items | true |
limit | entero | Opcional | items per page; default is everything, which can be a very large response | 100 |
fields | cadena | Opcional | comma-separated field allow-list — the fastest way to shrink an unwieldy scrape result | adId,pageName,adText,snapshotUrl |
format | cadena | Opcional | json (default) | jsonl | csv | xlsx | xml | rss | json |
offset | entero | Opcional | 0 | |
- Parámetros de ruta
dataset_idcadenaObligatoriodefaultDatasetId from the run
Ejemplo:
9RcGyLmzZm3nBWNsL- Parámetros de consulta
cleanbooleanoOpcionaltrue drops empty and hidden (#-prefixed) items
Ejemplo:
truelimitenteroOpcionalitems per page; default is everything, which can be a very large response
Ejemplo:
100fieldscadenaOpcionalcomma-separated field allow-list — the fastest way to shrink an unwieldy scrape result
Ejemplo:
adId,pageName,adText,snapshotUrlformatcadenaOpcionaljson (default) | jsonl | csv | xlsx | xml | rss
Ejemplo:
jsonoffsetenteroOpcionalEjemplo:
0
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
curl -X GET 'https://toolswitch.dev/v1/tools/apify.web.scrape.job.results?clean=true&limit=5' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/apify.web.scrape.job.results?clean=true&limit=5",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/apify.web.scrape.job.results?clean=true&limit=5", {
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 free, incluida la tarifa de servicio.