Watch
v1.1.0Watch a web page, CSS selector, JSON value or price for weeks; poll changes or get signed webhooks.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ping
Check the key works and show its plan limits. Read-only; creates nothing.
create-watch
Start watching a URL; checks it on a schedule and records changes. Does one check now to set the baseline; does not notify for the baseline. Give at most one of keyword or condition+threshold, and one of selector or json_path.
| Parameter | Type | Description |
|---|---|---|
url * | string | public http(s) page or JSON endpoint |
condition | string | with threshold: alert when the first number found crosses it |
email | string | address to email on each change |
idempotency_key | string | same key replays the first result instead of creating a second watch |
interval_min | integer | minutes between checks, default 60 on free |
json_path | string | path into a JSON response, e.g. data.items[0].price |
keyword | string | alert when this text appears or disappears (case-insensitive) |
name | string | label shown in change summaries |
regex | string | narrow the extracted text; first capture group (or whole match) is compared |
selector | string | CSS selector to watch just part of an HTML page |
threshold | number | |
webhook_url | string | https URL to receive signed change events |
list-watches
List your watches, newest first, 10 per page. Read-only.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page |
limit | integer | 1-50, default 10 |
get-watch
Show one watch with its last value, status and webhook secret. Read-only.
| Parameter | Type | Description |
|---|---|---|
id * | string | watch id, starts with w_ |
delete-watch
Stop and remove a watch. Its recorded changes stay readable. Cannot be undone.
| Parameter | Type | Description |
|---|---|---|
id * | string | watch id |
idempotency_key | string | safe-retry key |
list-changes
List recorded changes. With no cursor returns the 10 newest; with since returns changes after that cursor, oldest first, for polling. Read-only.
| Parameter | Type | Description |
|---|---|---|
before | integer | older_cursor, to page back through history |
limit | integer | 1-50, default 10 |
since | integer | cursor from a previous response; returns only newer changes |
watch_id | string | limit to one watch |