Developer tutorial
How to scrape LinkedIn company pages with Python (2026)
This tutorial shows how to scrape LinkedIn company pages in Python using the SocialCrawl API. You get a company's industry, headcount, follower count, headquarters, website, founding year, and logo from its public page URL from one GET request, with no LinkedIn developer account, proxies, or HTML parsing. The code below is runnable as-is, and the response underneath it is a real, unedited call.
Code tested July 2026
How it works
- 1Get a free API keyCreate a SocialCrawl account and copy your API key from the dashboard. Every new account starts with free credits.
- 2Set up PythonInstall the requests library with `pip install requests`.
- 3Call the LinkedIn Company endpointSend a GET request to /v1/linkedin/company with your API key in the x-api-key header and the `url` parameter.
- 4Read the responseParse the JSON. SocialCrawl returns a company's industry, headcount, follower count, headquarters, website, founding year, and logo from its public page URL in one normalized schema, so you write no HTML parsing or proxy code.
The code
A real, unedited response from the request above.
import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/linkedin/company",
headers={"x-api-key": "YOUR_API_KEY"},
params={"url": "https://www.linkedin.com/company/microsoft/"},
)
data = response.json()
print(data)[ RESPONSE ]
{
"success": true,
"platform": "linkedin",
"endpoint": "/v1/linkedin/company",
"data": {
"author": {
"id": "1035",
"username": "microsoft",
"display_name": "Microsoft",
"avatar_url": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_400_400/B56ZYQ0mrGGoAc-/0/1744038948046/microsoft_logo?e=1785974400&v=beta&t=65JciKJix5JQ1YSt1J4xjguhNriK6rMPH5BN7ZKygjg",
"bio": "Every company has a mission. What's ours? To empower every person and every organization to achieve more. We believe technology can and should be a force for good and that meaningful innovation contributes to a brighter world in the future and today. Our culture doesn’t just encourage curiosity; it embraces it. Each day we make progress together by showing up as our authentic selves. We show up with a learn-it-all mentality. We show up cheering on others, knowing their success doesn't diminish our own. We show up every day open to learning our own biases, changing our behavior, and inviting in differences. Because impact matters. \n\nMicrosoft operates in 190 countries and is made up of approximately 228,000 passionate employees worldwide.",
"verified": null,
"followers": 28663984,
"following": null,
"posts_count": null,
"likes_count": null,
"url": "https://www.linkedin.com/company/microsoft",
"location": "Redmond, Washington, US",
"private": null,
"joined_at": null
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
},
"credits_used": 5,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false
}Prefer another language?
FAQ
Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usDo I need a LinkedIn developer account to scrape LinkedIn company pages?
No. SocialCrawl handles authentication and proxies upstream, so you never register a LinkedIn app, manage OAuth tokens, or run your own scrapers. One API key returns LinkedIn data directly.
What does the LinkedIn Company endpoint return?
It returns a company's industry, headcount, follower count, headquarters, website, founding year, and logo from its public page URL. The response is normalized into SocialCrawl's unified schema, identical in shape across every platform.
How much does it cost to scrape LinkedIn company pages?
Each call costs a small number of credits, and new accounts start with free credits. There are no monthly minimums, so you pay only for the calls you make.
Can I use this Python code in production?
Yes. The snippet on this page is the real request against the live API. For production, add error handling and follow the response cursor to paginate through large result sets.
Ask AI about SocialCrawl
