Check an Apify actor run by run id
apify.web.scrape.job.statusCheck whether a background scraper run has finished
- Price
- freeプロバイダー原価
- Success rate
- 99.6%Last 30 days · 279 calls
- Latency p50
- 236 msp95 60 s
- Last verified
- 2026/07/31Verified working
GEThttps://toolswitch.dev/v1/tools/apify.web.scrape.job.statusPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
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
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| パスパラメータ | ||||
run_id | 文字列 | 必須 | the id from the run-start response | HG7ML7M8z78YcAPEB |
| クエリパラメータ | ||||
waitForFinish | 整数 | 任意 | seconds to block waiting for a terminal status, max 60 — cheaper than a poll loop | 30 |
- パスパラメータ
run_id文字列必須the id from the run-start response
例:
HG7ML7M8z78YcAPEB- クエリパラメータ
waitForFinish整数任意seconds to block waiting for a terminal status, max 60 — cheaper than a poll loop
例:
30
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。