curl -X POST "https://api.sitespy.app/api/v1/watch" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"title": "Example Site Monitor",
"time_between_check": {
"hours": 1
}
}'
import requests
import json
headers = {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
}
data = {
'url': 'https://example.com',
'title': 'Example Site Monitor',
'time_between_check': {
'hours': 1
}
}
response = requests.post('https://api.sitespy.app/api/v1/watch',
headers=headers, json=data)
print(response.text)
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://example.com',
title: 'Example Site Monitor',
time_between_check: {hours: 1}
})
};
fetch('https://api.sitespy.app/api/v1/watch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"check_budget_hold": {
"resumes_at": 123
}
}{
"error": "email_not_verified",
"message": "Please verify your email address before creating watches.",
"current_plan": "<string>",
"limit": 123,
"suggested_plan": "<string>",
"upgrade_required": true
}<string>Create a new watch
Create a single web page change monitor (watch). Requires at least url to be set.
Every watch can be configured with:
- Processor mode:
processorfield (restock_diffortext_json_diff- default) - Notification settings:
notification_urls(array),notification_title,notification_body,notification_format,notification_muted - Tags/Groups:
tag(UUID string) ortags(array of UUIDs) - Check settings:
time_between_check,paused,method,fetch_backend - Advanced options:
headers,body,proxy,browser_steps, and more
curl -X POST "https://api.sitespy.app/api/v1/watch" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"title": "Example Site Monitor",
"time_between_check": {
"hours": 1
}
}'
import requests
import json
headers = {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
}
data = {
'url': 'https://example.com',
'title': 'Example Site Monitor',
'time_between_check': {
'hours': 1
}
}
response = requests.post('https://api.sitespy.app/api/v1/watch',
headers=headers, json=data)
print(response.text)
const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
url: 'https://example.com',
title: 'Example Site Monitor',
time_between_check: {hours: 1}
})
};
fetch('https://api.sitespy.app/api/v1/watch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"check_budget_hold": {
"resumes_at": 123
}
}{
"error": "email_not_verified",
"message": "Please verify your email address before creating watches.",
"current_plan": "<string>",
"limit": 123,
"suggested_plan": "<string>",
"upgrade_required": true
}<string>Authorizations
Body
Backend to use for fetching content. Common values:
system(default) - Use the system-wide default fetcherhtml_requests- Fast requests-based fetcherhtml_webdriver- Browser-based fetcher (Playwright/Puppeteer)extra_browser_*- Custom browser configurations (if configured)- Plugin-provided fetchers (if installed)
^(system|html_requests|html_hybrid|html_webdriver|extra_browser_.+)$CSS/XPath selectors naming the part of the page this watch follows, and the only part that can trigger a notification. In the dashboard, the AI chat and the browser extension this is set by pointing at the page in the element picker rather than typed; the API accepts it directly. A watch with an empty list follows the whole page, which means every timestamp, banner and counter on it counts as a change. Selectors that the backend cannot compile are dropped on save rather than rejected.
1005000Text that should NOT be present (triggers alert if found)
1005000Notify on the check where text_should_not_be_present stops matching, and stay silent otherwise, instead of notifying on every page diff while it does not match. Null derives it: a watch with text_should_not_be_present is waiting for that message to clear unless its stated intent is a generic "any change".
Who chose this watch's include filter - 'manual' for a person, 'smart' for the removed smart-configure generator. It decides what happens when the include filter stops matching: a person's selector raises an error, a machine's silently falls back to the whole page. Nothing writes 'smart' any more, and watches configured before it was removed still carry the value with their filters honoured unchanged - but an edit that changes include_filters now records 'manual', since whoever made that edit chose the selector. Send the field explicitly to override that.
manual, smart 
