Download an Apify run's results by dataset id
apify.web.scrape.job.resultsDownload the results of a finished scraper run
- Price
- freeAu prix du fournisseur
- Success rate
- 99,8 %Last 30 days · 1 741 calls
- Latency p50
- 154 msp95 650 ms
- Last verified
- 31 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/apify.web.scrape.job.results?clean=true&limit=5Preview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
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
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de chemin | ||||
dataset_id | chaîne | Obligatoire | defaultDatasetId from the run | 9RcGyLmzZm3nBWNsL |
| Paramètres de requête | ||||
clean | booléen | Facultatif | true drops empty and hidden (#-prefixed) items | true |
limit | entier | Facultatif | items per page; default is everything, which can be a very large response | 100 |
fields | chaîne | Facultatif | comma-separated field allow-list — the fastest way to shrink an unwieldy scrape result | adId,pageName,adText,snapshotUrl |
format | chaîne | Facultatif | json (default) | jsonl | csv | xlsx | xml | rss | json |
offset | entier | Facultatif | 0 | |
- Paramètres de chemin
dataset_idchaîneObligatoiredefaultDatasetId from the run
Exemple :
9RcGyLmzZm3nBWNsL- Paramètres de requête
cleanbooléenFacultatiftrue drops empty and hidden (#-prefixed) items
Exemple :
truelimitentierFacultatifitems per page; default is everything, which can be a very large response
Exemple :
100fieldschaîneFacultatifcomma-separated field allow-list — the fastest way to shrink an unwieldy scrape result
Exemple :
adId,pageName,adText,snapshotUrlformatchaîneFacultatifjson (default) | jsonl | csv | xlsx | xml | rss
Exemple :
jsonoffsetentierFacultatifExemple :
0
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la 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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.