Back to integrations
Node.js SDK4 min read

Kooperativa SDK for Node.js and TypeScript

For Node.js and TypeScript projects calling the Kooperativa API directly from code.

@kooperativa_team/sdkView package

The SDK is a thin wrapper, not a code generator's output: one class, `Kooperativa`, with `person`, `company`, and `monitors` namespaces matching the API's own structure. Every method is fully typed against the real request and response shapes, so a mistyped parameter or a typo in a field name is a compile-time error in TypeScript, not a runtime surprise.

It ships both ESM and CommonJS builds, so it works the same whether a project uses `import` or `require`. Errors throw a single `KooperativaApiError` class with `status` and `code` properties, matching the stable error codes documented for the API itself.

Enrich a personts
import { Kooperativa } from '@kooperativa_team/sdk';

const kooperativa = new Kooperativa({ apiKey: process.env.KOOPERATIVA_API_KEY! });

const { data } = await kooperativa.person.enrich({ username: 'satyanadella' });
console.log(data.full_name, data.current_title);

Get started

Try Kooperativa

One API key. Every endpoint behind this integration, and every other one, included on the same flat license with unlimited requests.

More integrations

We use only cookies that are strictly necessary to run this site (staying signed in, and protecting forms from abuse). Our analytics tool doesn't use cookies or collect personal data. See our Privacy Policy for details.