Growth Intelligence

GetAccountEnrichment

Enrich a company by domain. Returns firmographic data, technology stack, industry classification, social profiles, and business metrics — sourced from third-party enrichment providers. Use this to customize onboarding flows or personalize your product based on a customer's organization attributes.

Success rates

Work domains

50–70% success rate. Enrichment works best for company-owned domains.

Personal domains

<50% success rate for gmail.com, yahoo.com, and similar free providers.

Accounts are enriched automatically based on email domain at signup. Results are not guaranteed for all domains — always check the found field before using enrichedData.

Endpoint

This is a GraphQL query sent over HTTP POST.

POST /growth-intelligence

Authentication

content-type: application/json
x-api-key: YOUR_API_KEY

Input

VariableTypeRequiredDescription
input.domainStringYesCompany domain to enrich (e.g., "acme.com"). Do not include https:// or www..
input.accountIdStringNoOptional account ID to correlate the enrichment result with a known account.

GraphQL query

query GetAccountEnrichment($input: GetAccountEnrichmentRequest!) {
  getAccountEnrichment(input: $input) {
    found
    enrichedData {
      companyName
      legalName
      primaryDomain
      domainAliases
      logoUrl
      description
      foundingYear
      companyType
      industryInfo {
        sector
        industryGroup
        industry
        subIndustry
        industryTags
      }
      contactInfo {
        phoneNumbers
        emailAddresses
        primaryPhone
      }
      locationInfo {
        fullLocation
        timeZone
        streetNumber
        streetName
        streetAddress
        city
        postalCode
        state
        stateCode
        country
        countryCode
      }
      socialProfiles {
        linkedinHandle
        facebookHandle
        twitterHandle
        crunchbaseHandle
      }
      businessMetrics {
        employeeCount
        employeesRange
        marketCap
        fundingRaised
        annualRevenue
        trafficRank
      }
      technologyStack {
        technologies
        techCategories
      }
    }
  }
}

Example

cURL

curl --location 'https://api.app.thrivestack.ai/growth-intelligence' \
--header 'content-type: application/json' \
--header 'x-api-key: YOUR_API_KEY' \
--data '{
  "operationName": "GetAccountEnrichment",
  "variables": {
    "input": {
      "domain": "acme.com"
    }
  },
  "query": "query GetAccountEnrichment($input: GetAccountEnrichmentRequest!) { getAccountEnrichment(input: $input) { found enrichedData { companyName primaryDomain industryInfo { industry sector } businessMetrics { employeeCount employeesRange } locationInfo { city country } } } }"
}'

JavaScript

const response = await fetch("https://api.app.thrivestack.ai/growth-intelligence", {
  method: "POST",
  headers: {
    "content-type": "application/json",
    "x-api-key": "YOUR_API_KEY"
  },
  body: JSON.stringify({
    operationName: "GetAccountEnrichment",
    variables: { input: { domain: "acme.com" } },
    query: `query GetAccountEnrichment($input: GetAccountEnrichmentRequest!) {
  getAccountEnrichment(input: $input) {
    found
    enrichedData {
      companyName primaryDomain description
      industryInfo { industry sector }
      businessMetrics { employeeCount employeesRange }
      locationInfo { city country }
      technologyStack { technologies techCategories }
    }
  }
}`
  })
});
const { data } = await response.json();
if (data.getAccountEnrichment.found) {
  console.log(data.getAccountEnrichment.enrichedData);
}

Response fields

FieldTypeDescription
foundBooleanWhether enrichment data was found for this domain. Always check this before reading enrichedData.

enrichedData — Basic

FieldTypeDescription
companyNameStringCommonly used company name. Example: "Acme Corporation"
legalNameStringRegistered legal entity name. Example: "Acme Corporation, Inc."
primaryDomainStringCanonical website domain. Example: "acme.com"
domainAliases[String]Other known domains. Example: ["acme.co", "acme.io"]
logoUrlStringCompany logo image URL.
descriptionStringShort company description.
foundingYearIntYear the company was founded. Example: 1999
companyTypeStringOwnership type. Example: "private", "public", "nonprofit"

enrichedData — industryInfo

FieldTypeDescription
sectorStringHigh-level sector. Example: "Technology"
industryGroupStringIndustry group. Example: "Software & Services"
industryStringPrimary industry. Example: "SaaS"
subIndustryStringMore specific label. Example: "B2B SaaS"
industryTags[String]Tags. Example: ["saas", "b2b", "cloud"]

enrichedData — businessMetrics

FieldTypeDescription
employeeCountIntHeadcount. Example: 250
employeesRangeStringRange label. Example: "201-500"
annualRevenueStringEstimated yearly revenue. Example: "$75M"
fundingRaisedStringTotal funding raised. Example: "$50M"
marketCapStringMarket cap (public companies). Example: "$1.2B"
trafficRankIntGlobal website traffic rank. Example: 12345

enrichedData — technologyStack

FieldTypeDescription
technologiesStringComma-separated detected technologies. Example: "react, nodejs, aws, postgres"
techCategories[String]High-level tech categories. Example: ["frontend", "backend", "cloud"]

enrichedData — locationInfo, socialProfiles, contactInfo

Location fields include city, country, countryCode, state, stateCode, postalCode, streetAddress, timeZone, and fullLocation. Social profiles include linkedinHandle, twitterHandle, facebookHandle, and crunchbaseHandle. Contact info includes primaryPhone, phoneNumbers, and emailAddresses.

Example response

{
  "data": {
    "getAccountEnrichment": {
      "found": true,
      "enrichedData": {
        "companyName": "Acme Corporation",
        "legalName": "Acme Corporation, Inc.",
        "primaryDomain": "acme.com",
        "domainAliases": ["acme.co", "acme.io"],
        "logoUrl": "https://example.com/logo.png",
        "description": "Leading provider of widgets and developer tools.",
        "foundingYear": 1999,
        "companyType": "private",
        "industryInfo": {
          "sector": "Technology",
          "industryGroup": "Software & Services",
          "industry": "SaaS",
          "subIndustry": "B2B SaaS",
          "industryTags": ["saas", "b2b", "cloud"]
        },
        "businessMetrics": {
          "employeeCount": 250,
          "employeesRange": "201-500",
          "annualRevenue": "$75M",
          "fundingRaised": "$50M",
          "marketCap": "$1.2B",
          "trafficRank": 12345
        },
        "locationInfo": {
          "city": "San Francisco",
          "state": "California",
          "stateCode": "CA",
          "country": "United States",
          "countryCode": "US",
          "postalCode": "94105",
          "timeZone": "America/Los_Angeles",
          "fullLocation": "123 Market St, San Francisco, CA 94105, United States"
        },
        "socialProfiles": {
          "linkedinHandle": "company/acme-corp",
          "twitterHandle": "@acmecorp",
          "crunchbaseHandle": "acme-corp"
        },
        "technologyStack": {
          "technologies": "react, nodejs, aws, postgres",
          "techCategories": ["frontend", "backend", "cloud"]
        }
      }
    }
  }
}