About this endpoint
What it does
Returns a heuristic risk assessment for an IP address based on ASN type and country. You provide an ip query parameter, and the response includes the IP plus risk-related fields such as risk_level and risk_score.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| ip | String | Yes | The IP address to evaluate. |
Response
Returns a JSON object with ip, asn, flags, risk_level, risk_score, asn_description, and asn_country_code fields. risk_level is an enum with values low, medium, or high, and risk_score is an integer from 0 to 100.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| ip | String | No | The IP address evaluated. |
| asn | String | No | The ASN associated with the IP. Nullable. |
| flags | String Array | No | A list of string flags associated with the risk assessment. |
| risk_level | ENUM | No | The risk level. Allowed values: low, medium, high. |
| risk_score | Integer | No | The numeric risk score. Minimum 0, maximum 100. |
| asn_description | String | No | Description of the ASN. Nullable. |
| asn_country_code | String | No | The ASN country code. |