IP
Intelligence

Analyze any IP address to detect VPNs, proxies, Tor exit nodes, data center connections, and known abusers. Get geolocation data, network ownership, routing information, and abuse contact details in a single request.

Endpoint

GET/api/v1/ip/check/

Authentication

This endpoint requires an API key. Include your key in the X-sg-apikey header. See the Authentication page for details.

Parameters

ParameterTypeRequiredDescription
ipstringYesIPv4 or IPv6 address to analyze (e.g., 192.0.2.1 or 2001:db8::1)

Example Request

Check an IP address
curl
curl -X GET "https://signupguard.io/api/v1/ip/check/?ip=192.0.2.1" \
  -H "X-sg-apikey: sg-your-api-key-here"

Example Response

The response includes threat classification, network ownership, abuse contact information, routing details, and geolocation data.

200 OK — IP intelligence data
json
{
  "success": true,
  "data": {
    "ip": "192.0.2.1",
    "rir": "APNIC",
    "threats": {
      "is_bogon": false,
      "is_mobile": false,
      "is_satellite": false,
      "is_crawler": false,
      "is_datacenter": false,
      "is_tor": false,
      "is_proxy": false,
      "is_vpn": false,
      "is_abuser": false
    },
    "network_owner": {
      "name": "Example ISP Inc.",
      "domain": "exampleisp.com",
      "type": "isp",
      "network": "192.0.2.0/24",
      "abuse_score": "0"
    },
    "abuse_contact": {
      "name": "Abuse Department",
      "address": "123 Network St, San Francisco, CA",
      "email": "[email protected]",
      "phone": "+1-555-0100"
    },
    "routing": {
      "asn": 64512,
      "route": "192.0.2.0/24",
      "description": "EXAMPLE-NET",
      "country": "US",
      "organization": "Example Corp",
      "domain": "exampleisp.com",
      "type": "isp",
      "rir": "ARIN",
      "active": true,
      "abuse_score": "0",
      "updated": "2025-01-15T00:00:00Z"
    },
    "location": {
      "continent": "North America",
      "country": "United States",
      "country_code": "US",
      "state": "California",
      "city": "San Francisco",
      "zip_code": "94102",
      "latitude": 37.7749,
      "longitude": -122.4194,
      "timezone": "America/Los_Angeles",
      "local_time": "2026-02-22 10:30:00",
      "is_eu_member": false
    }
  }
}

Example Response — Reserved / Bogon IP

When a reserved, private, or bogon IP address is queried, most fields will be null since these addresses have no public routing or geolocation data.

200 OK — Bogon IP
json
{
  "success": true,
  "data": {
    "ip": "127.0.0.1",
    "rir": null,
    "threats": {
      "is_bogon": true,
      "is_mobile": false,
      "is_satellite": false,
      "is_crawler": false,
      "is_datacenter": false,
      "is_tor": false,
      "is_proxy": false,
      "is_vpn": false,
      "is_abuser": false
    },
    "network_owner": {
      "name": null,
      "domain": null,
      "type": null,
      "network": null,
      "abuse_score": null
    },
    "abuse_contact": {
      "name": null,
      "address": null,
      "email": null,
      "phone": null
    },
    "routing": {
      "asn": null,
      "route": null,
      "description": null,
      "country": null,
      "organization": null,
      "domain": null,
      "type": null,
      "rir": null,
      "active": false,
      "abuse_score": null,
      "updated": null
    },
    "location": {
      "continent": null,
      "country": null,
      "country_code": null,
      "state": null,
      "city": null,
      "zip_code": null,
      "latitude": null,
      "longitude": null,
      "timezone": null,
      "local_time": null,
      "is_eu_member": false
    }
  }
}

Response Fields

Threat Indicators

The threats object contains boolean flags for various threat categories. Use these to make risk-based decisions about incoming traffic.

FieldTypeDescription
is_bogonbooleanIP is a reserved, private, or unroutable address (e.g., 127.0.0.1, 10.x.x.x, 192.168.x.x).
is_mobilebooleanIP belongs to a mobile / cellular carrier network.
is_satellitebooleanIP originates from a satellite internet provider.
is_crawlerbooleanIP is associated with a known search engine crawler or bot.
is_datacenterbooleanIP belongs to a cloud or hosting provider (e.g., AWS, Azure, DigitalOcean). Often indicates automated traffic.
is_torbooleanIP is a known Tor network exit node.
is_proxybooleanIP is associated with a known proxy service.
is_vpnbooleanIP is associated with a known VPN provider.
is_abuserbooleanIP has been flagged for abusive behavior such as spam, brute force attacks, or scraping.

Network Owner

Information about the organization that owns the IP range.

namestring | null

The name of the network owner (e.g., 'Comcast Cable Communications').

domainstring | null

The website domain of the network owner.

typestring | null

The type of network owner — typically 'isp', 'business', 'hosting', or 'education'.

networkstring | null

The CIDR notation of the IP's network block (e.g., '192.0.2.0/24').

abuse_scorestring | null

An abuse confidence score for the network. Higher values indicate more abuse reports.

Abuse Contact

Contact information for reporting abuse from this IP range, as registered with the relevant internet registry.

namestring | null

Name of the abuse contact or department.

addressstring | null

Physical address of the abuse contact.

emailstring | null

Email address for abuse reports.

phonestring | null

Phone number for abuse reports.

Routing

BGP routing and ASN (Autonomous System Number) information for the IP address.

asninteger | null

The Autonomous System Number associated with this IP.

routestring | null

The BGP route (CIDR) this IP is announced under.

descriptionstring | null

Description of the AS as registered in the routing registry.

countrystring | null

Country code (ISO 3166-1 alpha-2) where the AS is registered.

organizationstring | null

Name of the organization operating the AS.

domainstring | null

Domain of the organization operating the AS.

typestring | null

Type classification (e.g., 'isp', 'business', 'hosting').

rirstring | null

Regional Internet Registry (e.g., ARIN, RIPE, APNIC).

activeboolean

Whether the route is currently active in BGP tables.

abuse_scorestring | null

Abuse confidence score for this AS.

updatedstring | null

Last time the routing record was updated (ISO 8601).

Location

Geolocation data derived from the IP address. Accuracy varies by IP type — ISP IPs are generally accurate to the city level, while VPN and mobile IPs may only be accurate to the country level.

continentstring | null

Continent name (e.g., 'North America', 'Europe').

countrystring | null

Country name (e.g., 'United States').

country_codestring | null

ISO 3166-1 alpha-2 country code (e.g., 'US').

statestring | null

State or region name.

citystring | null

City name.

zip_codestring | null

Postal / ZIP code.

latitudenumber | null

Geographic latitude coordinate.

longitudenumber | null

Geographic longitude coordinate.

timezonestring | null

IANA timezone identifier (e.g., 'America/Los_Angeles').

local_timestring | null

Current local time at the IP's location.

is_eu_memberboolean

Whether the IP's country is an EU member state. Useful for GDPR compliance decisions.

Common Use Cases

  • Signup fraud prevention: Block or flag registrations from Tor, VPN, proxy, or data center IPs to reduce fake accounts.
  • Transaction risk scoring: Combine IP intelligence with email verification to build a comprehensive risk profile for each transaction.
  • Geo-restriction: Use location data to enforce regional access controls or comply with local regulations.
  • Bot detection: Identify automated traffic from data centers and known crawlers.
  • GDPR compliance: Use the is_eu_member flag to apply appropriate data handling for EU users.
  • Abuse reporting: Use the abuse contact information to report malicious activity to the responsible network operator.

Integration Examples

Python

python — requests
python
import requests

response = requests.get(
    "https://signupguard.io/api/v1/ip/check/",
    params={"ip": "203.0.113.42"},
    headers={"X-sg-apikey": "sg-your-api-key-here"}
)

data = response.json()["data"]
threats = data["threats"]

# Check for high-risk signals
is_high_risk = any([
    threats["is_tor"],
    threats["is_proxy"],
    threats["is_vpn"],
    threats["is_datacenter"],
    threats["is_abuser"],
])

if is_high_risk:
    print(f"High-risk IP detected: {data['ip']}")
    print(f"  VPN: {threats['is_vpn']}")
    print(f"  Tor: {threats['is_tor']}")
    print(f"  Proxy: {threats['is_proxy']}")
    print(f"  Datacenter: {threats['is_datacenter']}")
else:
    print(f"IP appears clean: {data['ip']}")
    print(f"  Location: {data['location']['city']}, {data['location']['country']}")

JavaScript / Node.js

javascript — fetch
javascript
const response = await fetch(
  "https://signupguard.io/api/v1/ip/check/?ip=203.0.113.42",
  {
    headers: {
      "X-sg-apikey": "sg-your-api-key-here"
    }
  }
);

const { data } = await response.json();
const { threats, location } = data;

const isHighRisk = threats.is_tor || threats.is_proxy ||
                   threats.is_vpn || threats.is_datacenter ||
                   threats.is_abuser;

if (isHighRisk) {
  console.log(`High-risk IP: ${data.ip}`);
} else {
  console.log(`Clean IP from ${location.city}, ${location.country}`);
}

Error Responses

Missing IP Parameter — 400

{
  "success": false,
  "errors": {
    "ip": ["This field is required."]
  }
}

Invalid IP Format — 400

{
  "success": false,
  "errors": {
    "ip": ["Enter a valid IPv4 or IPv6 address."]
  }
}

Upstream Service Error — 422

{
  "success": false,
  "message": "Unable to process IP lookup at this time. Please try again."
}

For a complete list of error codes, see the Error Handling page.

Next Steps