Global

Type Definitions

IPintel

Properties:
Name Type Description
status string

e.g. 'success'

result string

e.g. '0.99992799758911'. see https://getipintel.net/free-proxy-vpn-tor-detection-api/#expected_output

queryIP string

e.g. '185.94.111.1'

BadIP number

e.g. 1 for bad

Country string

geolocation of the IP address in ISO-3166 format e.g. 'RU'

ts number

timestamp of the query result e.g. 1570792169764

IPintel is an object with properties similar to this.

Example
// IPintel
{	status: 'success',
	result: '0.99992799758911',
	queryIP: '185.94.111.1',
	queryFlags: 'f',
	queryOFlags: 'coflags=b',
	queryFormat: 'json',
	contact: 'test@anonymous.com',
	BadIP: 1,
	Country: 'RU'
	ts: 1570792169764},

sessionOptions

Properties:
Name Type Attributes Default Description
contact string

e.g. 'youremail@real.address'. See https://getipintel.net/free-proxy-vpn-tor-detection-api/#expected_input

port number <optional>
443

e.g. 80

timeout number <optional>
6000

the http(s) timeout in ms.

cacheTime number <optional>
3600

the maximum time for intel results to be cached locally, in seconds.

rateLimit boolean <optional>
true

when set to FALSE no rate limiting will be applied

sessionOptions is an object used to setup a new session

Example
// sessionOptions
{
	contact: 'youremail@real.address',
	cacheTime: 0,
}