Scraping Bot Animated

scrapingbot

LinkedIn Profiles Scraper API

Extract member profile as structured JSON from public LinkedIn Profiles targets. Queue a request, then retrieve the result with its responseId.

Get your API keyRead the documentation500 free credits per month, no card required.

Decide before you build

Endpoint
POST /scrape/data-scraper
Scrapers
linkedinProfile
Cost
30 credits / call
Free plan
500 credits / month
Call pattern
async, POST then GET
On failure
credits refunded
Response format
JSON
Concurrency
by plan tier

Launching a Social Media scrape costs 30 credits. Retrieving a pending result costs nothing; failed scrapes are refunded.

Try the LinkedIn Profiles scraper on your own targetRun a request against a public target and inspect the JSON before you integrate.

Open the live test

What you get back

linkedinProfile

Member profile

Use linkedinProfile to retrieve member profile data from a public LinkedIn target.

  • Required input: url
  • Optional input: language
  • Structured JSON once the result is ready
  • Public data only; no account login is used

Call the LinkedIn Profiles scraper

Send the scraper name with the input required by that scraper. The POST returns a responseId to poll for the final JSON.

Step 1Submit a linkedinProfile request and keep the responseId returned by the API.
bash
# POST - queue a public social media scrape
curl -X POST "https://api.scraping-bot.io/scrape/data-scraper" \
  -u "yourUsername:yourApiKey" \
  -H "Content-Type: application/json" \
  -d '{
  "scraper": "linkedinProfile",
  "url": "https://example.com/public-page",
  "language": "en"
}'
Step 2Wait a few seconds, then retrieve the linkedinProfile result with the responseId. Repeat the GET while the status is pending.
bash
# GET - retrieve the result after the POST returns a responseId
curl -G "https://api.scraping-bot.io/scrape/data-scraper-response" \
  -u "yourUsername:yourApiKey" \
  --data-urlencode "responseId=RESPONSE_ID" \
  --data-urlencode "scraper=linkedinProfile"

Code example

Authenticate with your ScrapingBot username and API key, then poll until the queued result is ready.

const auth = "Basic " + Buffer.from(
  "yourUsername:yourApiKey",
).toString("base64");

const queued = await fetch("https://api.scraping-bot.io/scrape/data-scraper", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: auth },
  body: JSON.stringify({
  "scraper": "linkedinProfile",
  "url": "https://example.com/public-page",
  "language": "en"
}),
});

const { responseId } = await queued.json();
let result;
do {
  await new Promise((resolve) => setTimeout(resolve, 5000));
  result = await fetch(
    "https://api.scraping-bot.io/scrape/data-scraper-response?" +
      new URLSearchParams({ responseId, scraper: "linkedinProfile" }),
    { headers: { Authorization: auth } },
  ).then((response) => response.json());
} while (result.status === "pending");

Run this call in two minutesCreate an account, copy your API key, then use the example above.

Get your API key

Request parameters

ParameterTypeDefaultDescription
scraperstring—One of the scraper names supported by this endpoint.
urlstring—Public page URL, including https://.
languagestring—Optional for this scraper.

Response example

Example of the JSON returned by the LinkedIn Profiles scraper once the result is ready.

json
[
    {
        "url": "https://www.linkedin.com/in/emmanuelmacron/?_l=en",
        "name": "Emmanuel Macron",
        "current_company": {
            "name": "Présidence de la République",
            "link": "https://fr.linkedin.com/company/pr-sidence-de-la-r-publique?trk=public_profile_topcard-current-company"
        },
        "avatar": "https://media.licdn.com/dms/image/D4E03AQGbTdwOdlURyg/profile-displayphoto-shrink_200_200/0/1678377690463?e=2147483647&v=beta&t=peA1qVz6oHUYMo8Q5hAv845qGmTI_w6cGM7aHs019qE",
        "city": "Paris, Île-de-France, France Contact Info",
        "followers": "3M followers",
        "following": "26 connections",
        "posts": [
            {
                "title": "Pour nos lycées professionnels, ce que je propose, c’est une mobilisation de tout le pays.",
                "attribution": "By Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E12AQHH9aLRwlaseA/article-cover_image-shrink_720_1280/0/1683283132540?e=2147483647&v=beta&t=UrRAXIP_zZoYKBRHg9FC1xdwSy3AKWZ1OujWDhrD7pI",
                "link": "https://fr.linkedin.com/pulse/pour-nos-lyc%C3%A9es-professionnels-ce-que-je-propose-cest-emmanuel-macron?trk=public_profile_article_view",
                "created_at": "2023-05-05T00:00:00.000Z"
            },
            {
                "title": "Le lycée professionnel doit être l’ascenseur social de toutes les familles.",
                "attribution": "By Emmanuel Macron",
                "img": "https://static.licdn.com/scds/common/u/img/pic/pic_pulse_stock_article_11.jpg",
                "link": "https://fr.linkedin.com/pulse/le-lyc%C3%A9e-professionnel-doit-%C3%AAtre-lascenseur-social-de-emmanuel-macron?trk=public_profile_article_view",
                "created_at": "2023-05-03T00:00:00.000Z"
            },
            {
                "title": "Journée de sensibilisation à l’autisme.",
                "attribution": "By Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E12AQEPEX_WFWeaHg/article-cover_image-shrink_720_1280/0/1680428457830?e=2147483647&v=beta&t=mUYjZlRqRf0aJtdL6nZ4U1EBF9OI07OP5FtkCt0fgWo",
                "link": "https://fr.linkedin.com/pulse/journ%C3%A9e-de-sensibilisation-%C3%A0-lautisme-emmanuel-macron?trk=public_profile_article_view",
                "created_at": "2023-04-02T00:00:00.000Z"
            }
        ],
        "experience": [],
        "education": [],
        "certifications": [],
        "courses": [],
        "languages": [
            {
                "title": "Français",
                "subtitle": "Native or bilingual proficiency"
            },
            {
                "title": "Anglais",
                "subtitle": "-"
            }
        ],
        "groups": [],
        "people_also_viewed": [],
        "activities": [
            {
                "title": "Il y a 6 ans, on nous disait que c’était impossible : nous le faisons ! Protection de l’environnement, souveraineté et réindustrialisation : une…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E22AQFsA1fchIFNSw/feedshare-shrink_800/0/1707214187302?e=2147483647&v=beta&t=Xt7pNhf7fnCAxchTCJuNXGRSf6j95IQn3AMj_7qHyn8",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_il-y-a-6-ans-on-nous-disait-que-c%C3%A9tait-activity-7160575298600648705-Ddgm?trk=public_profile"
            },
            {
                "title": "A look back at an exceptional trip in India.",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQF6e2V_WqFuIg/videocover-high/0/1707042176697?e=2147483647&v=beta&t=9EGYE4PRoEJDPH_sp-284FnNV8ckYggJntTmhdzh1yE",
                "link": "https://www.linkedin.com/posts/emmanuelmacron_a-look-back-at-an-exceptional-trip-in-india-activity-7159853834469560320-IQHO?trk=public_profile"
            },
            {
                "title": "Que demandent nos agriculteurs ? Ils veulent pouvoir produire une alimentation de qualité tout en vivant dignement de leur travail, de manière plus…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQEOWi81TkhRMg/videocover-high/0/1706870365960?e=2147483647&v=beta&t=WlLtwQbYC7qyw8ErUKnV4iSLiI66Zkf90AMl57HDlj4",
                "link": "https://fr.linkedin.com/pulse/que-demandent-nos-agriculteurs-ils-veulent-emmanuel-macron?trk=public_profile_article_view"
            },
            {
                "title": "Pourquoi notre présence est importante en Inde ? Car c’est une puissance au cœur de la réinvention du monde. Nous relèverons ensemble les défis de…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQFtJjpMpOscdA/videocover-high/0/1706299367572?e=2147483647&v=beta&t=fyrKXcW7ztXwTsyRsVrXAT5iKnD8p8ddnjlW9l1vdT4",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_pourquoi-notre-pr%C3%A9sence-est-importante-en-activity-7156738338752708609-OsUD?trk=public_profile"
            },
            {
                "title": "A great honor for France. Thank you, India.",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQFKtd9ywnaBEQ/videocover-high/0/1706248321343?e=2147483647&v=beta&t=BWlZWgL12BNXf0hhAcI71QoBs0wEZHoU_YSUYDNCdRc",
                "link": "https://www.linkedin.com/posts/emmanuelmacron_a-great-honor-for-france-thank-you-india-activity-7156524261073960960-rHTx?trk=public_profile"
            },
            {
                "title": "My dear friend Narendra Modi, Indian people, My warmest wishes on your Republic Day. Happy and proud to be with you. Let’s celebrate!",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E22AQEtQvqa_wHLhg/feedshare-shrink_800/0/1706236576935?e=2147483647&v=beta&t=NwUB6lyxVDzumEnf_ynq6Sw1rkyutZwaxlzcT13fycA",
                "link": "https://www.linkedin.com/posts/emmanuelmacron_my-dear-friend-narendra-modi-indian-people-activity-7156474903796285440-Eew2?trk=public_profile"
            },
            {
                "title": "30,000 Indian students in France in 2030. It’s a very ambitious target, but I am determined to make it happen. Here’s how: We are launching new…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E22AQGBAOcmAM1tnQ/feedshare-shrink_800/0/1706215710636?e=2147483647&v=beta&t=f4r9R9imCQAJYkVLN2Rz5cflO_XejHgU80O75TLNY1U",
                "link": "https://www.linkedin.com/posts/emmanuelmacron_30000-indian-students-in-france-in-2030-activity-7156387384689872897-cFfP?trk=public_profile"
            },
            {
                "title": "Résolution, détermination et fierté.",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQFD8AnWJoq_eQ/videocover-high/0/1705775281864?e=2147483647&v=beta&t=kZj7MGzS47YkgYbKjxBsSB4D6Qefi1n3ISnXM-vQQMo",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_r%C3%A9solution-d%C3%A9termination-et-fiert%C3%A9-activity-7154540092340989952-GK3C?trk=public_profile"
            },
            {
                "title": "Soldats, marins, aviateurs, personnels civils de la défense, industriels : Je suis là, avec vous à Cherbourg, pour saluer votre engagement et vous…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E22AQHQNsaVlkPKbA/feedshare-shrink_2048_1536/0/1705690573700?e=2147483647&v=beta&t=sN0pyRDZ68alejoDs7P3LGudsF91oXQBI8PudW3aZ18",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_soldats-marins-aviateurs-personnels-civils-activity-7154184801674010624-9Gbr?trk=public_profile"
            },
            {
                "title": "Allons-y !",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQGRuKFnXWAQrA/videocover-high/0/1705524795044?e=2147483647&v=beta&t=gGyP-4HzO6TBwjIvLYHCkaENkwZTFY6jN3TkndTAA6o",
                "link": "https://www.linkedin.com/posts/emmanuelmacron_allons-y-activity-7153489474620964864-zyaY?trk=public_profile"
            },
            {
                "title": "Au Forum économique mondial de Davos pour y rencontrer nos partenaires et de nombreux chefs d’entreprise. Ce que je viens leur dire ? Choisissez la…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D5622AQFkjUuFu4ZZww/feedshare-shrink_800/0/1705511519874?e=2147483647&v=beta&t=Gyjb8KZZ0V1GkITgliFXbZHVIEnHowGi9rfqQC0CcMY",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_au-forum-%C3%A9conomique-mondial-de-davos-pour-activity-7153433793788309505-KqPV?trk=public_profile"
            },
            {
                "title": "Chaque génération de Français doit apprendre ce que la République veut dire : une Histoire, des devoirs, des droits, un imaginaire ; le sens profond…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D5605AQHIx-rPkdg_Rg/videocover-high/0/1705447215897?e=2147483647&v=beta&t=D5fRR836BQu1gdGdXGud7TYWCzh1VEmpDqPlwhw75HQ",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_chaque-g%C3%A9n%C3%A9ration-de-fran%C3%A7ais-doit-apprendre-activity-7153124363204070400-hcMp?trk=public_profile"
            },
            {
                "title": "Une grande entreprise industrielle française sur trois est désormais contrôlée par une entreprise étrangère. Nous ne sommes plus maîtres de notre…",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E22AQEYdK9GDBCE9g/feedshare-shrink_800/0/1705353252543?e=2147483647&v=beta&t=c69ECKdf2HfPbSxwKwVYQ6FupbgiLVbwYILJKLl1W3A",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_une-grande-entreprise-industrielle-fran%C3%A7aise-activity-7152849168706445312-zhZY?trk=public_profile_article_view"
            },
            {
                "title": "Here are some of the key discussions I had with world leaders at the Paris Peace Forum. Together, we can build a more peaceful and stable world.",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E22AQFzOTmkNrJ0jQ/feedshare-shrink_800/0/1705283054201?e=2147483647&v=beta&t=TucC3fn_S2zk_TNZYJ4XWBtv-Vtff2Qtl56IL4M6_yE",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_here-are-some-of-the-key-discussions-i-had-activity-7152373989726498816-H4V1?trk=public_profile_article_view"
            },
            {
                "title": "La démocratie est le régime qui donne la plus grande place à la réforme.",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQG0g53pCJDjVQ/videocover-high/0/1705195040147?e=2147483647&v=beta&t=dHcARrKuOdZsVJ0MC_OwZ5lPEY3Qhh7CvP_jvyQHAKo",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_la-d%C3%A9mocratie-est-le-r%C3%A9gime-qui-donne-la-plus-activity-7152094234985285120-RHbY?trk=public_profile"
            },
            {
                "title": "I am proud to be at the Paris Peace Forum today to discuss the most pressing challenges facing our world and how we can work together to address them.",
                "attribution": "Shared by Emmanuel Macron",
                "img": "https://media.licdn.com/dms/image/D4E05AQGeJx9Wmrp9Lw/videocover-high/0/1705194874562?e=2147483647&v=beta&t=sMux_XpAmV-_LBQs8J9pWCUmRRcFLrA_m4LmS2DhYK8",
                "link": "https://fr.linkedin.com/posts/emmanuelmacron_i-am-proud-to-be-at-the-paris-peace-forum-activity-7152060769474694144-PXhz?trk=public_profile"
            }
        ],
        "projects": [],
        "patents": [],
        "awards": [],
        "volunteer_experience": []
    }
]

Credits, failures and limits

CaseCreditsNotes
Launch a scrape30 creditsConsumed when a result is ready.
Result not readyNot consumedThe API returns a pending status; retry after a few seconds.
Failed, blocked or timed-out scrapeRefundedCredits are returned for an unsuccessful request.

LinkedIn Profiles API or Raw HTML scraper?

LinkedIn Profiles APIRaw HTML scraper
Endpoint/scrape/data-scraper/scrape/raw-html
ReturnsMember profile JSONRendered page HTML
FlowAsynchronous: POST then GETOne synchronous request
Starting cost30 credits1 credit
Use it whenYou need parsed LinkedIn Profiles dataYou need your own extraction logic

Questions about the LinkedIn Profiles API

Which LinkedIn Profiles scraper names can I use?
This page supports linkedinProfile. Send the exact name in the scraper field.
Why does the API return a responseId?
Social Media requests are asynchronous. The responseId lets you retrieve the result without holding the initial request open.
What if the result is still pending?
Wait a few seconds and repeat the GET request. A pending response does not consume credits.
Does this scraper access private account data?
No. It is intended for public pages and does not sign in to a social media account to access private data.

Source: ScrapingBot API documentation.

Other social media scrapers

Browse the Social Media category for the complete list of guides. Read How to scrape LinkedIn.

4.9
★★★★★
133 Google reviews

Trusted by developers and social media teams.
Customer reviews apply to ScrapingBot's service overall, not specifically to this scraper.

Start scraping LinkedIn Profiles today

500 free credits every month. No card required, cancel anytime.