Skip to main content

IP Lookup API

How It Works

The IP Lookup API is designed to provide detailed insights about an IP address, including its location, risk factors, and associated network information. This service helps you detect potentially malicious activities originating from high-risk IPs, such as proxies, VPNs, or known bad actors. By integrating this API, you can bolster your fraud prevention measures and identify suspicious activities in real time.

Key Features:

  • Identifies proxy, VPN, and Tor usage.
  • Provides geolocation data such as country, city, and ISP.
  • Returns a fraud score to assess IP risk levels.
  • Detects botnets and known attackers.

Integration

Endpoint:

api/iplookup

Method:

POST

Base URL:

https://api.boltidentity.com/

Request Headers

{
"licenseKey": "YOUR_API_KEY",
"Content-Type": "application/json"
}

Request Body

The request must include the IP address to be validated.

{
"ip": "192.168.1.1"
}

Example Request (Using Fetch)

const response = await fetch('https://api.boltidentity.com/api/iplookup', {
method: 'POST',
headers: {
'licenseKey': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
ip: "192.168.1.1"
})
});

const data = await response.json();

Sample Response

Understand Response

FieldDescriptionPossible Values / Example
statusIndicates the overall result of the IP lookup.Verified, Declined
messageProvides additional context about the status.Examples: "High fraud risk IP Address detected.", "Success"
asnAutonomous System Number (ASN) of the IP address.Example: 212238
ispInternet Service Provider associated with the IP.Example: "Datacamp"
activeTorIndicates whether the IP is actively using the Tor network.true, false
activeVpnIndicates whether the IP is actively using a VPN.true, false
botStatusIndicates whether the IP is associated with bot activity.true, false
cityCity associated with the IP address.Example: "Frankfurt am Main"
countryCodeISO country code for the IP address.Example: "DE"
fraudScoreA risk score indicating the likelihood of fraudulent activity.Integer: 0 (low risk) to 100 (high risk)
hostReverse DNS or hostname for the IP.Example: "unn-87-249-132-137.datapacket.com"
isCrawlerIndicates if the IP belongs to a known web crawler.true, false
latitudeLatitude of the IP's geographical location.Example: 50.11999893
longitudeLongitude of the IP's geographical location.Example: 8.68000031
mobileIndicates if the IP is associated with mobile devices.true, false
organizationOrganization name linked to the IP address.Example: "CyberGhost VPN"
proxyIndicates whether the IP is behind a proxy.true, false
recentAbuseIndicates if the IP was recently flagged for abusive activity.true, false
regionRegion or state associated with the IP address.Example: "Hesse"
timezoneTimezone of the IP's location.Example: "Europe/Berlin"
torIndicates if the IP is part of the Tor network.true, false
vpnIndicates if the IP is using a VPN.true, false
zipCodePostal code for the IP's geographical location.Example: "53003"
messageStatus message of the lookup request.Example: "Success"