LinkedIn Profile Full API
Returns a LinkedIn company page, its latest 10 posts, and computed metrics together: engagement rate by views and by followers, posting cadence, top post, format mix.
GET /v1/linkedin/profile/fullLast updated October 2026Maintained by the SocialCrawl team
When to use the LinkedIn Profile Full API
Use it for a one-call company snapshot instead of calling company and company/posts and doing the engagement maths yourself.
Not for a member's profile, because it takes company pages only (linkedin/profile/all for the whole profile, linkedin/profile/with-posts for counts and recent posts).
From the API reference
Fans out to the LinkedIn company profile and recent-posts endpoints in parallel and returns the unified author, the recent-post list, and computed metrics: avg_engagement_rate, avg_engagement_rate_by_followers, posting cadence (with the window it was measured over), the top post, and the format mix. avg_engagement_rate is view-based: the mean of each post's (likes + comments + shares) / views, so only posts that carry a view count contribute, and it is null when none does. avg_engagement_rate_by_followers is the mean of likes + comments per post divided by the account's follower count, over every post that carries both, so it covers posts with no view count. One call reads one page of recent posts, which on LinkedIn company is 10 posts, and computes the metrics over that page: posts can shorten the window but not lengthen it past one page, and _warnings says so when fewer posts came back than posts asked for. Pass posts_cursor back as cursor to read the next page, 5 credits a call. The profile leg is the only critical leg: if posts can't be fetched the call still returns the profile with post-dependent metrics null, and every leg's status is surfaced in legs[]. Flat 5 credits. This is a company-page composite: pass a linkedin.com/company/{slug} URL. Person /in/ URLs belong on /v1/linkedin/profile. Posts are loaded from /v1/linkedin/company/posts using the numeric company_id the profile leg returns as author.id.
Searching 69 platforms in parallel
What can you do with the Profile Full API?
The Profile Full endpoint gives you structured LinkedIn data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
# GET /v1/linkedin/profile/full: 5 credits per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
# --max-time 53: this endpoint's measured p99 latency x 1.5.
# --retry 3: retries timeouts, 429 and 5xx, honoring Retry-After.
# -o response.json keeps only the final attempt's body.
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
IDEMPOTENCY_KEY=$(od -An -N16 -tx1 /dev/urandom | tr -d ' \n')
curl -sS --max-time 53 --retry 3 -o response.json \
-H "x-api-key: YOUR_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
"https://www.socialcrawl.dev/v1/linkedin/profile/full?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmicrosoft&posts=25" && cat response.json# GET /v1/linkedin/profile/full: 5 credits per call. Cache hits are free and failed calls are refunded.
# Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
import os
import random
import time
import uuid
import requests
API_KEY = os.environ.get("SOCIALCRAWL_API_KEY", "YOUR_API_KEY")
TIMEOUT_S = 53 # this endpoint's measured p99 latency x 1.5.
MAX_RETRIES = 3
URL = "https://www.socialcrawl.dev/v1/linkedin/profile/full"
def backoff(attempt):
# Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
return 2 ** attempt * (0.5 + random.random() / 2)
def socialcrawl(params):
# One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
idempotency_key = str(uuid.uuid4())
for attempt in range(MAX_RETRIES + 1):
try:
res = requests.get(
URL,
params=params,
headers={"x-api-key": API_KEY, "Idempotency-Key": idempotency_key},
timeout=TIMEOUT_S,
)
body = res.json()
except (requests.RequestException, ValueError):
# A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if attempt == MAX_RETRIES:
raise
time.sleep(backoff(attempt))
continue
if body["success"]:
return body
error = body["error"]
# Branch on error["type"], never on the message text.
if error["type"] == "RESOURCE_NOT_FOUND":
return None # refunded: nothing to read
retry_after = res.headers.get("Retry-After")
# SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
permanent = error["type"] == "SERVICE_UNAVAILABLE" and retry_after is None
if not error.get("retryable") or permanent or attempt == MAX_RETRIES:
raise RuntimeError(f"{error['type']}: {error['message']} (request_id {body['request_id']})")
# Retry-After (seconds) wins; otherwise back off.
time.sleep(float(retry_after) if retry_after else backoff(attempt))
params = {
"url": "https://www.linkedin.com/company/microsoft",
"posts": "25",
}
body = socialcrawl(params)
if body is not None:
print(body["data"])// GET /v1/linkedin/profile/full: 5 credits per call. Cache hits are free and failed calls are refunded.
// Check the price first for 0 credits: add dry_run=1 to the query. Nothing is fetched or charged.
const API_KEY = process.env.SOCIALCRAWL_API_KEY ?? "YOUR_API_KEY";
const TIMEOUT_MS = 53_000; // this endpoint's measured p99 latency x 1.5.
const MAX_RETRIES = 3;
type Page = { next_cursor: string | null; has_more: boolean };
type SocialCrawlResponse =
| { success: true; data: any; pagination?: Page; credits_used: number; request_id: string }
| { success: false; error: { type: string; message: string; retryable: boolean }; request_id: string };
const sleep = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
// Exponential backoff with jitter: about 1 s, 2 s, then 4 s.
const backoffMs = (attempt: number) => 2 ** attempt * 1000 * (0.5 + Math.random() / 2);
async function socialcrawl(url: URL) {
// One Idempotency-Key per request, reused on every retry, so a retried call is never charged twice.
const idempotencyKey = crypto.randomUUID();
for (let attempt = 0; ; attempt++) {
let res: Response;
let body: SocialCrawlResponse;
try {
res = await fetch(url, {
headers: {
"x-api-key": API_KEY,
"Idempotency-Key": idempotencyKey,
},
signal: AbortSignal.timeout(TIMEOUT_MS),
});
body = (await res.json()) as SocialCrawlResponse;
} catch (error) {
// A timeout, a dropped connection or a non-JSON gateway page: retry with the same key.
if (attempt >= MAX_RETRIES) throw error;
await sleep(backoffMs(attempt));
continue;
}
if (body.success) return body;
// Branch on error.type, never on the message text.
if (body.error.type === "RESOURCE_NOT_FOUND") return null; // refunded: nothing to read
const retryAfter = res.headers.get("Retry-After");
// SERVICE_UNAVAILABLE without Retry-After is a withdrawn endpoint: permanent.
const permanent = body.error.type === "SERVICE_UNAVAILABLE" && retryAfter === null;
if (!body.error.retryable || permanent || attempt >= MAX_RETRIES) {
throw new Error(`${body.error.type}: ${body.error.message} (request_id ${body.request_id})`);
}
// Retry-After (seconds) wins; otherwise back off.
await sleep(retryAfter ? Number(retryAfter) * 1000 : backoffMs(attempt));
}
}
const url = new URL("https://www.socialcrawl.dev/v1/linkedin/profile/full");
url.searchParams.set("url", "https://www.linkedin.com/company/microsoft");
url.searchParams.set("posts", "25");
const body = await socialcrawl(url);
if (body) console.log(body.data);Parameters
| Parameter | Required | Description |
|---|---|---|
| url | No | Full LinkedIn company profile or page URL. One of the identity params is required. |
| posts | No | How many of the fetched recent posts to return and compute the metrics over (1-100, default 25). One call reads one page, which on LinkedIn company is 10 posts, so a larger value returns that page and a `_warnings` note; pass posts_cursor back as cursor for the next page. |
| cursor | No | Pass a prior response's posts_cursor to read the next page of posts. Each call is a separate 5-credit call whose metrics cover that page only. |
| include | No | CSV subset of posts,computed (default both). include=computed omits the raw posts[] array from the response to save payload. The metrics are computed from the same fetched posts either way, so they do not change. |
What does the LinkedIn Profile Full API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "linkedin",
"endpoint": "/v1/linkedin/profile/full",
"data": {
"profile": {
"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=1792627200&v=beta&t=NqzcT-M4G01GGJ0WSG_kxqbOJ5GVTaeHs61vteFTnyE",
"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": true,
"followers": 29203228,
"following": null,
"posts_count": null,
"likes_count": null,
"url": "https://www.linkedin.com/company/microsoft/",
"location": "Redmond, WA, United States",
"private": null,
"joined_at": null,
"ext": {
"website": "https://news.microsoft.com/",
"cover_url": "https://media.licdn.com/dms/image/v2/D4E1BAQHb1Lu8fVYoHg/company-background_10000/B4EZ8ZTXy5JIAI-/0/1782835936908/microsoft_cover?e=1791550800&v=beta&t=B-wadlZN4icH1aHXMDGC1UUNb1dHzRCdxHRrDqzR8Cw",
"page_active": true,
"employee_count": 231728,
"employee_count_range": {
"start": 10001,
"end": null
},
"founded_year": null,
"specialities": [
"Business Software",
"Developer Tools"
],
"industries": [
"Software Development"
],
"headquarters": {
"country": "US",
"city": "Redmond",
"geographic_area": "Washington",
"line1": "[address redacted]",
"postal_code": "98052"
},
"locations": [
{
"name": "Bratislava",
"address": {
"country": "SK",
"city": "Bratislava",
"geographic_area": null,
"line1": "Pradiareň 1900",
"line2": "Svätoplukova 2A",
"postal_code": "821 08"
},
"lat_long": {
"latitude": null,
"longitude": null
}
},
{
"name": "Reading",
"address": {
"country": "GB",
"city": "Reading",
"geographic_area": "Berkshire",
"line1": "Thames Valley Park Drive",
"line2": null,
"postal_code": "RG6 1WG"
},
"lat_long": {
"latitude": null,
"longitude": null
}
}
],
"hashtags": [],
"funding": {
"last_funding_round": {
"money_raised": {},
"announced_on": {}
}
}
}
},
"posts": [
{
"post": {
"id": "7511760700042571776",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7511760700042571776",
"content": {
"text": "Betrachten Sie dies als Ihr Klopfen an der Tür 👀\n\nIhre zukunftsfähigen KI-Kompetenzen beginnen hier: http://msft.it/6043alj8t",
"media_urls": null,
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "microsoft",
"display_name": "Microsoft",
"avatar_url": "https://example.com/redacted",
"verified": true
},
"engagement": {
"views": null,
"likes": 0,
"comments": 0,
"shares": 0,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-02T12:15:12.655Z",
"ext": {
"author_id": "1035",
"reaction_counts": [],
"post_type": "activity",
"published_at_precision": null,
"author_type": "user_f168cc",
"is_repost_quote": null,
"reaction_type": null,
"author_followers": 29203228
}
},
"computed": {
"engagement_rate": null,
"language": "de",
"content_category": "other",
"estimated_reach": null
}
},
{
"post": {
"id": "7511512074343104512",
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7511512074343104512",
"content": {
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"media_urls": [
"https://media.licdn.com/dms/image/v2/D4E22AQGrD9tTe5XKCA/feedshare-image-high-res/B4EaD4W75qIwAU-/0/1790873159283?e=1792627200&v=beta&t=IZoNGZkQc6e-slPDPRrsDmKpb0EKKcWITbWI_hyIDn8"
],
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "user_101820",
"display_name": "user_a4f98e",
"avatar_url": "https://example.com/avatars/user_9461ee.png",
"verified": null
},
"engagement": {
"views": null,
"likes": 568,
"comments": 39,
"shares": 44,
"saves": null
},
"flags": {
"nsfw": null,
"spoiler": null,
"pinned": null,
"deleted": false
},
"published_at": "2026-10-01T19:47:15.669Z",
"ext": {
"reaction_counts": [
{
"count": 435,
"type": "LIKE"
},
{
"count": 79,
"type": "PRAISE"
}
],
"post_type": "activity",
"published_at_precision": null,
"author_urn": "user_feaf25",
"author_headline": "user_b95fc4",
"author_type": "user_04f899",
"is_repost_quote": null,
"reaction_type": null
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "education",
"estimated_reach": null
}
}
],
"computed": {
"avg_engagement_rate": null,
"avg_engagement_rate_by_followers": 0.000007,
"posts_per_week": 21.29,
"cadence_window_days": 8.2,
"top_post": {
"url": "https://www.linkedin.com/feed/update/urn:li:activity:7509277171748597760",
"engagement_total": 1326
},
"format_mix": {
"text": 12,
"image": 11,
"video": 2
}
},
"posts_cursor": null,
"legs": [
{
"endpoint": "/v1/linkedin/company",
"status": 200,
"credits_used": 1,
"latency_ms": 9938,
"error": null
},
{
"endpoint": "/v1/linkedin/company/posts",
"status": 200,
"credits_used": 1,
"latency_ms": 4445,
"error": null
}
],
"_warnings": [
"computed.avg_engagement_rate is null because no post in this window carries a view count; use computed.avg_engagement_rate_by_followers, which divides likes and comments by the follower count."
]
},
"credits_used": 5,
"request_id": "req_example000000",
"cached": false,
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T12:42:05.870Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the LinkedIn Profile Full API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 69 platforms covering 10B+ monthly active users.
One schema, every platform
Query 69 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usWhat does the LinkedIn Analytics API return in one call?
How do I fetch a LinkedIn company page, its posts, and analytics together?
What analytics does the linkedin analytics api compute?
How much does the linkedin analytics api cost per call?
How many posts can I pull and can I page deeper?
What happens if a company has no recent posts?
Ask AI about SocialCrawl
Ready to scrape LinkedIn Profile Full data?
Get your API key and start pulling LinkedIn data in under 60 seconds.
