Fingerprint Pro is available in the following regions

RegionCodeBase API URL
Global (US)not required, defaults to ushttps://api.fpjs.io
EUeuhttps://eu.api.fpjs.io
Asia (Mumbai)aphttps://ap.api.fpjs.io

Non-global Region users

If you chose a non-global region during registration, please add this to the JS agent initialization:

FingerprintJS.load({
  apiKey: '<<browserToken>>',
  // note that you don't need to specify the region
  // if you use the global endpoint
+ region: 'eu'
})
FingerprintJS.load({
  apiKey: '<<browserToken>>',
  // note that you don't need to specify the region
  // if you use the global endpoint
+ region: 'ap'
})

In the following examples we will use the EU region code for simplicity:

<script>
  // Initialize the agent at application startup.
  const fpPromise = import('https://fpjscdn.net/v3/<<browserToken>>')
    .then(FingerprintJS => FingerprintJS.load({
      // note that you don't need to specify the region 
      // if you use the global endpoint
      region: 'eu'
    }));

  // Get the visitor identifier when you need it.
  fpPromise
    .then(fp => fp.get())
    .then(result => console.log(result.visitorId));
</script>
import FingerprintJS from '@fingerprintjs/fingerprintjs-pro'
 
const fpPromise = FingerprintJS.load({
  apiKey: '<<browserToken>>',
  // note that you don't need to specify the region 
  // if you use the global endpoint
  region: 'eu'
})

// When you need the visitor identifier:
fpPromise
  .then(fp => fp.get())
  .then(result => console.log(result.visitorId))

What’s Next