SDKs
Install the official JavaScript/TypeScript SDK for the fastest path to production. It covers the same search, export, and city lookup endpoints documented in the OpenAPI spec.
npm install @companydata/protool-sdk
import { ApiClient } from '@companydata/protool-sdk'
const client = new ApiClient({
baseUrl: 'https://app.companydata.com',
auth: { type: 'apiKey', apiKey: process.env.COMPANYDATA_API_KEY ?? '' },
})
const result = await client.company.search({ search: 'Heineken', countryCode: 'NL', pageSize: 5 })
console.log(result.data.records)
This page lists Software Development Kits (SDKs) that help you integrate with the CompanyData API.
JavaScript / TypeScript SDK
For Node.js and browser applications, use the npm package:
@companydata/protool-sdk
When to use an SDK vs raw HTTP
- Use an SDK when you want faster integration, typed APIs, and consistent error handling.
- Use raw HTTP when you need maximum control or advanced troubleshooting.