LinkedIn Profile Data API for Python
John
Call the LinkedIn Profile API from Python: a profile URL in, structured JSON out (name, role, company, experience). No login, pay per profile.
Input
Output fields
Sign up on Apify or log in
The LinkedIn Profile API | Scrape Public Profile Data Actor is ready to run with the inputs already set for "LinkedIn Profile 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 Profile Data API for Python" task
The LinkedIn Profile API | Scrape Public Profile Data Actor will start running based on the input automatically. You can also change all the input fields, like profile urls, to match your specific use case.
Receive the "LinkedIn Profile 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 result type, name, headline, 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 Profile Data API for Python" task via API.

A list of dicts, one per profile, with name, headline, currentCompany, location, followers, publicUrl and summary, plus result_type so your code can separate profile rows from error rows. Read them from the dataset as JSON or save CSV.
A single dict: {"profileUrls": ["https://www.linkedin.com/in/satyanadella"]}. Pass as many public /in/ URLs as you need, up to 1000 in one call; URLs that are not personal profiles are skipped.
Install apify-client, start the task with your profileUrls dict and wait for it to finish, then list the default dataset's items. The example repo walks through the whole script: https://github.com/johnisanerd/Apify-LinkedIn-Profile-API
Set it up in the Apify Console rather than in cron on your own box: open LinkedIn Profile Data API for Python, choose Actions, then Schedule, and enter 0 */6 * * * for every six hours. Your Python code then just reads the latest dataset.
Give Claude or any other MCP client the server URL https://mcp.apify.com/?tools=actors,docs,johnvc/linkedin-profile-api. The agent calls the LinkedIn Profile API with a profile URL and gets the same fields a Python script would.
The cost scales with the profiles returned: one charge per profile, no per-run setup fee, and nothing for error rows. A script that sends a few URLs pays for a few. The LinkedIn Profile API Actor page shows the current per-profile rate.
LinkedIn Profile Data API for Python replaces a homegrown library: you send URLs, the hosted API collects the profiles, you parse JSON. To skip code entirely, Scrape LinkedIn Profiles in an n8n Workflow wires the same data into n8n.