Skip to main content
npm install @alloy.rest/companies.social

Usage

import CompaniesSocial from "@alloy.rest/companies.social";

const client = new CompaniesSocial({
  apiKey: process.env["COMPANIES_SOCIAL_API_KEY"],
});

// Look up a company by domain
const company = await client.lookupCompany("stripe.com", {
  idType: "domain",
});

console.log(company.socials);

// Get current user info
const me = await client.whoami.retrieve();
console.log(me.plan);

@alloy.rest/companies.social

View on npm