Examples
Stoop
A rental hunt that watches Craigslist, sets aside likely scams and writes the first email to each real landlord.
Requests
Each one creates a watcher. Preview it first to see what it would catch.
sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400 on sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400
Fires when items added. Checks every 1h for 30 days. Try it in the playground.
curl https://api.watcher.staging.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400"
]
},
"schedule": {
"every": "1h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}'const response = await fetch('https://api.watcher.staging.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400"
]
},
"schedule": {
"every": "1h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.staging.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/apa?min_bedrooms=1&max_price=2400"
]
},
"schedule": {
"every": "1h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": True
}
},
)
print(response.json())
sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400 on sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400
Fires when items added. Checks every 1h for 30 days. Try it in the playground.
curl https://api.watcher.staging.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400"
]
},
"schedule": {
"every": "1h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}'const response = await fetch('https://api.watcher.staging.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400"
]
},
"schedule": {
"every": "1h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.staging.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/eby/apa?min_bedrooms=1&max_price=2400"
]
},
"schedule": {
"every": "1h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": True
}
},
)
print(response.json())
sfbay.craigslist.org/search/sfc/roo?max_price=1500 on sfbay.craigslist.org/search/sfc/roo?max_price=1500
Fires when items added. Checks every 6h for 30 days. Try it in the playground.
curl https://api.watcher.staging.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "sfbay.craigslist.org/search/sfc/roo?max_price=1500",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/roo?max_price=1500"
]
},
"schedule": {
"every": "6h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}'const response = await fetch('https://api.watcher.staging.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "sfbay.craigslist.org/search/sfc/roo?max_price=1500",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/roo?max_price=1500"
]
},
"schedule": {
"every": "6h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.staging.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "sfbay.craigslist.org/search/sfc/roo?max_price=1500",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/roo?max_price=1500"
]
},
"schedule": {
"every": "6h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": True
}
},
)
print(response.json())
sfbay.craigslist.org/search/sfc/sub?max_price=2400 on sfbay.craigslist.org/search/sfc/sub?max_price=2400
Fires when items added. Checks every 6h for 30 days. Try it in the playground.
curl https://api.watcher.staging.manwhas.shop/v1/watchers \
-H "Authorization: Bearer $SNAG_KEY" \
-H "Content-Type: application/json" \
-d '{
"target": {
"query": "sfbay.craigslist.org/search/sfc/sub?max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/sub?max_price=2400"
]
},
"schedule": {
"every": "6h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}'const response = await fetch('https://api.watcher.staging.manwhas.shop/v1/watchers', {
method: 'POST',
headers: { Authorization: `Bearer ${process.env.SNAG_KEY}`, 'Content-Type': 'application/json' },
body: JSON.stringify({
"target": {
"query": "sfbay.craigslist.org/search/sfc/sub?max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/sub?max_price=2400"
]
},
"schedule": {
"every": "6h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": true
}
}),
});
console.log(await response.json());import os, requests
response = requests.post(
"https://api.watcher.staging.manwhas.shop/v1/watchers",
headers={"Authorization": f"Bearer {os.environ['SNAG_KEY']}"},
json={
"target": {
"query": "sfbay.craigslist.org/search/sfc/sub?max_price=2400",
"match": "listing"
},
"conditions": {
"all": [
{
"field": "items",
"op": "added"
}
]
},
"where": {
"sites": [
"sfbay.craigslist.org/search/sfc/sub?max_price=2400"
]
},
"schedule": {
"every": "6h",
"until": "+30d"
},
"fetch": {
"accept_site_terms": True
}
},
)
print(response.json())
