LinkedIn Scraping

LinkedIn Scraping API

The LinkedIn endpoints turn a public LinkedIn post or comment URL into structured JSON. They work on public content only; private posts and posts behind the login wall return a message instead of data.

#Endpoints

Endpoint Returns Credits
POST /v1/linkedin/post A post with author, text, reactions, media, comments and any shared post 3
POST /v1/linkedin/comment One comment with its author, text, date and likes 3

Base URL: https://scrapingapi.qoest.com

#Quick Example

curl -X POST https://scrapingapi.qoest.com/v1/linkedin/post \
  -H "Authorization: Bearer your-token" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.linkedin.com/posts/example_activity-7300000000000000000-abcd"}'

#Good to Know

  • Credits are deducted only when the post or comment is returned.
  • Empty fields are left out of the response instead of being sent as null.
  • Dates are ISO 8601 in UTC, for example 2026-01-01T12:00:00+00:00.
  • A private or login-walled post returns HTTP 200 with a message and no response, and costs nothing. Check for response before reading data.

See Get LinkedIn Post Data and Get LinkedIn Comment Data.