Tutorial

How to Monitor Website Changes with Screenshots

Set up automated screenshot monitoring to detect visual changes on any website. Get webhooks when changes happen.

Steps

  1. Create a monitorPOST to /v1/monitors with the URL, interval (1-1440 minutes), and optional webhook URL.
  2. SnapAPI captures automaticallyScreenshots are taken at your chosen interval. View them in your account dashboard.
  3. Get notified of changesSet a webhook URL to receive POST notifications whenever a new snapshot is captured.
  4. Review historyBrowse snapshot history on your account page. Compare screenshots side-by-side.

Code Examples

# Create a monitor
curl -X POST "https://snapapi.tech/v1/monitors" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_KEY" \
  -d '{"url":"https://example.com","interval":60,"name":"My Monitor"}'
import requests

# Create a monitor
response = requests.post("https://snapapi.tech/v1/monitors",
    headers={"x-api-key": "YOUR_KEY", "Content-Type": "application/json"},
    json={"url": "https://example.com", "interval": 60, "name": "My Monitor"}
)
print(response.json())
const res = await fetch("https://snapapi.tech/v1/monitors", {
  method: "POST",
  headers: { "x-api-key": "YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({ url: "https://example.com", interval: 60, name: "My Monitor" })
});
console.log(await res.json());
Get Free API KeyFull API Docs