Skip to main content

User Intel | Java SDK

Look up breached users

breached(UserBreachedRequest request)

Determine if an email address, username, phone number, or IP address was exposed in a security breach.

required parameters

UserBreachedRequest

to send to user/breached endpoint

Response Object

UserBreachedResponse

UserBreachedResponse

 UserBreachedRequest request = new UserBreachedRequest
 	.Builder()
 	.phoneNumber("8005550123")
 	.build();

	UserBreachedResponse response = client.breached(request);

Look up breached users V2

breachedBulk(UserBreachedBulkRequest request)

Determine if an email address, username, phone number, or IP address was exposed in a security breach.

required parameters

UserBreachedBulkRequest

Response Object

UserBreachedBulkResponse

UserBreachedBulkResponse

 String[] phoneNumbers = {"8005550123"};

 UserBreachedBulkRequest request = new UserBreachedBulkRequest
 	.Builder()
 	.phoneNumbers(phoneNumbers)
 	.build();

 UserBreachedBulkResponse response = client.breachedBulk(request);

Look up breached passwords

breached(UserPasswordBreachedRequest request)

Determine if a password has been exposed in a security breach using a 5 character prefix of the password hash.

required parameters

UserPasswordBreachedRequest

to send to password/breached endpoint

Response Object

UserPasswordBreachedResponse

UserPasswordBreachedResponse

 UserPasswordBreachedRequest request = new UserPasswordBreachedRequest
 	.Builder(HashType.SHA256, "5baa6")
 	.build();

	UserPasswordBreachedResponse response = client.breached(request);

Look up breached passwords V2

breachedBulk(UserPasswordBreachedBulkRequest request)

Determine if a password has been exposed in a security breach using a 5 character prefix of the password hash.

required parameters

UserPasswordBreachedBulkRequest

Response Object

UserPasswordBreachedBulkResponse

UserPasswordBreachedBulkResponse

 String[] hashPrefixes = {"5baa6"};

 UserPasswordBreachedBulkRequest request = new UserPasswordBreachedBulkRequest
 	.Builder(HashType.SHA256, hashPrefixes)
 	.build();

 UserPasswordBreachedBulkResponse response = client.breachedBulk(request);