Get visual diff metadata
curl --request GET \
--url https://api.sitespy.app/api/v1/watch/{uuid}/screenshot/diff/metadata \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/watch/{uuid}/screenshot/diff/metadata"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/watch/{uuid}/screenshot/diff/metadata', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"change_percentage": 123,
"threshold": 123,
"from_version": "<string>",
"to_version": "<string>",
"versions": [
"<string>"
]
}Visual Diff
Get visual diff metadata
Returns metadata about the visual diff comparison including change percentage, threshold setting, and available versions. Requires Pro plan.
GET
/
watch
/
{uuid}
/
screenshot
/
diff
/
metadata
Get visual diff metadata
curl --request GET \
--url https://api.sitespy.app/api/v1/watch/{uuid}/screenshot/diff/metadata \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/watch/{uuid}/screenshot/diff/metadata"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/watch/{uuid}/screenshot/diff/metadata', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"change_percentage": 123,
"threshold": 123,
"from_version": "<string>",
"to_version": "<string>",
"versions": [
"<string>"
]
}Authorizations
API key for authentication. You can find your API key in the Site Spy dashboard under Settings → API.

