Quickstart
This guide will get you all set up and ready to use the CompanyData API.
For machine-readable API definitions (OpenAPI 3.0), use the spec at /openapi.json.
Official npm SDK
Use the official JavaScript/TypeScript package:
@companydata/protool-sdk
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({
countryCode: 'NL',
search: 'BoldData',
page: 1,
pageSize: 25,
})
console.log(result.data)
Making your first API request
An easy way to request all companies in the Netherlands, named Bolddata:
GET
/api/company/searchcurl -G https://app.companydata.com/api/company/search?countryCode=NL&search=Bolddata \
-H "x-api-key: {ApiKey}" \