All URIs are relative to https://api.cloudmersive.com
Method | HTTP request | Description |
---|---|---|
iPAddressGeolocateStreetAddress | POST /validate/ip/geolocate/street-address | Geolocate an IP address to a street address |
iPAddressIpIntelligence | POST /validate/ip/intelligence | Get intelligence on an IP address |
iPAddressIsBot | POST /validate/ip/is-bot | Check if IP address is a Bot client |
iPAddressIsThreat | POST /validate/ip/is-threat | Check if IP address is a known threat |
iPAddressIsTorNode | POST /validate/ip/is-tor-node | Check if IP address is a Tor node server |
iPAddressPost | POST /validate/ip/geolocate | Geolocate an IP address |
iPAddressReverseDomainLookup | POST /validate/ip/reverse-domain-lookup | Perform a reverse domain name (DNS) lookup on an IP address |
GeolocateStreetAddressResponse iPAddressGeolocateStreetAddress(value)
Geolocate an IP address to a street address
Identify an IP address's street address. Useful for security and UX applications.
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to geolocate, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
GeolocateStreetAddressResponse result = apiInstance.iPAddressGeolocateStreetAddress(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressGeolocateStreetAddress");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to geolocate, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
GeolocateStreetAddressResponse
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml
IPIntelligenceResponse iPAddressIpIntelligence(value)
Get intelligence on an IP address
Identify key intelligence about an IP address, including if it is a known threat IP, known bot, Tor exit node, as well as the location of the IP address.
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to process, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
IPIntelligenceResponse result = apiInstance.iPAddressIpIntelligence(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressIpIntelligence");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to process, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml
BotCheckResponse iPAddressIsBot(value)
Check if IP address is a Bot client
Check if the input IP address is a Bot, robot, or otherwise a non-user entity. Leverages real-time signals to check against known high-probability bots..
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
BotCheckResponse result = apiInstance.iPAddressIsBot(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressIsBot");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to check, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml
IPThreatResponse iPAddressIsThreat(value)
Check if IP address is a known threat
Check if the input IP address is a known threat IP address. Checks against known bad IPs, botnets, compromised servers, and other lists of threats.
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
IPThreatResponse result = apiInstance.iPAddressIsThreat(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressIsThreat");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to check, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml
TorNodeResponse iPAddressIsTorNode(value)
Check if IP address is a Tor node server
Check if the input IP address is a Tor exit node server. Tor servers are a type of privacy-preserving technology that can hide the original IP address who makes a request.
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
TorNodeResponse result = apiInstance.iPAddressIsTorNode(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressIsTorNode");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to check, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml
GeolocateResponse iPAddressPost(value)
Geolocate an IP address
Identify an IP address Country, State/Provence, City, Zip/Postal Code, etc. Useful for security and UX applications.
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to geolocate, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
GeolocateResponse result = apiInstance.iPAddressPost(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to geolocate, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml
IPReverseDNSLookupResponse iPAddressReverseDomainLookup(value)
Perform a reverse domain name (DNS) lookup on an IP address
Gets the domain name, if any, associated with the IP address.
// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.IpAddressApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");
IpAddressApi apiInstance = new IpAddressApi();
String value = "value_example"; // String | IP address to check, e.g. \"55.55.55.55\". The input is a string so be sure to enclose it in double-quotes.
try {
IPReverseDNSLookupResponse result = apiInstance.iPAddressReverseDomainLookup(value);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling IpAddressApi#iPAddressReverseDomainLookup");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
value | String | IP address to check, e.g. "55.55.55.55". The input is a string so be sure to enclose it in double-quotes. |
- Content-Type: application/json, text/json
- Accept: application/json, text/json, application/xml, text/xml