Skip to content

idanalyzer/id-analyzer-v2-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ID Analyzer Java SDK — Identity Verification, KYC, Document & Biometric API

Maven Central javadoc license

Official Java / Kotlin client library for the ID Analyzer API v2 — automate identity document verification, KYC onboarding and biometric checks in minutes.

Scan and authenticate passports, driver's licenses, ID cards, visas and residence permits from 190+ countries, run 1:1 face match and liveness detection, screen against AML / PEP / sanctions watchlists, and onboard users remotely with DocuPass hosted verification & e-signature.

Features

  • Document OCR & authentication — passport, driver's license, ID card, visa & residence-permit recognition from 190+ countries, including MRZ and PDF417 / AAMVA barcode parsing.
  • Biometric verification — 1:1 face match and liveness / presentation-attack detection.
  • AML screening — PEP, sanctions, watchlist and adverse-media checks.
  • DocuPass — hosted, no-code remote identity verification, KYC/AML onboarding and legally-binding e-signature.
  • KYC profiles, transaction vault, contract generation and webhooks.
  • US & EU data-residency regions.

⚠️ Never embed your API key in client-side apps (mobile, browser JS). Call the API from your server.

Installation

Maven:

<dependency>
    <groupId>com.idanalyzer</groupId>
    <artifactId>id-analyzer-v2</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle:

implementation 'com.idanalyzer:id-analyzer-v2:1.0.0'

Requires Java 11+ (built on java.net.http; JSON via Jackson).

Authentication & region

Pass your API key to the constructor, or set the IDANALYZER_KEY environment variable. The SDK targets the US endpoint (https://api2.idanalyzer.com) by default; select the EU endpoint via IDANALYZER_REGION=eu or new IDAnalyzerClient(key, "eu"). For on-premise ID Fort, call client.setBaseUrl("https://your-host").

Quick start

import com.idanalyzer.*;
import com.fasterxml.jackson.databind.JsonNode;

IDAnalyzerClient client = new IDAnalyzerClient("YOUR_API_KEY");

Profile profile = new Profile(Profile.SECURITY_MEDIUM);
client.scanner.setProfile(profile);

// Scan a document + selfie for biometric verification
JsonNode result = client.scanner.scan("id_front.jpg", "", "selfie.jpg", "");
System.out.println(result.get("decision"));   // accept / review / reject

Examples

// AML / PEP / sanctions screening
client.aml.search("John Smith", null, 0, "US", null, null);   // POST /aml
client.aml.searchV3("John Smith", null, 10, 1);               // POST /amlv3

// DocuPass — hosted remote verification link
Docupass.CreateRequest req = new Docupass.CreateRequest();
req.profile = "YOUR_PROFILE_ID";
JsonNode link = client.docupass.createDocupass(req);
System.out.println(link.get("url"));

API coverage

The SDK wraps the complete ID Analyzer API v2 surface via service fields on the client:

Service Methods
client.scanner scan, quickScan, veryQuickScan
client.biometric verifyFace, verifyLiveness
client.aml search (/aml), searchV3 (/amlv3)
client.contract generate + template CRUD
client.transaction getTransaction, listTransaction, updateTransaction, deleteTransaction, exportTransaction, saveImage, saveFile
client.docupass createDocupass, listDocupass, getDocupass, deleteDocupass
client.profile KYC profile create / list / get / update / delete / export
client.webhook listWebhook, resendWebhook, deleteWebhook
client.account getAccount

Resources

Other ID Analyzer SDKs

PHP · Python · Node.js · .NET · Java · Go

License

MIT © ID Analyzer — see LICENSE.

About

.Java/Kotlin SDK for the ID Analyzer API v2 (api2.idanalyzer.com)

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages