- Takes: URL
- Takes: Domain
- Active: contacts the target
Returns the threat rating stored for the URI. If none exists, a quick real-time lookup is done and the URI is queued for deeper analysis.
Request body (JSON) · 7ShowHide
license
A license key issued by alphaMountain
version
API version; the docs describe version 1
type
The request type, typically partner.info
uri
The URI or URL to assess
scan_depth
One of none, low, medium or high: how thorough the real-time lookup is; deeper levels take longer
resolved_ips
IPv4 or IPv6 addresses the URI resolved to; optional context that improves accuracy
referrer
The HTTP referrer that led to the URI; optional context
Response fields · 6ShowHide
version
API version
threat
Success or Not Found
score
0.0 is a known good site, 5.0 unknown, 10.0 known malicious
scope
domain or path
source
A cached deep analysis score or rt for a real-time score
ttl
Cache expiry for the response, in seconds
curl -X POST 'https://api.alphamountain.ai/threat/uri' \
-H 'Content-Type: application/json' \
-d '{"version":1,"license":"YOUR_API_KEY","type":"partner.info","uri":"http://example.com/","scan_depth":"low"}'{
"version": 1,
"status": {
"threat": "Success"
},
"threat": {
"score": 1.1,
"scope": "domain",
"source": "rt"
},
"ttl": 28800
}