LinkedIn Company Data API for Python
Call the API from Python: a company URL in, structured JSON out with name, industry, size, headquarters, and website. One row per company.
Input
Output fields
Sign up on Apify or log in
The LinkedIn Company API | Firmographics & Sales Intelligence Actor is ready to run with the inputs already set for "LinkedIn Company Data API for Python". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "LinkedIn Company Data API for Python" task
The LinkedIn Company API | Firmographics & Sales Intelligence Actor will start running based on the input automatically. You can also change all the input fields, like company urls, to match your specific use case.
Receive the "LinkedIn Company Data API for Python" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as logo, result type, name, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "LinkedIn Company Data API for Python" task via API.

A flat JSON object per company with name, industries, companySize, headquarters, followers, publicUrl and summary, plus result_type and logo. Read it as a list of dicts from the dataset, or export CSV or Excel for a notebook.
A dict with companyUrls, for example {"companyUrls": ["https://www.linkedin.com/company/microsoft", "https://www.linkedin.com/company/google"]}. No LinkedIn credentials go in; the pages are read as a signed-out visitor.
Install apify-client, call the task's run endpoint with your companyUrls, wait for the run and iterate the dataset items. A working quick-start lives at https://github.com/johnisanerd/Apify-LinkedIn-Company-API.
Set a Schedule on the task in the Apify Console (Actions, then Schedule) with 0 6 1 * * for the first of each month at 6 AM. Your script can then read the newest dataset over the API instead of triggering runs itself.
An agent in Claude, Cursor or another MCP client can, once https://mcp.apify.com/?tools=actors,docs,johnvc/linkedin-company-api is added as an MCP server. The same rows your Python code reads arrive in the chat as tool output.
Per result. Each company row the run returns is billed at the rate on the LinkedIn Company API Actor page; a run itself has no setup fee, so a script that looks up one company pays for one company.
Pick LinkedIn Company Data API for Python when the lookup lives inside your own code or a notebook. Scrape LinkedIn Companies in an n8n Workflow suits a no-code pipeline where a CRM trigger starts the run and n8n routes the rows onward.