> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fingerprint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Node Server SDK

> The [Fingerprint Server Node SDK](https://github.com/fingerprintjs/node-sdk/tree/api-v3) is an easy way to interact with our Server API from your Node application. You can retrieve visitor history or individual identification events. View our [Node Server SDK quickstart](/docs/v3/node-server-quickstart) for a step-by-step guide to get started.

export const DeprecatedVersion = ({currentPath}) => <Warning>
    This version is deprecated. See the{" "}
    <a href="/reference/api-deprecation-policy">deprecation policy</a> and use
    the <a href={currentPath}>current version</a> instead.
  </Warning>;

<DeprecatedVersion currentPath="/reference/node-server-sdk" />

### How to install

Add `@fingerprintjs/fingerprintjs-pro-server-api` as a dependency to your application via npm or yarn.

```bash Bash theme={"theme":"github-dark-dimmed"}
npm install @fingerprintjs/fingerprintjs-pro-server-api
```

```bash bash theme={"theme":"github-dark-dimmed"}
yarn add @fingerprintjs/fingerprintjs-pro-server-api
```

Initialize the client instance and use it to make API requests. You need to specify your secret API key and region.

```typescript TypeScript theme={"theme":"github-dark-dimmed"}
import { FingerprintJsServerApiClient, Region } from "@fingerprintjs/fingerprintjs-pro-server-api";

const client = new FingerprintJsServerApiClient({
  apiKey: "SECRET_API_KEY",
  region: Region.Global,
});

// Get visit history of a specific visitor
client.getVisits("VISITOR_ID").then((visitorHistory) => {
  console.log(visitorHistory);
});

// Get a specific identification event
client.getEvent("REQUEST_ID").then((event) => {
  console.log(event);
});
```

### Documentation

You can find the full documentation in the official [GitHub repository](https://github.com/fingerprintjs/node-sdk/tree/api-v3).
