import Openregister from 'openregister';const client = new Openregister({ apiKey: process.env['OPENREGISTER_API_KEY'], // This is the default and can be omitted});const response = await client.search.lookupCompanyByURL({ url: 'https://example.com' });console.log(response.company_id);
import Openregister from 'openregister';const client = new Openregister({ apiKey: process.env['OPENREGISTER_API_KEY'], // This is the default and can be omitted});const response = await client.search.lookupCompanyByURL({ url: 'https://example.com' });console.log(response.company_id);
Find a company using its website URL. The response includes a company ID that you can use with other endpoints to get details like financials, shareholders, and representatives.