Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.companies.social/llms.txt

Use this file to discover all available pages before exploring further.

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