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
/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
| Parameter | Type | Required | Description |
|---|---|---|---|
ip | string | Yes | IPv4 or IPv6 address to analyze (e.g., 192.0.2.1 or 2001:db8::1) |
Example Request
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.
{
"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.
{
"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.
| Field | Type | Description |
|---|---|---|
is_bogon | boolean | IP is a reserved, private, or unroutable address (e.g., 127.0.0.1, 10.x.x.x, 192.168.x.x). |
is_mobile | boolean | IP belongs to a mobile / cellular carrier network. |
is_satellite | boolean | IP originates from a satellite internet provider. |
is_crawler | boolean | IP is associated with a known search engine crawler or bot. |
is_datacenter | boolean | IP belongs to a cloud or hosting provider (e.g., AWS, Azure, DigitalOcean). Often indicates automated traffic. |
is_tor | boolean | IP is a known Tor network exit node. |
is_proxy | boolean | IP is associated with a known proxy service. |
is_vpn | boolean | IP is associated with a known VPN provider. |
is_abuser | boolean | IP 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 | nullThe name of the network owner (e.g., 'Comcast Cable Communications').
domainstring | nullThe website domain of the network owner.
typestring | nullThe type of network owner — typically 'isp', 'business', 'hosting', or 'education'.
networkstring | nullThe CIDR notation of the IP's network block (e.g., '192.0.2.0/24').
abuse_scorestring | nullAn 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 | nullName of the abuse contact or department.
addressstring | nullPhysical address of the abuse contact.
emailstring | nullEmail address for abuse reports.
phonestring | nullPhone number for abuse reports.
Routing
BGP routing and ASN (Autonomous System Number) information for the IP address.
asninteger | nullThe Autonomous System Number associated with this IP.
routestring | nullThe BGP route (CIDR) this IP is announced under.
descriptionstring | nullDescription of the AS as registered in the routing registry.
countrystring | nullCountry code (ISO 3166-1 alpha-2) where the AS is registered.
organizationstring | nullName of the organization operating the AS.
domainstring | nullDomain of the organization operating the AS.
typestring | nullType classification (e.g., 'isp', 'business', 'hosting').
rirstring | nullRegional Internet Registry (e.g., ARIN, RIPE, APNIC).
activebooleanWhether the route is currently active in BGP tables.
abuse_scorestring | nullAbuse confidence score for this AS.
updatedstring | nullLast 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 | nullContinent name (e.g., 'North America', 'Europe').
countrystring | nullCountry name (e.g., 'United States').
country_codestring | nullISO 3166-1 alpha-2 country code (e.g., 'US').
statestring | nullState or region name.
citystring | nullCity name.
zip_codestring | nullPostal / ZIP code.
latitudenumber | nullGeographic latitude coordinate.
longitudenumber | nullGeographic longitude coordinate.
timezonestring | nullIANA timezone identifier (e.g., 'America/Los_Angeles').
local_timestring | nullCurrent local time at the IP's location.
is_eu_memberbooleanWhether 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_memberflag 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
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
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.