curl -X POST "https://api.prefetch.io/monitor" \
-H "X-API-Key: $PREFETCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Linear pricing",
"schedule": { "text": "daily at 9am", "timezone": "Europe/London" },
"goal": "Alert me when a plan is added or removed, or a plan price or its seat limit changes",
"targets": [
{
"type": "scrape",
"urls": ["https://linear.app/pricing"],
"change_tracking": { "modes": ["json"], "json_prompt": "Each plan: name, monthly price per seat, annual price per seat, seat limit" }
}
],
"email": { "to": ["[email protected]"] }
}'