Skip to main content

IP Intel | C# SDK

The IP Intel service allows you to retrieve security information about known IP addresses that have been collected across the internet for several decades, giving you insight into the reputation of an IP.

IP Intel

IPIntelClient

IP Intel client.

var config = new Config("pangea_token", "pangea_domain");
var builder = new IPIntelClient.Builder(config);
var client = builder.Build();

Geolocate

IPIntelClient.Geolocate(IPGeolocateRequest)

Retrieve location information associated with an IP address.

required parameters

IPGeolocateRequest

IPGeolocateRequest with the ip to be looked up

Response Object

Task<Response<IPGeolocateResult>>

Response<IPGeolocateResult>

var request = new IPGeolocateRequest.Builder(
    "93.231.182.110")
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.Geolocate(request);

Geolocate V2

IPIntelClient.GeolocateBulk(IPGeolocateBulkRequest)

Retrieve location information associated with a list of IP addresses.

required parameters

IPGeolocateBulkRequest

IPGeolocateBulkRequest with the ips to be looked up

Response Object

Task<Response<IPGeolocateBulkResult>>

Response<IPGeolocateBulkResult>

string[] ips = new string[1] {"93.231.182.110"};
var request = new IPGeolocateBulkRequest.Builder(ips)
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.GeolocateBulk(request);

Domain

IPIntelClient.GetDomain(IPDomainRequest)

Retrieve the domain name associated with an IP address.

required parameters

IPDomainRequest

IPDomainRequest with the ip to be looked up

Response Object

Task<Response<IPDomainResult>>

Response<IPDomainResult>

var request = new IPDomainRequest.Builder(
    "24.235.114.61")
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.GetDomain(request);

Domain V2

IPIntelClient.GetDomainBulk(IPDomainBulkRequest)

Retrieve the domain names associated with a list of IP addresses.

required parameters

IPDomainBulkRequest

IPDomainBulkRequest with the ips to be looked up

Response Object

Task<Response<IPDomainBulkResult>>

Response<IPDomainBulkResult>

string[] ips = new string[1] {"24.235.114.61"};
var request = new IPDomainBulkRequest.Builder(ips)
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.GetDomainBulk(request);

VPN

IPIntelClient.IsVPN(IPVPNRequest)

Determine if an IP address originates from a VPN.

required parameters

IPVPNRequest

IPVPNRequest with the ip to be looked up

Response Object

Task<Response<IPVPNResult>>

Response<IPVPNResult>

var request = new IPVPNRequest.Builder(
    "2.56.189.74")
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.IsVPN(request);

VPN V2

IPIntelClient.IsVPNBulk(IPVPNBulkRequest)

Determine which IP addresses originate from a VPN.

required parameters

IPVPNBulkRequest

IPVPNBulkRequest with the ips to be looked up

Response Object

Task<Response<IPVPNBulkResult>>

Response<IPVPNBulkResult>

string[] ips = new string[1] {"2.56.189.74"};
var request = new IPVPNBulkRequest.Builder(ips)
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.IsVPNBulk(request);

Proxy

IPIntelClient.IsProxy(IPProxyRequest)

Determine if an IP address originates from a proxy.

required parameters

IPProxyRequest

IPProxyRequest with the ip to be looked up

Response Object

Task<Response<IPProxyResult>>

Response<IPProxyResult>

var request = new IPProxyRequest.Builder(
    "34.201.32.172")
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.IsProxy(request);

Proxy V2

IPIntelClient.IsProxyBulk(IPProxyBulkRequest)

Determine which IP addresses originate from a proxy.

required parameters

IPProxyBulkRequest

IPProxyBulkRequest with the ip to be looked up

Response Object

Task<Response<IPProxyBulkResult>>

Response<IPProxyBulkResult>

string[] ips = new string[1] {"34.201.32.172"};
var request = new IPProxyBulkRequest.Builder(ips)
    .WithProvider("digitalelement")
    .WithVerbose(false)
    .WithRaw(false)
    .Build();
var response = await client.IsProxyBulk(request);

Reputation

IPIntelClient.Reputation(IPReputationRequest)

Retrieve a reputation score for an IP address from a provider, including an optional detailed report.

required parameters

IPReputationRequest

IPReputationRequest with the ip to be looked up

Response Object

Task<Response<IPReputationResult>>

Response<IPReputationResult>

var request = new IPReputationRequest.Builder(
    "93.231.182.110")
    .WithProvider("crowdstrike")
    .WithVerbose(true)
    .WithRaw(true)
    .Build();
var response = await client.Reputation(request);

Reputation V2

IPIntelClient.ReputationBulk(IPReputationBulkRequest)

Retrieve reputation scores for a list of IP addresses, from a provider, including an optional detailed report.

required parameters

IPReputationBulkRequest

IPReputationBulkRequest with the ip list to be looked up

Response Object

Task<Response<IPReputationBulkResult>>

Response<IPReputationBulkResult>

string[] ips = new string[1] {"93.231.182.110"};
var request = new IPReputationBulkResult.Builder(ips)
    .WithProvider("crowdstrike")
    .WithVerbose(true)
    .WithRaw(true)
    .Build();
var response = await client.ReputationBulk(request);