Free in betaSee integrations
Skip to content

Watch a page for changes with /v1/monitors

Create a monitor for one page and Spicrawl checks it on a schedule, comparing the main content or a CSS selector.

Before: There was no way to ask Spicrawl to watch a page. To find out that a page had changed you had to scrape it on your own schedule and compare the results yourself.

Now: Create a monitor with POST /v1/monitors and Spicrawl checks the page on a schedule. It compares the main content, or only the part you pick with a CSS selector. A confirmed change is recorded with its diff and sent to a webhook endpoint as monitor.changed. A monitor that fails 10 checks in a row is disabled and reported as monitor.failed. You can run a check on demand and read the change history. Each check costs what the equivalent scrape costs: 1 credit, or 3 with js_render. A failed check costs nothing. The key needs the monitors scope.

What this means for you: You are told when a page changes, and you keep no scheduler or diff code of your own.

Use cases

  • Alert your team in Slack when a competitor's pricing page changes.
  • Watch one status banner on a vendor's page with a selector.
  • Keep the history of changes to a terms page.

Docs:MonitorsWebhooks

Back to the changelog