LinkedIn Company Growth: Tracking Employee Headcount & Department Scaling
If a competitor suddenly hires 10 new salespeople, they are planning an aggressive outbound campaign. If they hire 5 engineers, they are building a new feature. Headcount is a leading indicator of strategy.
In this guide, we'll build a "Growth Tracker" that monitors the employee count of specific companies on LinkedIn to give you an early warning system for their moves.
Prerequisites
You'll need a SociaVault API Key and the LinkedIn Company URLs of your competitors.
The Tracker Script
This Node.js script fetches the current headcount for a list of companies.
track-growth.js
const axios = require('axios');
// CONFIGURATION
const API_KEY = 'YOUR_SOCIAVAULT_API_KEY';
const COMPETITORS = [
'https://www.linkedin.com/company/stripe',
'https://www.linkedin.com/company/adyen',
'https://www.linkedin.com/company/braintree'
];
const headers = {
'x-api-key': API_KEY,
'Content-Type': 'application/json'
};
async function trackGrowth() {
try {
console.log(`📈 Starting Growth Analysis...`);
console.log(`----------------------------------------`);
for (const url of COMPETITORS) {
const companyUrl = `https://api.sociavault.com/v1/scrape/linkedin/company?url=${encodeURIComponent(url)}`;
const response = await axios.get(companyUrl, { headers });
const data = response.data.data;
if (!data) {
console.log(`❌ Failed to fetch data for: ${url}`);
continue;
}
const name = data.name;
const employeeCount = data.employeeCount || data.staffCount || 0;
const followerCount = data.followerCount || 0;
const industry = data.industry || "Unknown";
console.log(`🏢 ${name} (${industry})`);
console.log(` - Employees: ${employeeCount.toLocaleString()}`);
console.log(` - Followers: ${followerCount.toLocaleString()}`);
// Mock Growth Calculation (In production, compare with DB value)
// const lastMonthCount = db.get(name).lastMonth;
// const growth = ((employeeCount - lastMonthCount) / lastMonthCount) * 100;
// console.log(` - MoM Growth: ${growth.toFixed(2)}%`);
console.log(`----------------------------------------`);
}
} catch (error) {
console.error('Error tracking growth:', error.response ? error.response.data : error.message);
}
}
trackGrowth();
Strategic Insights
1. The "Sales vs. Eng" Ratio
While this basic script tracks total headcount, advanced scraping can break this down by department.
- High Sales Hiring: They are trying to capture market share now.
- High Eng Hiring: They are building for later.
2. Regional Expansion
If you see a sudden spike in employees located in "London" or "Singapore," your competitor is launching in a new territory. You can use this intel to beat them to the punch or fortify your position there.
3. Attrition Warning
If headcount drops month-over-month, they might be doing layoffs or suffering from high turnover. This is the perfect time to poach their top talent or aggressively target their unhappy customers.
Found this helpful?
Share it with others who might benefit
Ready to Try SociaVault?
Start extracting social media data with our powerful API. No credit card required.