Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The Monitors guide explains each option.
The first check runs straight away and records the starting point (“Started watching”). It doesn’t alert. Send checkNow: false to wait for the schedule instead. nextRunAt is in UTC.
Alerts go by email to your account’s address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. recipients in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with Send a test notification.
Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn’t keep using credits. Checks are kept for 30 days.
Credits: each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A goal adds a little AI on checks where something changed. Estimate a monitor gives the cost first, for free.
Rate limits: 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see Get monitor limits.
How often the monitor checks. Send every (with at and day where they apply), or a cron expression. Defaults to every day at 09:00 UTC. Your plan sets the shortest interval; see Get monitor limits.
An optional goal in plain English, such as "Only tell me if the price drops below $20". When something changed, AI reads the changes and the monitor alerts only if they match the goal. Not used with alertOn: "every". Send null to remove it.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Spidra","description":"Spidra documentation — REST API reference, SDK guides, browser automation, CAPTCHA solving, and proxy scraping for AI-powered web data extraction.","colors":{"primary":"#007AFF","light":"#007AFF","dark":"#007AFF"},"logo":{"light":"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-light.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=9ee4bb079b87d8aea61a7d42bfecf118","dark":"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-dark.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=3633ab236061c0e8200d4d9e0f1a9c05"},"favicon":"https://mintcdn.com/spidra/47EJpglRIcFOVcnQ/favicon.ico?fit=max\u0026auto=format\u0026n=47EJpglRIcFOVcnQ\u0026q=85\u0026s=3c0c6b781fffaaa0dd242f4b886d8917","navbar":{"links":[{"href":"mailto:[email protected]","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.spidra.io"}},"footer":{"socials":{"x":"https://x.com/spidra_io","github":"https://github.com/spidra-io","linkedin":"https://www.linkedin.com/company/spidra-io"}},"seo":{"indexing":"all"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://app.spidra.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/spidra-io"},{"anchor":"Blog","icon":"newspaper","href":"https://spidra.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://spidra.io/changelog"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"spidra","hasAudioNarration":false,"actualSubdomain":"spidra","customDomains":["docs.spidra.io"],"gitSource":{"type":"github","owner":"spidra-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aeb7b05330d696ca47f944e","collectionId":"36e399aa-f8e1-4ef5-90c7-a20764aa6e5e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb7b05330d696ca47f944e"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6aeb7b05330d696ca47f944e","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"default","tag":"API Reference","count":68},{"language":"default","tag":"Documentation","count":51},{"language":"default","tag":"SDKs","count":31},{"language":"default","tag":"Popular sites","count":24},{"language":"default","tag":"More sites","count":18},{"language":"default","tag":"Monitors","count":13},{"language":"default","tag":"Crawl","count":10},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Logs","count":7},{"language":"default","tag":"Parse","count":7}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"table{width:100%!important;display:table!important}th,td{white-space:normal}"},{"filePath":"style.css","content":"#table-of-contents-layout{flex:0 1 auto;min-height:0;max-height:none}#spidra-toc-cta{position:relative;flex-shrink:0;overflow:hidden;width:16.5rem;margin:1rem 0 1.5rem 2.5rem;border-radius:14px;background:radial-gradient(120% 140% at 0% 0%, #2d8cff 0%, #007aff 40%, #0657c2 100%);color:#fff;box-shadow:0 18px 40px -24px rgba(0, 40, 120, 0.55)}#spidra-toc-cta .spidra-cta-dots{position:absolute;inset:0;opacity:0.18;background-image:radial-gradient(rgba(255, 255, 255, 0.95) 1px, transparent 1.3px);background-size:12px 12px;-webkit-mask-image:linear-gradient(110deg, transparent 25%, black 80%);mask-image:linear-gradient(110deg, transparent 25%, black 80%);pointer-events:none}#spidra-toc-cta .spidra-cta-rings{position:absolute;right:-70px;top:-40px;pointer-events:none}#spidra-toc-cta .spidra-cta-rings i{position:absolute;left:50%;top:50%;border:1px solid rgba(255, 255, 255, 0.22);border-radius:9999px;transform:translate(-50%, -50%)}#spidra-toc-cta .spidra-cta-rings i:nth-child(1){width:220px;height:220px}#spidra-toc-cta .spidra-cta-rings i:nth-child(2){width:150px;height:150px}#spidra-toc-cta .spidra-cta-rings i:nth-child(3){width:80px;height:80px}#spidra-toc-cta .spidra-cta-body{position:relative;padding:1.1rem 1.15rem}#spidra-toc-cta .spidra-cta-logo{height:18px;width:auto;margin:0 0 0.7rem}#spidra-toc-cta .spidra-cta-title{margin:0;font-size:1.05rem;font-weight:600;line-height:1.3;letter-spacing:-0.01em;color:#fff}#spidra-toc-cta .spidra-cta-text{margin:0.5rem 0 1.1rem;font-size:0.8rem;line-height:1.5;color:rgba(255, 255, 255, 0.8)}#spidra-toc-cta a{display:block;text-align:center;font-size:0.85rem;font-weight:500;border-radius:9999px;padding:0.55rem 1rem;text-decoration:none;transition:background-color 0.15s ease, transform 0.15s ease}#spidra-toc-cta .spidra-cta-primary{background:#fff;color:#007aff;box-shadow:0 10px 24px -12px rgba(0, 20, 80, 0.6)}#spidra-toc-cta .spidra-cta-primary:hover{transform:translateY(-1px)}#spidra-toc-cta .spidra-cta-secondary{margin-top:0.5rem;color:#fff;border:1px solid rgba(255, 255, 255, 0.35)}#spidra-toc-cta .spidra-cta-secondary:hover{background:rgba(255, 255, 255, 0.1)}.tool-picker{margin:1.25rem 0 1.5rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:14px;overflow:hidden;background:#fff}.tool-picker .tp-head,.tool-picker .tp-row{display:grid;grid-template-columns:minmax(0, 1.15fr) minmax(0, 0.7fr) minmax(0, 1.35fr);gap:1.25rem;align-items:center;padding:0.85rem 1.25rem}.tool-picker .tp-head{padding-top:0.7rem;padding-bottom:0.7rem;background:linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);border-bottom:1px solid rgba(15, 23, 42, 0.08);font-size:0.75rem;font-weight:500;letter-spacing:0.02em;color:rgba(15, 23, 42, 0.5)}.tool-picker .tp-row{position:relative;border-bottom:1px solid rgba(15, 23, 42, 0.06);text-decoration:none!important;border-image:none;transition:background-color 0.15s ease}.tool-picker .tp-row:last-child{border-bottom:0}.tool-picker .tp-row::before{content:\"\";position:absolute;left:0;top:18%;bottom:18%;width:2px;border-radius:2px;background:#007aff;transform:scaleY(0);transition:transform 0.18s ease}.tool-picker .tp-row:hover{background:#f5f9ff}.tool-picker .tp-row:hover::before{transform:scaleY(1)}.tool-picker .tp-have{font-weight:500;font-size:0.9rem;line-height:1.45;color:#0f172a}.tool-picker .tp-tool{font-size:0.9rem;font-weight:600;color:#007aff;white-space:nowrap}.tool-picker .tp-get{font-weight:400;font-size:0.875rem;line-height:1.45;color:rgba(15, 23, 42, 0.62)}html.dark .tool-picker{background:rgba(255, 255, 255, 0.02);border-color:rgba(255, 255, 255, 0.08)}html.dark .tool-picker .tp-head{background:linear-gradient(180deg, rgba(0, 122, 255, 0.1) 0%, rgba(0, 122, 255, 0) 100%);border-bottom-color:rgba(255, 255, 255, 0.08);color:rgba(255, 255, 255, 0.45)}html.dark .tool-picker .tp-row{border-bottom-color:rgba(255, 255, 255, 0.06)}html.dark .tool-picker .tp-row:hover{background:rgba(0, 122, 255, 0.08)}html.dark .tool-picker .tp-have{color:rgba(255, 255, 255, 0.92)}html.dark .tool-picker .tp-tool{color:#4da3ff}html.dark .tool-picker .tp-row::before{background:#4da3ff}html.dark .tool-picker .tp-get{color:rgba(255, 255, 255, 0.55)}@media (max-width: 640px){.tool-picker .tp-head{display:none}.tool-picker .tp-row{grid-template-columns:1fr;gap:0.2rem;padding:0.9rem 1rem}.tool-picker .tp-tool{order:-1}}.plan-table-wrap{margin:1.25rem 0 1.5rem;border:1px solid rgba(15, 23, 42, 0.08);border-radius:14px;overflow-x:auto;background:#fff}.plan-table{width:100%;min-width:620px;margin:0!important;border-collapse:collapse;font-size:0.875rem}.plan-table th,.plan-table td{padding:0.8rem 1rem;border:0!important;border-bottom:1px solid rgba(15, 23, 42, 0.06)!important;text-align:center;vertical-align:middle;color:#0f172a;background:transparent}.plan-table tbody tr:last-child th,.plan-table tbody tr:last-child td{border-bottom:0!important}.plan-table thead th{padding-top:1.25rem;padding-bottom:1rem;border-bottom:1px solid rgba(15, 23, 42, 0.08)!important;vertical-align:bottom}.plan-table td{white-space:nowrap}.plan-table .pt-label{width:30%;text-align:left;font-weight:500}.plan-table .pt-hint{display:block;margin-top:0.15rem;font-size:0.75rem;font-weight:400;color:rgba(15, 23, 42, 0.5)}.plan-table .pt-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.plan-table .pt-name{display:block;font-size:0.95rem;font-weight:600}.plan-table .pt-price{display:block;margin-top:0.2rem;font-size:1.35rem;font-weight:600;letter-spacing:-0.02em}.plan-table .pt-per{margin-left:0.15rem;font-size:0.75rem;font-weight:400;letter-spacing:0;color:rgba(15, 23, 42, 0.5)}.plan-table .pt-badge{display:inline-block;margin-bottom:0.45rem;padding:0.1rem 0.55rem;border-radius:9999px;background:#007aff;color:#fff;font-size:0.68rem;font-weight:500}.plan-table .pt-hl{background:#f5f9ff}.plan-table thead .pt-hl{background:linear-gradient(180deg, #e8f2ff 0%, #f5f9ff 100%)}.plan-table .pt-hl .pt-price{color:#007aff}.plan-table .pt-check{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;border-radius:9999px;background:rgba(0, 122, 255, 0.1);color:#007aff;font-size:0.7rem;font-weight:700}.plan-table .pt-dash{color:rgba(15, 23, 42, 0.3)}html.dark .plan-table-wrap{background:rgba(255, 255, 255, 0.02);border-color:rgba(255, 255, 255, 0.08)}html.dark .plan-table th,html.dark .plan-table td{color:rgba(255, 255, 255, 0.92);border-bottom-color:rgba(255, 255, 255, 0.06)!important}html.dark .plan-table thead th{border-bottom-color:rgba(255, 255, 255, 0.08)!important}html.dark .plan-table .pt-hint,html.dark .plan-table .pt-per{color:rgba(255, 255, 255, 0.45)}html.dark .plan-table .pt-hl{background:rgba(0, 122, 255, 0.08)}html.dark .plan-table thead .pt-hl{background:linear-gradient(180deg, rgba(0, 122, 255, 0.18) 0%, rgba(0, 122, 255, 0.08) 100%)}html.dark .plan-table .pt-hl .pt-price,html.dark .plan-table .pt-check{color:#4da3ff}html.dark .plan-table .pt-dash{color:rgba(255, 255, 255, 0.3)}"}],"page":{"pagePath":"api-reference/monitors/create","slug":"/api-reference/monitors/create","pageMetadata":{"title":"Create a monitor","openapi":"POST /monitors","keywords":["create monitor","POST /monitors","website change detection API","monitor web data"],"description":"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The [Monitors guide](/monitors) explains each option.\n\nThe first check runs straight away and records the starting point (\"Started watching\"). It doesn't alert. Send `checkNow: false` to wait for the schedule instead. `nextRunAt` is in UTC.\n\nAlerts go by email to your account's address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. `recipients` in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with [Send a test notification](/api-reference/monitors/test-notification).\n\nSpidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn't keep using credits. Checks are kept for 30 days.\n\n**Credits:** each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A `goal` adds a little AI on checks where something changed. [Estimate a monitor](/api-reference/monitors/estimate) gives the cost first, for free.\n\n**Rate limits:** 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see [Get monitor limits](/api-reference/monitors/limits).\n","href":"/api-reference/monitors/create"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The \", _jsx(_components.a, {\n href: \"/monitors\",\n children: \"Monitors guide\"\n }), \" explains each option.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The first check runs straight away and records the starting point (“Started watching”). It doesn’t alert. Send \", _jsx(_components.code, {\n children: \"checkNow: false\"\n }), \" to wait for the schedule instead. \", _jsx(_components.code, {\n children: \"nextRunAt\"\n }), \" is in UTC.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Alerts go by email to your account’s address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. \", _jsx(_components.code, {\n children: \"recipients\"\n }), \" in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with \", _jsx(_components.a, {\n href: \"/api-reference/monitors/test-notification\",\n children: \"Send a test notification\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn’t keep using credits. Checks are kept for 30 days.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Credits:\"\n }), \" each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A \", _jsx(_components.code, {\n children: \"goal\"\n }), \" adds a little AI on checks where something changed. \", _jsx(_components.a, {\n href: \"/api-reference/monitors/estimate\",\n children: \"Estimate a monitor\"\n }), \" gives the cost first, for free.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Rate limits:\"\n }), \" 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see \", _jsx(_components.a, {\n href: \"/api-reference/monitors/limits\",\n children: \"Get monitor limits\"\n }), \".\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a monitor","openapi":"POST /monitors","keywords":["create monitor","POST /monitors","website change detection API","monitor web data"],"description":"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The [Monitors guide](/monitors) explains each option.\n\nThe first check runs straight away and records the starting point (\"Started watching\"). It doesn't alert. Send `checkNow: false` to wait for the schedule instead. `nextRunAt` is in UTC.\n\nAlerts go by email to your account's address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. `recipients` in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with [Send a test notification](/api-reference/monitors/test-notification).\n\nSpidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn't keep using credits. Checks are kept for 30 days.\n\n**Credits:** each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A `goal` adds a little AI on checks where something changed. [Estimate a monitor](/api-reference/monitors/estimate) gives the cost first, for free.\n\n**Rate limits:** 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see [Get monitor limits](/api-reference/monitors/limits).\n","href":"/api-reference/monitors/create"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/spidra/fe44716c737c36c1/toc-cta.js"],"openApiReferenceData":{"operation":{"summary":"Create a monitor","description":"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The [Monitors guide](/monitors) explains each option.\n\nThe first check runs straight away and records the starting point (\"Started watching\"). It doesn't alert. Send `checkNow: false` to wait for the schedule instead. `nextRunAt` is in UTC.\n\nAlerts go by email to your account's address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. `recipients` in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with [Send a test notification](/api-reference/monitors/test-notification).\n\nSpidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn't keep using credits. Checks are kept for 30 days.\n\n**Credits:** each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A `goal` adds a little AI on checks where something changed. [Estimate a monitor](/api-reference/monitors/estimate) gives the cost first, for free.\n\n**Rate limits:** 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see [Get monitor limits](/api-reference/monitors/limits).\n","requestBody":"372f3cd0-7ab2-42f3-9de2-cddb8181e2f8","responses":{"201":"b9e8b974-66c6-4331-94b9-c78ac8d27e7e","401":"ef615a56-d397-4f86-bc5a-45effb182aae","403":"cb376f7b-1efe-4de6-8926-d5583c7f7cb4","409":"65f88da8-50a1-4329-a7f0-8b7ebd5e7b7c","422":"3ff94caf-4bc3-4226-bf70-d7b8f58e1ac5","429":"6b993c39-2773-418f-962c-4ac306945000"},"tags":["Monitors"],"method":"post","type":"path","servers":["bf13fe36-aa6a-4de6-964d-d06f33bc1bb9"],"security":["6ae77587-e60d-4803-9173-0a1617725897","696cbdd8-eb13-4014-a8dd-ee43246169e7"],"path":"/monitors","baseUrlOptions":["https://api.spidra.io/api"],"title":"Create a monitor","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"The fields you send to create, estimate or update a monitor.","required":["sources"],"properties":{"sources":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"object","description":"One thing a monitor watches. Each source is run and compared on its own.","required":["kind"],"properties":{"kind":{"type":"string","enum":["template","preset","urls"],"description":"- `template`: a template's rows, with `template` and `inputs`. Each row has a stable key, so new, changed and removed items are exact.\n- `preset`: one of your presets, with `presetId`. Scrape, batch, map, search and template presets work. Crawl and parse presets can't be watched yet.\n- `urls`: public pages, with `urls`.\n","isRequired":true,"uniqueKey":"sources.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The source's ID inside the monitor. Spidra makes one when you leave it out. Keep it when you edit sources, so the comparison carries on.","example":"ae22524a61ad","uniqueKey":"sources.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","maxLength":120,"description":"A name for the source, shown in alerts. Defaults to the template's title, the preset's name or the site's domain.","uniqueKey":"sources.items.[INDEX].label","typeLabel":"string"},"template":{"type":"string","description":"With `kind: \"template\"`, the template's slug. Templates whose results open on another page, such as crawl and parse templates, can't be watched.","example":"google-maps-leads","uniqueKey":"sources.items.[INDEX].template","typeLabel":"string"},"inputs":{"type":"object","description":"With `kind: \"template\"`, the template's inputs by `key`. They're checked the same way a run checks them, and defaults are filled in.","uniqueKey":"sources.items.[INDEX].inputs","typeLabel":"object"},"presetId":{"type":"string","format":"uuid","description":"With `kind: \"preset\"`, the preset's `id`.","uniqueKey":"sources.items.[INDEX].presetId","typeLabel":"string\u003cuuid>"},"urls":{"type":"array","maxItems":50,"items":{"type":"string","format":"uri","uniqueKey":"sources.items.[INDEX].urls.items.[INDEX]","typeLabel":"string\u003curi>"},"description":"With `kind: \"urls\"`, up to 50 public pages. Duplicates are dropped.","uniqueKey":"sources.items.[INDEX].urls","typeLabel":"string\u003curi>[]"},"site":{"oneOf":[{"type":"object","description":"In responses, for template sources, the site the template reads.","properties":{"key":{"type":"string","description":"The site's ID. Use it as `site` to filter `GET /templates`.","example":"google-maps","uniqueKey":"sources.items.[INDEX].site.oneOf.0.key","typeLabel":"string"},"name":{"type":"string","description":"The site's name.","example":"Google Maps","uniqueKey":"sources.items.[INDEX].site.oneOf.0.name","typeLabel":"string"},"domain":{"type":"string","description":"The site's main domain.","example":"google.com","uniqueKey":"sources.items.[INDEX].site.oneOf.0.domain","typeLabel":"string"}},"uniqueKey":"sources.items.[INDEX].site.oneOf.0","typeLabel":"object"},{"type":"null","description":"In responses, for template sources, the site the template reads.","uniqueKey":"sources.items.[INDEX].site.oneOf.1","typeLabel":"null"}],"uniqueKey":"sources.items.[INDEX].site","typeLabel":"object | null"}},"uniqueKey":"sources.items.[INDEX]","typeLabel":"object"},"description":"What to watch, 1 to 10 sources.","isRequired":true,"uniqueKey":"sources","typeLabel":"object[]"},"name":{"type":"string","maxLength":255,"description":"A name for the monitor. Defaults to the first source's label.","uniqueKey":"name","typeLabel":"string"},"schedule":{"type":"object","description":"How often the monitor checks. Send `every` (with `at` and `day` where they apply), or a `cron` expression. Defaults to every day at 09:00 UTC. Your plan sets the shortest interval; see [Get monitor limits](/api-reference/monitors/limits).","properties":{"every":{"type":"string","enum":["5m","15m","30m","1h","6h","12h","1d","1w"],"description":"How often to check.","uniqueKey":"schedule.every","typeLabel":"enum\u003cstring>"},"at":{"type":"string","description":"For `1d` and `1w`, the time of day in `timezone`, as `HH:MM`.","example":"08:00","uniqueKey":"schedule.at","typeLabel":"string"},"day":{"type":"integer","minimum":0,"maximum":6,"description":"For `1w`, the weekday, from 0 (Sunday) to 6 (Saturday).","uniqueKey":"schedule.day","typeLabel":"integer"},"cron":{"type":"string","description":"Instead of `every`, a 5-field cron expression (minute, hour, day, month, weekday) in `timezone`.","example":"0 8 * * 1","uniqueKey":"schedule.cron","typeLabel":"string"},"timezone":{"type":"string","default":"UTC","description":"The time zone for `at` and `cron`, such as `Africa/Lagos` or `Europe/Berlin`.","example":"Africa/Lagos","uniqueKey":"schedule.timezone","typeLabel":"string"}},"uniqueKey":"schedule","typeLabel":"object"},"alertOn":{"type":"string","enum":["new","changed","removed","page","every"],"description":"What counts as a change worth an alert.\n\n- `new`: new items. The default when any source is a template or preset.\n- `changed`: items whose fields changed.\n- `removed`: items that are gone.\n- `page`: page text changes. The default when every source is a list of URLs.\n- `every`: alert on every check, with its rows, whether or not anything changed.\n","uniqueKey":"alertOn","typeLabel":"enum\u003cstring>"},"watchFields":{"type":"array","maxItems":20,"items":{"type":"string","uniqueKey":"watchFields.items.[INDEX]","typeLabel":"string"},"description":"Only compare these fields when looking for changed items, such as `[\"price\", \"rating\"]`. Empty compares every field that's stable from check to check.","uniqueKey":"watchFields","typeLabel":"string[]"},"rule":{"oneOf":[{"type":"object","description":"An optional filter on the items that changed. Send `null` to remove it.","required":["field","op","value"],"properties":{"field":{"type":"string","maxLength":100,"description":"The field to test, by name or dot path, such as `price` or `buyBox.price`.","isRequired":true,"uniqueKey":"rule.oneOf.0.field","typeLabel":"string"},"op":{"type":"string","enum":["lt","lte","gt","gte","eq","neq","contains","drops_by_pct","rises_by_pct"],"description":"How to compare the field with `value`.\n\n- `lt`, `lte`, `gt`, `gte`: less than, at most, more than, at least.\n- `eq`, `neq`: equal or not equal. Numbers compare as numbers, text without case.\n- `contains`: the field's text contains `value`, ignoring case.\n- `drops_by_pct`, `rises_by_pct`: the field fell or rose by at least `value` percent since the last check.\n","isRequired":true,"uniqueKey":"rule.oneOf.0.op","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"number","description":"The value to compare with. Text up to 200 characters.","isRequired":true,"uniqueKey":"rule.oneOf.0.value.oneOf.0","typeLabel":"number"},{"type":"string","description":"The value to compare with. Text up to 200 characters.","isRequired":true,"uniqueKey":"rule.oneOf.0.value.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"rule.oneOf.0.value","typeLabel":"number | string"}},"uniqueKey":"rule.oneOf.0","typeLabel":"object"},{"type":"null","description":"An optional filter on the items that changed. Send `null` to remove it.","uniqueKey":"rule.oneOf.1","typeLabel":"null"}],"uniqueKey":"rule","typeLabel":"object | null"},"goal":{"oneOf":[{"type":"string","maxLength":1000,"description":"An optional goal in plain English, such as `\"Only tell me if the price drops below $20\"`. When something changed, AI reads the changes and the monitor alerts only if they match the goal. Not used with `alertOn: \"every\"`. Send `null` to remove it.","uniqueKey":"goal.oneOf.0","typeLabel":"string"},{"type":"null","maxLength":1000,"description":"An optional goal in plain English, such as `\"Only tell me if the price drops below $20\"`. When something changed, AI reads the changes and the monitor alerts only if they match the goal. Not used with `alertOn: \"every\"`. Send `null` to remove it.","uniqueKey":"goal.oneOf.1","typeLabel":"null"}],"uniqueKey":"goal","typeLabel":"string | null"},"notify":{"type":"object","description":"Where alerts go. Email to your account's address is on unless you turn it off. Add any of the other channels.","properties":{"email":{"type":"object","properties":{"enabled":{"type":"boolean","default":true,"description":"Emails alerts to your account's address. Set to `false` to turn email off.","uniqueKey":"notify.email.enabled","typeLabel":"boolean"},"recipients":{"type":"array","maxItems":10,"items":{"type":"string","format":"email","uniqueKey":"notify.email.recipients.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Up to 10 extra addresses. Each gets a confirmation email and receives alerts only after confirming.","uniqueKey":"notify.email.recipients","typeLabel":"string\u003cemail>[]"}},"uniqueKey":"notify.email","typeLabel":"object"},"webhook":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"An `https://` endpoint on the public internet. Spidra POSTs a JSON body with `event: \"monitor.check.completed\"` and the changes, signed in the `X-Spidra-Signature` header.","uniqueKey":"notify.webhook.url","typeLabel":"string\u003curi>"},"secret":{"type":"string","description":"The signing secret, 16 to 128 letters, digits, `_` or `-`. Leave it out and Spidra makes one, starting `whsec_`, and returns it here. The signature is `sha256=` followed by the HMAC-SHA256 of the raw body, in hex.","uniqueKey":"notify.webhook.secret","typeLabel":"string"}},"uniqueKey":"notify.webhook","typeLabel":"object"},"slack":{"type":"object","properties":{"webhookUrl":{"type":"string","format":"uri","description":"A Slack incoming webhook URL, starting `https://hooks.slack.com/`.","uniqueKey":"notify.slack.webhookUrl","typeLabel":"string\u003curi>"}},"uniqueKey":"notify.slack","typeLabel":"object"},"discord":{"type":"object","properties":{"webhookUrl":{"type":"string","format":"uri","description":"A Discord webhook URL, starting `https://discord.com/api/webhooks/`.","uniqueKey":"notify.discord.webhookUrl","typeLabel":"string\u003curi>"}},"uniqueKey":"notify.discord","typeLabel":"object"}},"uniqueKey":"notify","typeLabel":"object"},"checkNow":{"type":"boolean","default":true,"description":"Runs the first check straight away to record the starting point. Set to `false` to wait for the schedule.","uniqueKey":"checkNow","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"page":{"title":"page","value":{"name":"Docs test page","sources":[{"kind":"urls","urls":["https://httpbin.org/uuid"]}],"schedule":{"every":"1d","at":"09:00","timezone":"Africa/Lagos"},"alertOn":"page","notify":{"email":{"enabled":false}}}},"template":{"title":"template","value":{"sources":[{"kind":"template","template":"google-maps-leads","inputs":{"query":"dentist","areas":["Lekki, Lagos"]}}],"schedule":{"every":"1h"},"alertOn":"new"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"b9e8b974-66c6-4331-94b9-c78ac8d27e7e":{"description":"The monitor was created, and its first check is running unless you sent `checkNow: false`.","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["success"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"monitor":{"type":"object","description":"A monitor, with its settings and its last result.","properties":{"id":{"type":"string","format":"uuid","description":"The monitor's ID.","uniqueKey":"monitor.id","typeLabel":"string\u003cuuid>"},"name":{"type":"string","description":"The monitor's name.","uniqueKey":"monitor.name","typeLabel":"string"},"status":{"type":"string","enum":["active","paused"],"description":"`active` while checks run on schedule, `paused` when they don't.","uniqueKey":"monitor.status","typeLabel":"enum\u003cstring>"},"sources":{"type":"array","items":{"type":"object","description":"One thing a monitor watches. Each source is run and compared on its own.","required":["kind"],"properties":{"kind":{"type":"string","enum":["template","preset","urls"],"description":"- `template`: a template's rows, with `template` and `inputs`. Each row has a stable key, so new, changed and removed items are exact.\n- `preset`: one of your presets, with `presetId`. Scrape, batch, map, search and template presets work. Crawl and parse presets can't be watched yet.\n- `urls`: public pages, with `urls`.\n","isRequired":true,"uniqueKey":"monitor.sources.items.[INDEX].kind","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The source's ID inside the monitor. Spidra makes one when you leave it out. Keep it when you edit sources, so the comparison carries on.","example":"ae22524a61ad","uniqueKey":"monitor.sources.items.[INDEX].id","typeLabel":"string"},"label":{"type":"string","maxLength":120,"description":"A name for the source, shown in alerts. Defaults to the template's title, the preset's name or the site's domain.","uniqueKey":"monitor.sources.items.[INDEX].label","typeLabel":"string"},"template":{"type":"string","description":"With `kind: \"template\"`, the template's slug. Templates whose results open on another page, such as crawl and parse templates, can't be watched.","example":"google-maps-leads","uniqueKey":"monitor.sources.items.[INDEX].template","typeLabel":"string"},"inputs":{"type":"object","description":"With `kind: \"template\"`, the template's inputs by `key`. They're checked the same way a run checks them, and defaults are filled in.","uniqueKey":"monitor.sources.items.[INDEX].inputs","typeLabel":"object"},"presetId":{"type":"string","format":"uuid","description":"With `kind: \"preset\"`, the preset's `id`.","uniqueKey":"monitor.sources.items.[INDEX].presetId","typeLabel":"string\u003cuuid>"},"urls":{"type":"array","maxItems":50,"items":{"type":"string","format":"uri","uniqueKey":"monitor.sources.items.[INDEX].urls.items.[INDEX]","typeLabel":"string\u003curi>"},"description":"With `kind: \"urls\"`, up to 50 public pages. Duplicates are dropped.","uniqueKey":"monitor.sources.items.[INDEX].urls","typeLabel":"string\u003curi>[]"},"site":{"oneOf":[{"type":"object","description":"In responses, for template sources, the site the template reads.","properties":{"key":{"type":"string","description":"The site's ID. Use it as `site` to filter `GET /templates`.","example":"google-maps","uniqueKey":"monitor.sources.items.[INDEX].site.oneOf.0.key","typeLabel":"string"},"name":{"type":"string","description":"The site's name.","example":"Google Maps","uniqueKey":"monitor.sources.items.[INDEX].site.oneOf.0.name","typeLabel":"string"},"domain":{"type":"string","description":"The site's main domain.","example":"google.com","uniqueKey":"monitor.sources.items.[INDEX].site.oneOf.0.domain","typeLabel":"string"}},"uniqueKey":"monitor.sources.items.[INDEX].site.oneOf.0","typeLabel":"object"},{"type":"null","description":"In responses, for template sources, the site the template reads.","uniqueKey":"monitor.sources.items.[INDEX].site.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.sources.items.[INDEX].site","typeLabel":"object | null"}},"uniqueKey":"monitor.sources.items.[INDEX]","typeLabel":"object"},"description":"What the monitor watches, with IDs and labels filled in.","uniqueKey":"monitor.sources","typeLabel":"object[]"},"schedule":{"type":"object","description":"How often the monitor checks. Send `every` (with `at` and `day` where they apply), or a `cron` expression. Defaults to every day at 09:00 UTC. Your plan sets the shortest interval; see [Get monitor limits](/api-reference/monitors/limits).","properties":{"every":{"type":"string","enum":["5m","15m","30m","1h","6h","12h","1d","1w"],"description":"How often to check.","uniqueKey":"monitor.schedule.every","typeLabel":"enum\u003cstring>"},"at":{"type":"string","description":"For `1d` and `1w`, the time of day in `timezone`, as `HH:MM`.","example":"08:00","uniqueKey":"monitor.schedule.at","typeLabel":"string"},"day":{"type":"integer","minimum":0,"maximum":6,"description":"For `1w`, the weekday, from 0 (Sunday) to 6 (Saturday).","uniqueKey":"monitor.schedule.day","typeLabel":"integer"},"cron":{"type":"string","description":"Instead of `every`, a 5-field cron expression (minute, hour, day, month, weekday) in `timezone`.","example":"0 8 * * 1","uniqueKey":"monitor.schedule.cron","typeLabel":"string"},"timezone":{"type":"string","default":"UTC","description":"The time zone for `at` and `cron`, such as `Africa/Lagos` or `Europe/Berlin`.","example":"Africa/Lagos","uniqueKey":"monitor.schedule.timezone","typeLabel":"string"}},"uniqueKey":"monitor.schedule","typeLabel":"object"},"cron":{"type":"string","description":"The schedule as a cron expression in `schedule.timezone`.","uniqueKey":"monitor.cron","typeLabel":"string"},"alertOn":{"type":"string","enum":["new","changed","removed","page","every"],"description":"What counts as a change worth an alert.","uniqueKey":"monitor.alertOn","typeLabel":"enum\u003cstring>"},"watchFields":{"type":"array","items":{"type":"string","uniqueKey":"monitor.watchFields.items.[INDEX]","typeLabel":"string"},"description":"The fields compared for changed items. Empty means every stable field.","uniqueKey":"monitor.watchFields","typeLabel":"string[]"},"rule":{"oneOf":[{"type":"object","description":"The filter on changed items, or `null`.","required":["field","op","value"],"properties":{"field":{"type":"string","maxLength":100,"description":"The field to test, by name or dot path, such as `price` or `buyBox.price`.","isRequired":true,"uniqueKey":"monitor.rule.oneOf.0.field","typeLabel":"string"},"op":{"type":"string","enum":["lt","lte","gt","gte","eq","neq","contains","drops_by_pct","rises_by_pct"],"description":"How to compare the field with `value`.\n\n- `lt`, `lte`, `gt`, `gte`: less than, at most, more than, at least.\n- `eq`, `neq`: equal or not equal. Numbers compare as numbers, text without case.\n- `contains`: the field's text contains `value`, ignoring case.\n- `drops_by_pct`, `rises_by_pct`: the field fell or rose by at least `value` percent since the last check.\n","isRequired":true,"uniqueKey":"monitor.rule.oneOf.0.op","typeLabel":"enum\u003cstring>"},"value":{"oneOf":[{"type":"number","description":"The value to compare with. Text up to 200 characters.","isRequired":true,"uniqueKey":"monitor.rule.oneOf.0.value.oneOf.0","typeLabel":"number"},{"type":"string","description":"The value to compare with. Text up to 200 characters.","isRequired":true,"uniqueKey":"monitor.rule.oneOf.0.value.oneOf.1","typeLabel":"string"}],"isRequired":true,"uniqueKey":"monitor.rule.oneOf.0.value","typeLabel":"number | string"}},"uniqueKey":"monitor.rule.oneOf.0","typeLabel":"object"},{"type":"null","description":"The filter on changed items, or `null`.","uniqueKey":"monitor.rule.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.rule","typeLabel":"object | null"},"goal":{"oneOf":[{"type":"string","description":"The plain-English goal, or `null`.","uniqueKey":"monitor.goal.oneOf.0","typeLabel":"string"},{"type":"null","description":"The plain-English goal, or `null`.","uniqueKey":"monitor.goal.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.goal","typeLabel":"string | null"},"notify":{"type":"object","description":"Where alerts go. Email to your account's address is on unless you turn it off. Add any of the other channels.","properties":{"email":{"type":"object","properties":{"enabled":{"type":"boolean","default":true,"description":"Emails alerts to your account's address. Set to `false` to turn email off.","uniqueKey":"monitor.notify.email.enabled","typeLabel":"boolean"},"recipients":{"type":"array","maxItems":10,"items":{"type":"string","format":"email","uniqueKey":"monitor.notify.email.recipients.items.[INDEX]","typeLabel":"string\u003cemail>"},"description":"Up to 10 extra addresses. Each gets a confirmation email and receives alerts only after confirming.","uniqueKey":"monitor.notify.email.recipients","typeLabel":"string\u003cemail>[]"}},"uniqueKey":"monitor.notify.email","typeLabel":"object"},"webhook":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"An `https://` endpoint on the public internet. Spidra POSTs a JSON body with `event: \"monitor.check.completed\"` and the changes, signed in the `X-Spidra-Signature` header.","uniqueKey":"monitor.notify.webhook.url","typeLabel":"string\u003curi>"},"secret":{"type":"string","description":"The signing secret, 16 to 128 letters, digits, `_` or `-`. Leave it out and Spidra makes one, starting `whsec_`, and returns it here. The signature is `sha256=` followed by the HMAC-SHA256 of the raw body, in hex.","uniqueKey":"monitor.notify.webhook.secret","typeLabel":"string"}},"uniqueKey":"monitor.notify.webhook","typeLabel":"object"},"slack":{"type":"object","properties":{"webhookUrl":{"type":"string","format":"uri","description":"A Slack incoming webhook URL, starting `https://hooks.slack.com/`.","uniqueKey":"monitor.notify.slack.webhookUrl","typeLabel":"string\u003curi>"}},"uniqueKey":"monitor.notify.slack","typeLabel":"object"},"discord":{"type":"object","properties":{"webhookUrl":{"type":"string","format":"uri","description":"A Discord webhook URL, starting `https://discord.com/api/webhooks/`.","uniqueKey":"monitor.notify.discord.webhookUrl","typeLabel":"string\u003curi>"}},"uniqueKey":"monitor.notify.discord","typeLabel":"object"}},"uniqueKey":"monitor.notify","typeLabel":"object"},"nextRunAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the next scheduled check runs, in UTC. `null` while paused.","uniqueKey":"monitor.nextRunAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the next scheduled check runs, in UTC. `null` while paused.","uniqueKey":"monitor.nextRunAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.nextRunAt","typeLabel":"string\u003cdate-time> | null"},"lastCheckAt":{"oneOf":[{"type":"string","format":"date-time","description":"When the last check finished, or `null`.","uniqueKey":"monitor.lastCheckAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the last check finished, or `null`.","uniqueKey":"monitor.lastCheckAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastCheckAt","typeLabel":"string\u003cdate-time> | null"},"lastChangeAt":{"oneOf":[{"type":"string","format":"date-time","description":"When a check last found a change, or `null`.","uniqueKey":"monitor.lastChangeAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When a check last found a change, or `null`.","uniqueKey":"monitor.lastChangeAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastChangeAt","typeLabel":"string\u003cdate-time> | null"},"lastStatus":{"oneOf":[{"type":"string","enum":["completed","partial","failed",null],"description":"How the last check went, or `null` before the first one.","uniqueKey":"monitor.lastStatus.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","enum":["completed","partial","failed",null],"description":"How the last check went, or `null` before the first one.","uniqueKey":"monitor.lastStatus.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastStatus","typeLabel":"enum\u003cstring> | null"},"lastSummary":{"oneOf":[{"type":"string","description":"The last check in a few words, such as `\"1 page changed\"`, `\"2 new · 1 changed\"` or `\"No changes\"`.","uniqueKey":"monitor.lastSummary.oneOf.0","typeLabel":"string"},{"type":"null","description":"The last check in a few words, such as `\"1 page changed\"`, `\"2 new · 1 changed\"` or `\"No changes\"`.","uniqueKey":"monitor.lastSummary.oneOf.1","typeLabel":"null"}],"uniqueKey":"monitor.lastSummary","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","description":"When the monitor was created.","uniqueKey":"monitor.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","description":"When the monitor last changed.","uniqueKey":"monitor.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"monitor","typeLabel":"object"},"recipients":{"type":"array","description":"Each extra email address with its status.","items":{"type":"object","properties":{"email":{"type":"string","description":"The address.","uniqueKey":"recipients.items.[INDEX].email","typeLabel":"string"},"status":{"type":"string","enum":["pending","confirmed","unsubscribed"],"description":"`pending` until the address confirms, `confirmed` once it has, `unsubscribed` if it opted out of alerts from your account.","uniqueKey":"recipients.items.[INDEX].status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"recipients.items.[INDEX]","typeLabel":"object"},"uniqueKey":"recipients","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"success","monitor":{"id":"d6761e12-b011-4633-a593-fa6be2ef466c","name":"Docs test page","status":"active","sources":[{"id":"ae22524a61ad","kind":"urls","urls":["https://httpbin.org/uuid"],"label":"httpbin.org"}],"schedule":{"every":"1d","at":"09:00","timezone":"Africa/Lagos"},"cron":"0 9 * * *","alertOn":"page","watchFields":[],"rule":null,"goal":null,"notify":{"email":{"enabled":false}},"nextRunAt":"2026-10-25T08:00:00.000Z","lastCheckAt":null,"lastChangeAt":null,"lastStatus":null,"lastSummary":null,"createdAt":"2026-10-24T18:50:07.000Z","updatedAt":"2026-10-24T18:50:07.000Z"},"recipients":[]},"examples":{"Example":{"title":"Example","value":{"status":"success","monitor":{"id":"d6761e12-b011-4633-a593-fa6be2ef466c","name":"Docs test page","status":"active","sources":[{"id":"ae22524a61ad","kind":"urls","urls":["https://httpbin.org/uuid"],"label":"httpbin.org"}],"schedule":{"every":"1d","at":"09:00","timezone":"Africa/Lagos"},"cron":"0 9 * * *","alertOn":"page","watchFields":[],"rule":null,"goal":null,"notify":{"email":{"enabled":false}},"nextRunAt":"2026-10-25T08:00:00.000Z","lastCheckAt":null,"lastChangeAt":null,"lastStatus":null,"lastSummary":null,"createdAt":"2026-10-24T18:50:07.000Z","updatedAt":"2026-10-24T18:50:07.000Z"},"recipients":[]}}},"exampleType":"examples"}},"exampleType":"examples"},"ef615a56-d397-4f86-bc5a-45effb182aae":{"description":"The API key is missing, wrong, or turned off.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing":{"title":"missing","value":{"status":"error","message":"Missing authentication"}},"invalid":{"title":"invalid","value":{"status":"error","message":"Invalid token or API key"}}},"exampleType":"examples"}},"exampleType":"examples"},"cb376f7b-1efe-4de6-8926-d5583c7f7cb4":{"description":"Your plan's monitor limit is reached. Paused monitors count. Delete one or upgrade.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"MONITOR_LIMIT","message":"Your plan includes 2 monitors. Delete one or upgrade to add more."},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"MONITOR_LIMIT","message":"Your plan includes 2 monitors. Delete one or upgrade to add more."}}},"exampleType":"examples"}},"exampleType":"examples"},"65f88da8-50a1-4329-a7f0-8b7ebd5e7b7c":{"description":"Another monitor is being created on your account at the same moment. Try again.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","code":"BUSY","message":"Another monitor is being created. Try again in a moment."},"examples":{"Example":{"title":"Example","value":{"status":"error","code":"BUSY","message":"Another monitor is being created. Try again in a moment."}}},"exampleType":"examples"}},"exampleType":"examples"},"3ff94caf-4bc3-4226-bf70-d7b8f58e1ac5":{"description":"Some fields need fixing. `errors` lists each one as `{ field, message }`, with paths such as `sources[0].urls[0]` or `notify.webhook.url`.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"no_sources":{"title":"no_sources","value":{"status":"error","code":"INVALID_INPUT","message":"Some fields need fixing.","errors":[{"field":"sources","message":"Add at least one thing to watch: a template, a preset or a list of URLs."}]}},"several":{"title":"several","value":{"status":"error","code":"INVALID_INPUT","message":"Some fields need fixing.","errors":[{"field":"sources[0].urls[0]","message":"\"http://localhost/x\" can't be a private or internal address."},{"field":"schedule","message":"Your plan checks at most every 15 minutes."},{"field":"alertOn","message":"\"alertOn\" must be one of: new, changed, removed, page, every."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"6b993c39-2773-418f-962c-4ac306945000":{"description":"More than 30 monitor changes in a minute. Wait, then send the request again.","content":{"application/json":{"schema":{"type":"object","required":["status","message"],"properties":{"status":{"type":"string","enum":["error"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"What went wrong, as a sentence you can show to a person.","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"code":{"type":"string","description":"A stable code for the error, when there is one, such as `JOB_NOT_FOUND` or `SERVICE_BUSY`. Branch on this rather than on `message`.","uniqueKey":"code","typeLabel":"string"},"errors":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"errors.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.0","typeLabel":"string[]"},{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].field","typeLabel":"string"},"message":{"type":"string","uniqueKey":"errors.oneOf.1.items.[INDEX].message","typeLabel":"string"}},"uniqueKey":"errors.oneOf.1.items.[INDEX]","typeLabel":"object"},"description":"On validation errors (`422`), every problem with the request. Scrape, batch, crawl, map and search return a list of sentences. Templates, presets and monitors return `{ field, message }` objects.","uniqueKey":"errors.oneOf.1","typeLabel":"object[]"}],"uniqueKey":"errors","typeLabel":"string[] | object[]"},"retry_after":{"type":"integer","description":"On `503 SERVICE_BUSY`, how many seconds to wait before sending the request again.","uniqueKey":"retry_after","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"example":{"status":"error","message":"Too many monitor changes. Please slow down and try again shortly."},"examples":{"Example":{"title":"Example","value":{"status":"error","message":"Too many monitor changes. Please slow down and try again shortly."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"6ae77587-e60d-4803-9173-0a1617725897":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"BearerAuth"}},"696cbdd8-eb13-4014-a8dd-ee43246169e7":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"bf13fe36-aa6a-4de6-964d-d06f33bc1bb9":{"url":"https://api.spidra.io/api"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"API key","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-api-key"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"spidra","siteName":"Spidra","title":"Create a monitor - Spidra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-25T09:08:39.059Z","originalFileLocation":"api-reference/monitors/create.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The Monitors guide explains each option. The first check runs straight away and records the starting point (\u0026quot;Started watching\u0026quot;). It doesn\u0026#x27;t alert. Send checkNow: false to wait for the schedule instead. nextRunAt is in UTC. Alerts go by email to your account\u0026#x27;s address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. recipients in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with Send a test notification. Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn\u0026#x27;t keep using credits. Checks are kept for 30 days. Credits: each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A goal adds a little AI on checks where something changed. Estimate a monitor gives the cost first, for free. Rate limits: 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see Get monitor limits.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Spidra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a monitor - Spidra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The Monitors guide explains each option. The first check runs straight away and records the starting point (\u0026quot;Started watching\u0026quot;). It doesn\u0026#x27;t alert. Send checkNow: false to wait for the schedule instead. nextRunAt is in UTC. Alerts go by email to your account\u0026#x27;s address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. recipients in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with Send a test notification. Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn\u0026#x27;t keep using credits. Checks are kept for 30 days. Credits: each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A goal adds a little AI on checks where something changed. Estimate a monitor gives the cost first, for free. Rate limits: 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see Get monitor limits.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Spidra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.spidra.io/api-reference/monitors/create\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://spidra.mintlify.site/_mintlify/api/og/v2?division=Monitors\u0026amp;title=Create+a+monitor\u0026amp;description=Creates+a+monitor+that+runs+its+sources+on+a+schedule%2C+compares+each+check+with+the+previous+one%2C+and+alerts+you+when+something+changed.+A+source+is+a+template%2C\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=91a9db569cc25689bfb0dc2717d410be201e3072065fd977b6dc517c340394b3\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a monitor - Spidra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The Monitors guide explains each option. The first check runs straight away and records the starting point (\u0026quot;Started watching\u0026quot;). It doesn\u0026#x27;t alert. Send checkNow: false to wait for the schedule instead. nextRunAt is in UTC. Alerts go by email to your account\u0026#x27;s address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. recipients in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with Send a test notification. Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn\u0026#x27;t keep using credits. Checks are kept for 30 days. Credits: each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A goal adds a little AI on checks where something changed. Estimate a monitor gives the cost first, for free. Rate limits: 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see Get monitor limits.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://spidra.mintlify.site/_mintlify/api/og/v2?division=Monitors\u0026amp;title=Create+a+monitor\u0026amp;description=Creates+a+monitor+that+runs+its+sources+on+a+schedule%2C+compares+each+check+with+the+previous+one%2C+and+alerts+you+when+something+changed.+A+source+is+a+template%2C\u0026amp;theme=fd0fe7fea6781527f1876f07\u0026amp;signature=91a9db569cc25689bfb0dc2717d410be201e3072065fd977b6dc517c340394b3\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/spidra/JYxAUddv93IVFozP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Spidra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#007AFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.spidra.io/api-reference/monitors/create\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/monitors/create.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.spidra.io/#organization\",\"name\":\"Spidra\",\"url\":\"https://docs.spidra.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/spidra/tjYTncBEy2qwqvSx/logo/logo-light.png?fit=max\u0026auto=format\u0026n=tjYTncBEy2qwqvSx\u0026q=85\u0026s=9ee4bb079b87d8aea61a7d42bfecf118\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.spidra.io#website\",\"name\":\"Spidra\",\"url\":\"https://docs.spidra.io\",\"publisher\":{\"@id\":\"https://docs.spidra.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#webpage\",\"url\":\"https://docs.spidra.io/api-reference/monitors/create\",\"name\":\"Create a monitor\",\"description\":\"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The Monitors guide explains each option. The first check runs straight away and records the starting point (\\\"Started watching\\\"). It doesn't alert. Send checkNow: false to wait for the schedule instead. nextRunAt is in UTC. Alerts go by email to your account's address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. recipients in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with Send a test notification. Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn't keep using credits. Checks are kept for 30 days. Credits: each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A goal adds a little AI on checks where something changed. Estimate a monitor gives the cost first, for free. Rate limits: 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see Get monitor limits.\",\"dateModified\":\"2026-10-25T09:08:39.059Z\",\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Spidra\",\"item\":\"https://docs.spidra.io\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a monitor\",\"item\":\"https://docs.spidra.io/api-reference/monitors/create\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#apireference\",\"headline\":\"Create a monitor\",\"name\":\"Create a monitor\",\"description\":\"Creates a monitor that runs its sources on a schedule, compares each check with the previous one, and alerts you when something changed. A source is a template, a preset or a list of pages. The Monitors guide explains each option. The first check runs straight away and records the starting point (\\\"Started watching\\\"). It doesn't alert. Send checkNow: false to wait for the schedule instead. nextRunAt is in UTC. Alerts go by email to your account's address unless you turn it off, and to a signed webhook, Slack or Discord if you add them. recipients in the response lists any extra email addresses with their status; each gets a confirmation email and receives alerts only after confirming. Try your channels first with Send a test notification. Spidra pauses a monitor whose last 5 checks all failed, and emails you, so a broken source doesn't keep using credits. Checks are kept for 30 days. Credits: each check costs what its sources cost to run, the same as running the template, preset or pages yourself. A goal adds a little AI on checks where something changed. Estimate a monitor gives the cost first, for free. Rate limits: 30 monitor changes a minute (creating, updating and checking now). Your plan sets how many monitors you can have and how often they can check; see Get monitor limits.\",\"url\":\"https://docs.spidra.io/api-reference/monitors/create\",\"mainEntityOfPage\":{\"@id\":\"https://docs.spidra.io/api-reference/monitors/create#webpage\"},\"dateModified\":\"2026-10-25T09:08:39.059Z\",\"keywords\":\"create monitor, POST /monitors, website change detection API, monitor web data\",\"publisher\":{\"@id\":\"https://docs.spidra.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.spidra.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Spidra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Spidra","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"book-open-cover","href":"https://app.spidra.io"},{"anchor":"GitHub","icon":"github","href":"https://github.com/spidra-io"},{"anchor":"Blog","icon":"newspaper","href":"https://spidra.io/blog"},{"anchor":"Changelog","icon":"clock-rotate-left","href":"https://spidra.io/changelog"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides/overview"}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"API Reference","groups":[{"group":"Using the API","pages":[{"title":"API introduction","icon":"book","href":"/api-reference/introduction"},{"title":"Errors","icon":"triangle-exclamation","href":"/api-reference/errors"},{"title":"Rate limits","icon":"gauge","href":"/api-reference/rate-limits"},{"title":"Webhooks","icon":"webhook","href":"/api-reference/webhooks"}]},{"group":"Scrape","pages":[{"title":"Start a scrape","openapi":"POST /scrape","href":"/api-reference/scraping/scrape"},{"title":"Get a scrape","openapi":"GET /scrape/{jobId}","href":"/api-reference/scraping/scrape-status"}]},{"group":"Batch scrape","pages":[{"title":"Batch scrape","openapi":"POST /batch/scrape","href":"/api-reference/scraping/batch-scrape"},{"title":"Get a batch","openapi":"GET /batch/scrape/{batchId}","href":"/api-reference/scraping/batch-scrape-status"},{"title":"List batches","openapi":"GET /batch/scrape","href":"/api-reference/scraping/batch-scrape-list"},{"title":"Retry a batch","openapi":"POST /batch/scrape/{batchId}/retry","href":"/api-reference/scraping/batch-scrape-retry"},{"title":"Cancel a batch","openapi":"DELETE /batch/scrape/{batchId}","href":"/api-reference/scraping/batch-scrape-cancel"}]},{"group":"Crawl","pages":[{"title":"Crawl","openapi":"POST /crawl","href":"/api-reference/crawling/crawl"},{"title":"Get a crawl","openapi":"GET /crawl/{jobId}","href":"/api-reference/crawling/crawl-status"},{"title":"Get crawl pages","openapi":"GET /crawl/{jobId}/pages","href":"/api-reference/crawling/crawl-pages"},{"title":"Get a crawl report","openapi":"GET /crawl/{jobId}/report","href":"/api-reference/crawling/crawl-report"},{"title":"Extract from a crawl","openapi":"POST /crawl/{jobId}/extract","href":"/api-reference/crawling/crawl-extract"},{"title":"Retry a crawl page","openapi":"POST /crawl/{jobId}/retry/{pageId}","href":"/api-reference/crawling/crawl-retry-page"},{"title":"Download a crawl","openapi":"GET /crawl/{jobId}/download","href":"/api-reference/crawling/crawl-download"},{"title":"Get crawl details","openapi":"GET /crawl/job/{jobId}","href":"/api-reference/crawling/crawl-details"},{"title":"List crawls","openapi":"GET /crawl/history","href":"/api-reference/crawling/crawl-history"},{"title":"Cancel a crawl","openapi":"DELETE /crawl/{jobId}","href":"/api-reference/crawling/crawl-cancel"}]},{"group":"Map","pages":[{"title":"Map","openapi":"POST /map","href":"/api-reference/crawling/map"}]},{"group":"Search","pages":[{"title":"Search","openapi":"POST /search","href":"/api-reference/search/search"},{"title":"Get a search","openapi":"GET /search/{jobId}","href":"/api-reference/search/search-status"},{"title":"Cancel a search","openapi":"DELETE /search/{jobId}","href":"/api-reference/search/search-cancel"}]},{"group":"Parse","pages":[{"title":"Parse","openapi":"POST /parse","href":"/api-reference/parse/parse"},{"title":"Get a parse job","openapi":"GET /parse/{jobId}","href":"/api-reference/parse/parse-status"},{"title":"Parse a batch","openapi":"POST /parse/batch","href":"/api-reference/parse/parse-batch"},{"title":"Get a parse batch","openapi":"GET /parse/batch/{batchId}","href":"/api-reference/parse/parse-batch-status"},{"title":"Prepare a large upload","openapi":"POST /parse/uploads","href":"/api-reference/parse/parse-uploads"},{"title":"Delete a document","openapi":"DELETE /parse/files/{fileId}","href":"/api-reference/parse/parse-delete-file"},{"title":"List formats","openapi":"GET /parse/formats","href":"/api-reference/parse/parse-formats"}]},{"group":"Templates","pages":[{"title":"List templates","openapi":"GET /templates","href":"/api-reference/templates/list"},{"title":"Get a template","openapi":"GET /templates/{slug}","href":"/api-reference/templates/get"},{"title":"Estimate a template run","openapi":"POST /templates/{slug}/estimate","href":"/api-reference/templates/estimate"},{"title":"Run a template","openapi":"POST /templates/{slug}/runs","href":"/api-reference/templates/run"},{"title":"Get a template run","openapi":"GET /template-runs/{runId}","href":"/api-reference/templates/get-run"},{"title":"List template runs","openapi":"GET /template-runs","href":"/api-reference/templates/list-runs"},{"title":"Look up airports","openapi":"GET /templates/lookups/airports","href":"/api-reference/templates/airports"}]},{"group":"Presets","pages":[{"title":"Create a preset","openapi":"POST /presets","href":"/api-reference/presets/create"},{"title":"List presets","openapi":"GET /presets","href":"/api-reference/presets/list"},{"title":"Get a preset","openapi":"GET /presets/{presetId}","href":"/api-reference/presets/get"},{"title":"Update a preset","openapi":"PATCH /presets/{presetId}","href":"/api-reference/presets/update"},{"title":"Delete a preset","openapi":"DELETE /presets/{presetId}","href":"/api-reference/presets/delete"},{"title":"Run a preset","openapi":"POST /presets/{presetId}/runs","description":"Runs a preset and answers the way the job behind it answers.\n\n- A **template preset** starts a template run. The response is the same as [Run a template](/api-reference/templates/run), with `presetId` added. Poll the run with [Get a template run](/api-reference/templates/get-run).\n- A **tool preset** sends its saved request to the tool. The response is exactly that tool's response, with `presetId` and `tool` added: a map answers with its links straight away, and a scrape or crawl with a job ID to poll at its own endpoint.\n\n`overrides` replaces template inputs, or request fields of a tool preset, for this run only. The preset itself doesn't change. Send `wait: true` to wait for a quick result, as with a template run or a batch scrape.\n\n**Credits:** what the same job costs when you run the template or tool directly.\n\n**Rate limits:** 30 preset runs a minute, plus the limits of the tool behind the preset.\n","href":"/api-reference/presets/run"}]},{"group":"Monitors","pages":[{"title":"Create a monitor","openapi":"POST /monitors","href":"/api-reference/monitors/create"},{"title":"List monitors","openapi":"GET /monitors","description":"Lists all your monitors with their settings, schedule, last check and next check. Each monitor has every field shown in [Get a monitor](/api-reference/monitors/get). See [Monitors](/monitors).\n","href":"/api-reference/monitors/list"},{"title":"Get a monitor","openapi":"GET /monitors/{monitorId}","href":"/api-reference/monitors/get"},{"title":"Update a monitor","openapi":"PATCH /monitors/{monitorId}","href":"/api-reference/monitors/update"},{"title":"Delete a monitor","openapi":"DELETE /monitors/{monitorId}","href":"/api-reference/monitors/delete"},{"title":"Check a monitor now","openapi":"POST /monitors/{monitorId}/check","href":"/api-reference/monitors/check-now"},{"title":"Pause a monitor","openapi":"POST /monitors/{monitorId}/pause","href":"/api-reference/monitors/pause"},{"title":"Resume a monitor","openapi":"POST /monitors/{monitorId}/resume","href":"/api-reference/monitors/resume"},{"title":"List monitor checks","openapi":"GET /monitors/{monitorId}/checks","href":"/api-reference/monitors/list-checks"},{"title":"Get a monitor check","openapi":"GET /monitors/{monitorId}/checks/{checkId}","href":"/api-reference/monitors/get-check"},{"title":"Estimate a monitor","openapi":"POST /monitors/estimate","href":"/api-reference/monitors/estimate"},{"title":"Get monitor limits","openapi":"GET /monitors/limits","href":"/api-reference/monitors/limits"},{"title":"Send a test notification","openapi":"POST /monitors/test-notification","href":"/api-reference/monitors/test-notification"}]},{"group":"Logs","pages":[{"title":"List scrape logs","openapi":"GET /scrape-logs","href":"/api-reference/scraping/scrape-logs"},{"title":"Get a scrape log","openapi":"GET /scrape-logs/{uuid}","href":"/api-reference/scraping/scrape-logs-detail"},{"title":"List search logs","openapi":"GET /search-logs","href":"/api-reference/search/search-logs"},{"title":"Get a search log","openapi":"GET /search-logs/{uuid}","href":"/api-reference/search/search-logs-detail"},{"title":"List map logs","openapi":"GET /map-logs","href":"/api-reference/logs/map-logs"},{"title":"Get a map log","openapi":"GET /map-logs/{uuid}","href":"/api-reference/logs/map-logs-detail"},{"title":"List parse logs","openapi":"GET /parse-logs","href":"/api-reference/logs/parse-logs"}]},{"group":"Account","pages":[{"title":"Account","openapi":"GET /account","href":"/api-reference/account/account"},{"title":"Usage stats","openapi":"GET /usage-stats","href":"/api-reference/account/usage-stats"},{"title":"Usage by tool","openapi":"GET /usage-stats/breakdown","href":"/api-reference/account/usage-breakdown"}]}]}]},"basePath":"","title":"Create a monitor - Spidra","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-i2a3QZ8E.js","utils-ChLwp8m0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DRktVTDc.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CA2pEs4T.js","snippetPresets-ClQ6XrKD.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Ct_Lv36y.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-Cn2PYw9e.js","shallow-rkyymjXQ.js","getApiPlaygroundDisplay-BB9vkXtE.js","CodeSnippet-Bm5RU7m1.js","CodeSnippets-BgU9Deuz.js","Page-BUDYNlhG.js","getPastedJson-BD-6NNum.js","icon-8Z6tud2e.js","MethodPill-Tuzr4g3V.js","DuplicateIcon-0ceWFYhN.js","createIcon-FBXow_ST.js","DynamicMarkdown-CD8713Yy.js","SectionHeading-7zgzQbH-.js","axios-vUo_bRtp.js","Markdown-D7Ofw1oz.js","clsx-eKJ4rcii.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CwjSCXIK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-9EK5IAXV.js"]}