POST /v1/ip/intel ยท 1 credit
Request
{
"ip": "84.17.45.10"
}
| Field |
Type |
Required |
Description |
ip |
string |
โ |
IPv4 or IPv6 address |
Response
{
"input": "84.17.45.10",
"country": "NL",
"city": "Amsterdam",
"asn": 9009,
"asn_org": "M247 Europe SRL",
"vpn": true,
"proxy": false,
"tor": false,
"datacenter": true,
"abuse_score": 72,
"credits_used": 1
}
| Field |
Type |
Description |
input |
string |
Original IP input |
country |
string | null |
ISO 3166-1 alpha-2 country code |
city |
string | null |
City name |
asn |
integer | null |
Autonomous System Number |
asn_org |
string | null |
ASN organization name |
vpn |
boolean |
Detected as VPN exit node |
proxy |
boolean |
Detected as HTTP/SOCKS proxy |
tor |
boolean |
Detected as Tor exit node |
datacenter |
boolean |
IP belongs to a datacenter/cloud provider |
abuse_score |
integer |
0โ100 abuse risk score (higher = more risk) |
credits_used |
integer |
Always 1 |
Example
curl -X POST https://api.checkharbor.com/v1/ip/intel \
-H "X-Api-Key: chk_live_..." \
-H "Content-Type: application/json" \
-d '{"ip": "84.17.45.10"}'
```
const result = await checkharbor.ipIntel("84.17.45.10");
if (result.vpn || result.tor) {
// flag as suspicious
}
```
result = client.ip_intel("84.17.45.10")
if result["vpn"] or result["tor"]:
# flag as suspicious
pass
```