Getting started
Snag Watcher API
Tell us what to watch and when to tell you. We check the page on a schedule and send a signed webhook when your conditions are met.
{
"target": { "query": "https://www.allbirds.com/products/mens-wool-runners", "match": "url", "attributes": { "size": 10 } },
"conditions": { "all": [{ "field": "availability", "op": "=", "value": "back_in_stock" }] },
"where": { "sites": ["allbirds.com"] },
"schedule": { "every": "1h", "until": "+30d" },
"notify": { "channels": ["webhook"], "webhook": { "url": "https://you.example/hook", "events": ["matched"] } }
}That's one watcher: size 10 of one shoe, checked hourly for 30 days, with a webhook when it comes back.
What you can watch
| Kind | Example |
|---|---|
| Price | A microphone under $100, or 10% under its first price |
| Availability | One size or color back in stock, at any of several stores |
| Release | The next version of a product line, or a new GitHub release |
| Slots | Open campsite nights before a date, within 25 miles |
The kind isn't a setting. It comes from your conditions, and one watcher can mix them: "back in stock and 10% cheaper".
Sites
Any Shopify store, any page that publishes schema.org product data, GitHub releases, Nike, Amazon and the running stores Snag already checks. See Sites and robots.txt.
Next
- Quickstart: a working watcher in five minutes.
- Recipes: copy a request for the common cases.
- Create a watcher: every field.