Check an Apify actor run by run id
apify.web.scrape.job.statusCheck whether a background scraper run has finished
- Price
- freeAl precio del proveedor
- Success rate
- 99,6 %Last 30 days · 279 calls
- Latency p50
- 236 msp95 60 s
- Last verified
- 31 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/apify.web.scrape.job.statusPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
status is READY | RUNNING | SUCCEEDED | FAILED | TIMED-OUT | ABORTED. The response also carries usageTotalUsd — what the run has cost so far — and defaultDatasetId for collecting results. GET /actor-runs (no id) lists recent runs with the same fields, which is how you price a run-sync call after the fact: run-sync-get-dataset-items returns the items only, never the run id. CHAINED ID: the run_id in test_request is a real hello-world run from 2026-07-31 and unnamed runs expire with the plan's data-retention window — re-verify by starting a fresh run and harvesting its id, not by trusting a 404 here
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de ruta | ||||
run_id | cadena | Obligatorio | the id from the run-start response | HG7ML7M8z78YcAPEB |
| Parámetros de consulta | ||||
waitForFinish | entero | Opcional | seconds to block waiting for a terminal status, max 60 — cheaper than a poll loop | 30 |
- Parámetros de ruta
run_idcadenaObligatoriothe id from the run-start response
Ejemplo:
HG7ML7M8z78YcAPEB- Parámetros de consulta
waitForFinishenteroOpcionalseconds to block waiting for a terminal status, max 60 — cheaper than a poll loop
Ejemplo:
30
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.status' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/apify.web.scrape.job.status",
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.status", {
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.