Skip to main content

Get detection result

GET https://api.segmentik.com/detection/:detectionId

This endpoint responds with a full detection results: unique visitor ID, spoof detection, geolocation, device information, incognito mode, etc.

Path parameters

detectionId (required) - provided by detect() method of the browser SDK.


Responses

200:

{
"time": "2023-11-13T13:55:18.149Z",
"visitor": {
"id": "KUBE8O1qUhWSaOjkW3",
"confidence": 100
},
"bot": {
"result": "notDetected"
},
"incognito": false,
"ip": {
"proxy": false,
"type": "Business",
"country": "US",
"region": "California",
"city": "Mountain View",
"location": {
"lat": 37.422,
"lon": -122.084
},
"ISP": "Partner Communications Ltd.",
"address": "66.249.73.12"
},
"automationTool": {
"detected": false
},
"spoofing": {
"detected": false
},
"behavior": {
"score": 0
},
"duration": 0,
"page": "https://domain.com/page1.html",
"tags": {
"campaign": "facebook"
},
"sdkVersion": "0.1.6",
"device": {
"browser": {
"name": "Chrome",
"version": "119.0.0.0"
},
"os": {
"name": "Mac OS",
"version": "10.15.7"
},
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"
}
}

403: Forbidden - your secretKey is not valid. Please refer to API Authentication.

404: detectionId doesn't exist.