Skip to main content

Producer Gateways

Producer gateways query an external source and return a result list. They do not modify any object. Use script type producerGateway with "scope": "GENERAL".

Producer scripts are exposed via the Sources API. See Sources for the endpoint reference and response format.


CompanySearch

Script type: producerGateway
Gateway name: CompanySearch

Searches a national business register by company name and returns a list of matching companies.

Supported countries:

SourceCountries
KvKNL
Companies HouseGB
OpenCorporatesDE FR BE AT CH LU IT ES DK SE NO FI IE PL SG HK NZ

Input parameters:

NameTypeRequiredDescription
countryCodeTEXTYesISO country code (see supported countries above)
queryTEXTYesCompany name search query

Output: A list of results, each with:

NameTypeDescription
keyTEXTComposite key COUNTRY:registrationNumber — pass directly to CompanyRegister or companyLookupGateway
registrationNumberTEXT
nameTEXT
activeBOOLEAN
legalFormTEXT
cityTEXT
postalCodeTEXT
countryTEXT
registrationDateDATE
endDateDATE
{
"name": "CompanySearch",
"type": "producerGateway",
"scope": "GENERAL",
"gateway": "CompanySearch",
"parameters": [
{ "name": "countryCode", "dataType": "TEXT" },
{ "name": "query", "dataType": "TEXT" }
]
}

CompanyLookup

Script type: producerGateway
Gateway name: companyLookupGateway

Fetches the full company profile for a single company by composite key. Intended for use after a CompanySearch result is selected; pass the key field from the search result directly. Supports the same countries as CompanySearch.

Input parameters:

NameTypeRequiredDescription
keyTEXTYesComposite key COUNTRY:registrationNumber (e.g. NL:12345678)

Output: Same fields as CompanyRegister.

{
"name": "CompanyLookup",
"type": "producerGateway",
"scope": "GENERAL",
"gateway": "companyLookupGateway",
"parameters": [
{ "name": "key", "dataType": "TEXT" }
]
}

CompanyRelations

Script type: producerGateway
Gateway name: companyRelationsGateway

Returns the directors, officers, shareholders, and other position holders for a Dutch company. Data is sourced from the webservices.nl KvK extract (€3.47 per call). Currently available for NL only.

Input parameters:

NameTypeRequiredDescription
countryCodeTEXTYesISO country code. Currently only NL is supported.
registrationNumberTEXTYes8-digit KvK registration number.

Output: A list of position records — one item per role held at the company.

NameTypeDescription
relationTypeTEXTSHARES, DIRECTOR, PROXYHOLDER, or OTHER
subjectRoleTEXTRole label for the company (always "Company")
counterpartyRoleTEXTRole label for the holder ("Shareholder", "Officer", or "Counterparty")
functionTypeTEXTKvK function type code
functionTitleTEXTFunction title
functionDescriptionTEXTFunction description
functionAuthorizationSigningPowerTEXTSigning power description
functionAuthorizationDescriptionTEXTAuthorization description
startDateDATEFunction start date
endDateDATEFunction end date
authorizationStartDateDATEAuthorization start date
authorizationEndDateDATEAuthorization end date
dateSinceDATEDate since the position is held
personFullNameTEXTFull name — person holders only
personFirstNameTEXT
personLastNameTEXT
personInitialsTEXT
personTitleTEXT
personGenderTEXT
personDateOfBirthDATE
organizationNameTEXTOrganisation name — organisation holders only
organizationRegistrationNumberTEXTKvK number of the holding organisation

The holder is either a person or an organisation — the two field groups are mutually exclusive.

{
"name": "CompanyRelations",
"type": "producerGateway",
"scope": "GENERAL",
"gateway": "companyRelationsGateway",
"parameters": [
{ "name": "countryCode", "dataType": "TEXT" },
{ "name": "registrationNumber", "dataType": "TEXT" }
]
}

OrganizationTree

Script type: producerGateway
Gateway name: organizationTreeGateway

Returns the corporate organisation tree for a Dutch company via webservices.nl (€0.10 per call, cached for 30 days). Currently available for NL only. Returns a single record.

Input parameters:

NameTypeRequiredDescription
countryCodeTEXTYesISO country code. Currently only NL is supported.
registrationNumberTEXTYes8-digit KvK registration number.

Output fields:

NameTypeDescription
registrationNumberTEXTKvK registration number of the root company
nameTEXTCompany name
rootOBJECTRoot node of the organisation tree

Each node in root (and its children, recursively) has:

NameTypeDescription
idTEXTNode identifier
nameTEXTEntity name
typeTEXTEntity type
childrenARRAYChild nodes (same structure)
{
"name": "OrganizationTree",
"type": "producerGateway",
"scope": "GENERAL",
"gateway": "organizationTreeGateway",
"parameters": [
{ "name": "countryCode", "dataType": "TEXT" },
{ "name": "registrationNumber", "dataType": "TEXT" }
]
}