LinkedIn Analytics API
Bring LinkedIn Company Page performance data into your product, reporting workflow, automation, or AI system through one API.
- Impressions, unique reach, likes, comments, shares, and clicks
- Analyze existing Company Page posts, not only content published through PostPeer
- Filter results by date range and sort by performance
- OAuth and token management handled through PostPeer
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"
David Flor, Founder at Darklight Interactive
"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."
Divanshu Khatter, Marketing Manager at Sembark
"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."
Het Tikawala, Founder at Kalizzle AI Studio
Add Social Media to Your Product in Three Steps
Connect once, then publish, schedule, and read data through the same API.
01
Get Your API Key
Sign up and get your API key instantly. No sales calls or complicated setup.
02
Integrate in Minutes
Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.
03
Support Every Major Platform
Give your users access to major social platforms without building and maintaining each integration yourself.
New to PostPeer? Read the getting started guide
Explore Requests and Responses by Format
Use the same endpoint and change only the fields required for each publishing format.
curl -X GET "https://api.postpeer.dev/v1/analytics?source=platform&platform=linkedin&accountId=acc_li_org_456&limit=10&page=1" \
-H "x-access-key: your-api-key"{
"success": true,
"data": [
{
"platform": "linkedin",
"platformPostId": "urn:li:share:7469000000000000000",
"accountId": "acc_li_org_456",
"metrics": {
"impressions": 8420,
"reach": 6210,
"likes": 142,
"comments": 18,
"shares": 9,
"clicks": 311,
"engagementRate": 5.7
},
"collectedAt": "2026-08-31T12:00:00Z"
}
],
"pagination": {
"page": 1,
"limit": 10,
"total": 1,
"totalPages": 1
}
}GET /v1/analytics
Everything You Need for LinkedIn Analytics
Get actionable insights from your LinkedIn Company Page without managing the LinkedIn API directly.
Post-Level Metrics
Get impressions, likes, comments, shares, and clicks for every Company Page post. See exactly how each piece of content is performing.
Unique Reach
LinkedIn returns both total impressions and unique people reached. Track how many real humans saw each post, not just raw views.
Traffic Attribution
The clicks metric tracks how many people clicked through from your LinkedIn posts. Measure exactly how much traffic LinkedIn drives.
Engagement Rate
PostPeer calculates engagement rate automatically, the percentage of impressions that resulted in likes, comments, shares, or clicks.
Date Range Filtering
Filter post analytics by date range to find your best-performing content over any time period up to 366 days.
OAuth and Token Management
Connect LinkedIn through PostPeer without maintaining the OAuth and token-management flow yourself.
Need More Than Analytics?
Add publishing, scheduling, and messaging to the same connected LinkedIn workflow.
LinkedIn Posting
Publish text, images, videos, and articles to LinkedIn profiles and Company Pages programmatically.
Explore LinkedIn PostingLinkedIn Scheduling
Schedule supported LinkedIn content for future publishing to profiles and Company Pages.
Explore LinkedIn SchedulingLinkedIn Messaging
List conversations, read message history, and reply to supported LinkedIn conversations programmatically.
Explore LinkedIn MessagingShip LinkedIn Analytics in Any Stack
Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.
Dev Stack
Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.
- Node.js SDK
- Python SDK
- REST + cURL
- TypeScript-first types
AI Agents & MCP
Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.
Connect via MCPBeyond LinkedIn: Every Supported Platform
Start with LinkedIn, then reach every other network through the same API.
Twitter/X API
Pull Twitter/X performance metrics.
YouTube API
Pull YouTube performance metrics.
Pinterest API
Pull Pinterest performance metrics.
LinkedIn API
Pull LinkedIn performance metrics.
TikTok API
Pull TikTok performance metrics.
Facebook API
Pull Facebook performance metrics.
Instagram API
Pull Instagram performance metrics.
Add More Social Capabilities
Use the same connected accounts to schedule, analyze, manage comments, and handle conversations.
Frequently Asked Questions
Power Your Next Project With a Unified Social Media API
Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.
Start with 20 free credits. No credit card required.