Watch

v1.1.0
com.darmousseh/watch Checked 4 days ago Published 27 days ago

Watch 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.

ParameterTypeDescription
url *stringpublic http(s) page or JSON endpoint
conditionstringwith threshold: alert when the first number found crosses it
emailstringaddress to email on each change
idempotency_keystringsame key replays the first result instead of creating a second watch
interval_minintegerminutes between checks, default 60 on free
json_pathstringpath into a JSON response, e.g. data.items[0].price
keywordstringalert when this text appears or disappears (case-insensitive)
namestringlabel shown in change summaries
regexstringnarrow the extracted text; first capture group (or whole match) is compared
selectorstringCSS selector to watch just part of an HTML page
thresholdnumber
webhook_urlstringhttps URL to receive signed change events

list-watches

List your watches, newest first, 10 per page. Read-only.

ParameterTypeDescription
cursorstringnext_cursor from the previous page
limitinteger1-50, default 10

get-watch

Show one watch with its last value, status and webhook secret. Read-only.

ParameterTypeDescription
id *stringwatch id, starts with w_

delete-watch

Stop and remove a watch. Its recorded changes stay readable. Cannot be undone.

ParameterTypeDescription
id *stringwatch id
idempotency_keystringsafe-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.

ParameterTypeDescription
beforeintegerolder_cursor, to page back through history
limitinteger1-50, default 10
sinceintegercursor from a previous response; returns only newer changes
watch_idstringlimit to one watch