Watch a page: describe the change to report
crawl4ai.watch.createSay in plain words what you care about, for example "tell me when a plan gets more expensive", "a new job in Berlin" or "back in stock". The monitor turns your sentence into conditions, ignores every change that does not match (layout, dates, banners), and reports only matching changes as facts: what changed, from what, to what, with both versions of the page. Numbers work too: "the Business plan costs more than $250". On treg's key it runs from your team's watch budget (crawl4ai.watch.budget.add).
- Price
- freeAu prix du fournisseur
- Success rate
- 80,8 %Last 30 days · 29 calls
- Latency p50
- 455 msp95 10 s
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/crawl4ai.watch.createPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
A change reaches your feed (crawl4ai.watch.changes) about a minute after a check finds it, and is confirmed 30 minutes later if the page did not go back. Same url, watch and agent again returns the existing monitor.
Cet outil n’a pas de paramètres. Voir la doc du fournisseur ↗ Provider docs
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.watch.create' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.watch.create",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.watch.create", {
method: "POST",
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.