Download an Apify run's results by dataset id
apify.web.scrape.job.resultsDownload the results of a finished scraper run
- Price
- freePelo preço do provedor
- Success rate
- 99,8%Last 30 days · 1.741 calls
- Latency p50
- 154 msp95 650 ms
- Last verified
- 31 de jul. de 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 | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de caminho | ||||
dataset_id | string | Obrigatório | defaultDatasetId from the run | 9RcGyLmzZm3nBWNsL |
| Parâmetros de consulta | ||||
clean | booleano | Opcional | true drops empty and hidden (#-prefixed) items | true |
limit | inteiro | Opcional | items per page; default is everything, which can be a very large response | 100 |
fields | string | Opcional | comma-separated field allow-list — the fastest way to shrink an unwieldy scrape result | adId,pageName,adText,snapshotUrl |
format | string | Opcional | json (default) | jsonl | csv | xlsx | xml | rss | json |
offset | inteiro | Opcional | 0 | |
- Parâmetros de caminho
dataset_idstringObrigatóriodefaultDatasetId from the run
Exemplo:
9RcGyLmzZm3nBWNsL- Parâmetros de consulta
cleanbooleanoOpcionaltrue drops empty and hidden (#-prefixed) items
Exemplo:
truelimitinteiroOpcionalitems per page; default is everything, which can be a very large response
Exemplo:
100fieldsstringOpcionalcomma-separated field allow-list — the fastest way to shrink an unwieldy scrape result
Exemplo:
adId,pageName,adText,snapshotUrlformatstringOpcionaljson (default) | jsonl | csv | xlsx | xml | rss
Exemplo:
jsonoffsetinteiroOpcionalExemplo:
0
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
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());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 free, incluindo a taxa de serviço.