pricing background

IP Reputation API Documentation

IP Reputation API

ASK AI
The IP Reputation API returns threat intelligence for any IPv4 or IPv6 address. It detects VPNs, proxies (including residential), Tor exit nodes, privacy relays, spam activity and known attacker behavior, and classifies bot traffic by type and operator. It also flags cloud provider and corporate gateway IPs and returns the provider name when available. Every response also includes geolocation, network and ASN details for the same IP.

Authorization

You can make authorized requests to our API by passing API key as a query parameter. To get your API key, login to our billing dashboard and get your API key! If your API key has been compromised, you can change it by clicking on reset button in billing dashboard.

Important References

  • For details on request limits and handling rate limiting, refer here
  • For a complete overview of API credit consumption and usage, refer here

Query Parameters

Required
  • apiKey
    Retrieve your API key from the billing dashboard.
  • ip
    The IP address for which you want to retrieve the security response details.
Optional
  • format
    Two formats are available JSON, XML. If you don't specify the 'format' parameter, the default format will be JSON.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
curl -X GET "https://api.whoisfreaks.com/v2.0/security?apiKey=API_KEY&ip=8.8.8.8"

Response

Loading response...

Fields Description

Fields
Details
Data Type
Example
ip
IP address being analyzed
string
8.8.8.8
security
Security and threat intelligence information for the IP
threat_score
Overall threat score from 0 to 100. Higher means riskier.
number
40
is_tor
Indicates if the IP address is part of the Tor network
boolean
false
is_proxy
Indicates whether the IP address is detected as a proxy
boolean
false
proxy_provider_names
List of detected proxy providers. Empty array when none are detected.
array of strings
NetNut, DataImpulse
proxy_confidence_score
Confidence score from 0 to 100 for proxy detection. 0 when is_proxy is false.
number
99
proxy_last_seen
Most recent date proxy activity was observed. Empty string when never observed.
string (YYYY-MM-DD)
2026-09-01
proxy_days_seen_30d
Number of days in the last 30 days on which proxy activity was observed for the IP address.
number
0
proxy_days_seen_7d
Number of days in the last 7 days on which proxy activity was observed for the IP address.
number
0
proxy_provider_count_30d
Number of distinct proxy providers seen using the IP address in the last 30 days.
number
0
is_residential_proxy
Indicates whether the IP address belongs to a residential proxy network
boolean
false
is_vpn
Indicates whether the IP address is associated with a VPN service
boolean
false
vpn_provider_names
List of detected VPN providers. Empty array when none are detected.
array of strings
SurfShark VPN
vpn_confidence_score
Confidence score from 0 to 100 for VPN detection. 0 when is_vpn is false.
number
99
vpn_last_seen
Most recent date VPN activity was observed. Empty string when never observed.
string (YYYY-MM-DD)
2026-07-31
is_relay
Indicates whether the IP address is egress for a privacy relay service.
boolean
false
relay_provider_name
Relay operator name. Empty string when is_relay is false or the operator is unknown.
string
is_anonymous
true when VPN, proxy, Tor or relay is detected. Stays false for corporate gateways.
boolean
false
is_known_attacker
Indicates if the IP address is known for malicious or abusive activity. Always true for bot_type values exploit, credential_stuffing, brute_force and worm.
boolean
true
is_bot
Indicates whether automated activity is associated with the IP address.
boolean
false
bot_confidence_score
Confidence score from 0 to 100 that the IP is associated with bot activity. 0 when is_bot is false.
number
95
bot_operator_name
Organization operating the bot. Usually returned only for known good bots.
string
ChatGPT
bot_type
Type of bot activity detected. See possible values.
string
is_known_good_bot
Indicates whether the bot has a declared, verifiable operator, such as a search engine crawler, monitoring service or security scanner.
boolean
true
bot_last_seen
Most recent date bot activity was observed. Empty string when never observed.
string (YYYY-MM-DD)
2026-09-03
is_spam
Indicates whether the IP address is associated with spam activity
boolean
false
is_cloud_provider
Indicates whether the IP address belongs to a cloud hosting provider
boolean
true
cloud_provider_name
Name of the cloud provider. Empty string when is_cloud_provider is false.
string
Cloudflare, Inc.
is_corporate_gateway
Indicates whether the IP address is an egress address of a corporate secure web gateway (SWG), Secure Service Edge (SSE) or SASE service.
boolean
true
corporate_gateway_type
Type of corporate gateway service. See possible values.
string
secure_web_gatewaySee possible values
corporate_gateway_provider_name
Name of the corporate gateway vendor.
string
Zscaler
location
Geolocation details derived from IP address
continent_code
Continent code
string
NA
continent_name
Continent name
string
North America
country_code2
2-letter country code
string
US
country_code3
3-letter country code
string
USA
country_name
Country name
string
United States
country_name_official
Official country name
string
United States of America
country_capital
Capital city of the country
string
Washington, D.C.
state_prov
State or province name
string
California
state_code
State or region code
string
US-CA
district
District or administrative area
string
Santa Clara
city
City name
string
Mountain View
locality
Local area name
string
Mountain View
accuracy_radius
Accuracy radius of geolocation data
string
2.511
confidence
Confidence level of the geolocation result
string
high
zipcode
Postal code
string
94043-1351
latitude
Latitude coordinate
string
37.42240
longitude
Longitude coordinate
string
-122.08421
is_eu
Indicates whether IP is in EU region
boolean
false
geoname_id
GeoNames identifier
string
6301403
country_emoji
Country flag emoji
string
🇺🇸
network
Network-level information of the IP
connection_type
Type of network connection
string
route
CIDR route or network range associated with the IP address
string
1.1.1.0/24
is_anycast
Indicates whether the IP address is configured as an anycast address
boolean
true
is_cdn
Indicates whether the IP address belongs to a content delivery network
boolean
false
cdn_provider_name
Name of the CDN provider. Empty string when is_cdn is false.
string
asn
Autonomous System Number details
as_number
ASN identifier
string
AS15169
organization
Organization owning ASN
string
Google LLC
country
Country of ASN registration
string
US
type
Type of organization, such as HOSTING, ISP or BUSINESS
string
BUSINESS
domain
Associated organization domain
string
about.google
date_allocated
ASN allocation date
string (YYYY-MM-DD)
2000-03-30
rir
Regional Internet Registry
string
ARIN

bot_type Possible Values

Values are added over time, so treat bot_type as a plain string.

Value
is_known_good_bot
Description
search_engine
true
Search index crawlers such as Googlebot, Bingbot and Applebot
ai_crawler
true
Bulk crawlers that collect content for AI training, such as GPTBot and ClaudeBot
ai_assistant
true
Live fetches an AI assistant makes for a user, such as ChatGPT-User
seo_crawler
true
Backlink and keyword crawlers from SEO platforms such as Ahrefs and Semrush
site_monitor
true
Uptime and performance monitors such as Pingdom and UptimeRobot
link_preview
true
Fetchers that build link previews, such as Slackbot and Twitterbot
feed_fetcher
true
RSS, podcast, sitemap and site verification fetchers
archiver
true
Public archive and research crawlers such as Common Crawl and the Wayback Machine
ad_verification
true
Ad crawlers and ad verification services such as AdsBot-Google
scanner
true or false
Internet-wide host, port or URL probing. true for published scanners such as Censys and Shodan, false when there is no published operator.
scraper
false
Content harvesting with no identifiable operator
exploit
false
Automated attempts against known vulnerabilities and CVEs. Returned with is_known_attacker: true.
credential_stuffing
false
Replay of stolen username and password pairs. Returned with is_known_attacker: true.
brute_force
false
Password guessing against login, SSH or admin endpoints. Returned with is_known_attacker: true.
worm
false
Self-propagating infection attempts from compromised hosts. Returned with is_known_attacker: true.

corporate_gateway_type Possible Values

Value
Description
secure_web_gateway
Standard secure web gateway (SWG, SSE or SASE) egress. Employee traffic is inspected in the vendor's cloud and reaches your site from this IP. Covers most gateway ranges.
browser_isolation
Remote browser isolation egress. The page is rendered in a browser in the vendor's cloud, so this IP fetches the page instead of the user's device.

Bulk IP Reputation Lookup

The Bulk IP Reputation API checks up to 100 IPv4 or IPv6 addresses in one request. Each IP is processed on its own and returns the same security, location, network and asn objects as a single lookup. If an IP is invalid, only that entry returns an error object. Results for all other IPs are still returned in the same response. The response is a JSON array with one object per IP, in the same format as a single IP Reputation lookup.

Query Parameters

Required
  • apiKey
    Obtain your API key from the billing dashboard.
Optional
  • format
    Two formats are available JSON, XML. If you don't specify the 'format' parameter, the default format will be JSON.

Request Body

Send a JSON object with the header Content-Type: application/json.

  • ips
    Required. Array of up to 100 IPv4 or IPv6 addresses, e.g. {"ips": ["1.1.1.1", "8.8.8.8"]}.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
curl -X POST "https://api.whoisfreaks.com/v2.0/security?apiKey=API_KEY" -H "Content-Type: application/json" -d '{"ips":["1.1.1.1","2.2.2.2","8.8.8.8"]}'

Response

Loading response...

Fields Description

Fields
Details
Data Type
Example
[ ] (response body)
A JSON array with one object per IP in the request. Each object has the same fields as the IP Reputation Lookup response (ip, security, location, network, asn). An invalid IP returns an error object in its place.
array of objects
[{"ip": "1.1.1.1", "security": {...}}, {"ip": "8.8.8.8", "security": {...}}]