Built for developers who ship fast
TypeScript-first SDKs with full type coverage. Install in seconds, identify devices in under 40ms, and scale from prototype to production without rewriting integrations.
Recommended CDN script — exposes the LightningResearchSDK global. Prefer a bundler? Install via npm below.
SDK Libraries
Pick your stack
Official libraries for every platform — from browser bundles to native mobile and server-side verification.
JavaScript / TypeScript SDK
Browser fingerprint collection and device identification with 90+ signals and full type coverage.
npm install @lightningresearch/sdkiOS SDK (Beta)
Native Swift package for iOS fingerprinting with Metal GPU, Secure Enclave, and sensor signals. Beta — in active development.
.package(url: "https://github.com/lightningresearch/ios-sdk")Android SDK (Beta)
Native Kotlin library for Android fingerprinting with OpenGL ES, root detection, and hardware signals. Beta — in active development.
implementation("ai.lightningresearch:android-sdk:2.0.0")Quick Start
Three steps to production
Most teams ship their first identification in under five minutes.
Install
Drop in the CDN script tag — or install with npm, yarn, or pnpm for bundler apps. Zero runtime dependencies in the browser bundle.
Initialize
Mint a collector session on your server, pass the token to the client, and configure your API endpoint.
Identify
Call identify() on each visit. Receive a stable device ID, confidence score, and risk signals in under 40ms.
import { LightningResearch } from '@lightningresearch/sdk'
// Your backend mints a short-lived collector session (see docs)
const { sessionToken } = await fetch('/api/collector/session', {
method: 'POST',
}).then((res) => res.json())
const client = new LightningResearch({
sessionToken,
endpoint: 'https://api.lrdefender.lightningresearch.ai',
})
const result = await client.identify()
console.log(result.deviceId) // "fp_9k2x..."
console.log(result.confidence) // 0.991
console.log(result.risk.level) // "low"API
API reference
REST endpoints, webhook events, and OpenAPI — everything your backend needs.
OpenAPI Spec
Machine-readable API schema for codegen and contract testing.
Resources
Developer resources
Docs, tools, and support to keep your integration running smoothly.
Start free — 10K identifications/month, no credit card
Create an account, grab your API keys, and ship device intelligence to production today. Upgrade when you're ready — no surprises.