Threat

You can use this endpoint to determine the level of suspicion and safety confidence.

Endpoint: https://alyx.ro/api/v1/threat

This endpoint requires an authorization header to function properly. It only supports the GET method, and the parameters listed below must be provided as query parameters. (no cache)

name
required

ip

There are two trust scores, based on:

  • confidence score between 0.0 and 1.0 indicating likelihood of being a VPN/proxy (float)

  • threat between 0.0 and 1.0 based on blacklist appearances (float)

Each request includes a reputation field, which is an approximation derived from the confidence level.

reputation
confidence

excellent

between 0.0 and 0.3

good

between 0.3 and 0.5

poor

between 0.5 and 0.7

bad

between 0.7 and 1.0

The object below demonstrates the correct usage of this endpoint.

{
    "success": true,
    "data": {
        "ip": "188.212.101.107",
        "confidence": 0,
        "asn": "AS39383",
        "isp": "Telesystem SRL",
        "country": "Romania",
        "threat": 0,
        "reputation": "excellent"
    },
    "query_time": 0.002
}

Last updated