FingerprintJS Pro is available in the following regions

Region

Code

Base API URL

Webhook IP

Global

not required

https://api.fpjs.io

3.217.157.129

EU

eu

https://eu.api.fpjs.io

18.196.47.40

EU Region users

If you chose the EU region during registration, please add this to the JS agent initialization:

FingerprintJS.load({
  token: 'your-pro-key',
  // note that you don't need to specify the region i
  // if you use the global endpoint
+ region: 'eu'
})
import FingerprintJS from '@fingerprintjs/fingerprintjs-pro'
 
const fpPromise = FingerprintJS.load({
  token: 'your-pro-key',
  // 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))
<script>
  // Initialize the agent at application startup.
  const fpPromise = new Promise((resolve, reject) => {
    const script = document.createElement('script');
    script.onload = resolve;
    script.onerror = reject;
    script.async = true;
    script.src = 'https://cdn.jsdelivr.net/npm/'
      + '@fingerprintjs/[email protected]/dist/fp.min.js';
    document.head.appendChild(script);
  })
    .then(() => FingerprintJS.load({
      token: 'your-pro-key',
      // 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>

Did this page help you?