Create a draft
Start setting up a monitor: the page is loaded twice in Chrome (a page replica to pick from, then a noise check). Poll the draft until ready.
/crawl/v1/monitors/draftscurl --request POST \
--url 'https://factget.dev/crawl/v1/monitors/drafts' \
--header "Authorization: Bearer $FACTGET_CRAWL_KEY" \
--header 'Content-Type: application/json' \
--data '{
"url": "https://example.com"
}'Replace IDs and sample values with your own. Examples are not executed in your browser.
Request body
urlstringrequiredThe public URL to read.
askstring | nullscrapeOptionsobjectHow each page is fetched: the scrape options that shape what a run sees.
Show nested properties
onlyMainContentbooleanReturn the main page content, excluding common navigation and page furniture.
Default:trueincludeTagsstring[] | nullInclude the matching HTML elements in the result.
maxItems: 50excludeTagsstring[] | nullExclude the matching HTML elements from the result.
maxItems: 50waitForintegerAdditional time to wait for the page, in milliseconds.
Default:0minimum: 0maximum: 30000jsCodestring | nullstepsobject[] | nullShow item properties
typestring"click"selectorstring | nullxpathstring | nulllabelstring | nullResponses
200Successful Response
The published schema does not define individual response fields for this endpoint. Inspect the returned JSON in your integration.
422Validation Error
detailobject[]Show item properties
locstring | integer[]requiredmsgstringrequiredtypestringrequiredinputobjectctxobjectThe API schema lists the responses above. Long-running operations can also return 202; see async jobs. For application errors, see errors & retries.