Developers /Monitoring API

Compare snapshots

A page's precomputed diff for a granularity on a day (at, in the monitor's timezone; the latest run without it), or from/to: any two snapshots of one page.

GET/crawl/v1/monitors/{monitor_id}/diff
GET example
curl --request GET \
  --url 'https://factget.dev/crawl/v1/monitors/{monitor_id}/diff' \
  --header "Authorization: Bearer $FACTGET_CRAWL_KEY"

Replace IDs and sample values with your own. Examples are not executed in your browser.

Authorization

Authorizationstring · header · required

Bearer Crawl API key with the required scope. Learn about authentication →

Parameters

Path parameters

monitor_idstringrequired

Query parameters

urlstring | null

The public URL to read.

granularitystring

Which baselines each snapshot is compared with ("Granularities and baselines").

Allowed: "run", "day", "week", "month"
atstring | null
frominteger | null
minimum: 1
tointeger | null
minimum: 1

Responses

200Successful Response
application/json

The published schema does not define individual response fields for this endpoint. Inspect the returned JSON in your integration.

422Validation Error
application/json
detailobject[]
Show item properties
locstring | integer[]required
msgstringrequired
typestringrequired
inputobject
ctxobject

The API schema lists the responses above. Long-running operations can also return 202; see async jobs. For application errors, see errors & retries.