Migration

Switching is a rename,
not a rewrite

Prynt is API-shaped to match. Most apps migrate in under an hour.

01 Browser SDK

Before
import FingerprintJS from '@fingerprintjs/fingerprintjs-pro';

const fp = await FingerprintJS.load({ apiKey: 'FPJS_PUBLIC_KEY' });
const { visitorId, requestId } = await fp.get();
Prynt
import Prynt from '@pryntid/js';

const prynt = await Prynt.load({ apiKey: 'pk_live_…' });
const { visitorId, requestId } = await prynt.identify();

.get() keeps working (it is an alias of .identify()); no endpoint is needed on Prynt Cloud. The return shape matches. The @pryntid/js npm package is not published yet (October 31, 2026): until it is, load the agent with the script tag from the docs and drop the import line.

02 React

Before
import { useVisitorData } from '@fingerprintjs/fingerprintjs-pro-react';
const { data } = useVisitorData();
Prynt
// @pryntid/react is not on npm yet (Oct 31, 2026)
import { useVisitorData } from '@pryntid/react';
const { data } = useVisitorData();

Same useVisitorData() hook name and data shape. Swap the provider import.

03 Server verification

Before
// Server-side (commercial Server API)
const res = await fetch(
  `https://api.fpjs.io/events/${requestId}`,
  { headers: { 'Auth-API-Key': 'SECRET_KEY' } });
Prynt
// Server-side (@pryntid/node)
import { PryntServer } from '@pryntid/node';
const prynt = new PryntServer({ secretKey: 'sk_live_…' });
const event = await prynt.getEvent(requestId);

The @pryntid/node package is not on npm yet; until it is, call GET https://api.pryntid.com/v1/events/{requestId} with your secret key — it returns the same event.

Field mapping

BeforePryntNotes
visitorId visitorId Stable device identity. Same concept, same field name.
requestId requestId Per-call id you verify server-side. Same name.
confidence.score confidence.score Both 0–1. Prynt also gives confidence.level.
products.botd smartSignals.bot Bot detection result.
products.incognito smartSignals.incognito Private-mode detection.
products.vpn smartSignals.vpn VPN / proxy — plus tor, datacenter, residentialProxy.
products.tampering smartSignals.tampering Includes anomalyScore.
linkedId linkedId Your own user id to associate. Same name.
tag tag Arbitrary metadata per event. Same name.

Prynt adds what higher tiers gate or never offer: test/live environments, a free tier, an append-only signal history, deep network intelligence, and a machine-readable OpenAPI spec.