Manage a crawl job
diffbot.x.crawl-manageOne endpoint for status, pause/resume, restart and delete of one or more crawl jobs
- Price
- Prix à venirAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentLast 30 days · 0 calls
- Latency p50
- ——
- Last verified
- 31 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.crawl-managePreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
different HOST than base_url — api.diffbot.com. Omitting every param lists the account's jobs and mutates nothing, which is what makes this one safely callable; each of pause/restart/delete/roundStart is a WRITE on a real job
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
name | chaîne | Facultatif | specific job name; omit to list all jobs | |
pause | entier | Facultatif | 1 to pause, 0 to resume | |
delete | entier | Facultatif | 1 to permanently remove the job | |
restart | entier | Facultatif | 1 to restart — erases prior data | |
roundStart | entier | Facultatif | 1 to manually trigger a new crawl cycle | |
- Paramètres de requête
namechaîneFacultatifspecific job name; omit to list all jobs
pauseentierFacultatif1 to pause, 0 to resume
deleteentierFacultatif1 to permanently remove the job
restartentierFacultatif1 to restart — erases prior data
roundStartentierFacultatif1 to manually trigger a new crawl cycle
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.crawl-manage' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/diffbot.x.crawl-manage",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/diffbot.x.crawl-manage", {
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.