Social Media API
Social Media Analytics API
Track post performance, engagement rates, and audience growth across every connected platform with a single API call. No separate analytics integrations needed.
- Metrics from Twitter, YouTube, Pinterest, LinkedIn, and more in one response
- Impressions, likes, clicks, shares, and engagement rate
- Filter by post, platform, account, or date range
- Paginated results with flexible sorting
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platformsTwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue12
Queued
847
Sent
Next: in 15 min
Platforms
connectedXIGFBLITT
One API, every platform
P
"Awesome tool and even more awesome support"
Petrus, Founder at Redcove
How It Works
Add social media to your product in three steps.
01
Get Your API Key
Sign up and get your API key instantly — no sales calls, no complex onboarding.
02
Integrate in Minutes
A single endpoint to post, schedule, and manage content. Drop it into your product and go.
03
Your Users Post Everywhere
Your product now supports every major social platform — without you maintaining a single integration.
API Response Format
Clean, structured JSON that's easy to parse and integrate
Request
POST
curl "https://api.postpeer.dev/v1/analytics?postId=post_abc123" \
-H "x-access-key: your-api-key"Response
JSON
{
"success": true,
"data": [
{
"postId": "post_abc123",
"platform": "twitter",
"platformPostId": "1234567890",
"accountId": "acc_tw_123",
"metrics": {
"impressions": 4520,
"likes": 87,
"retweets": 23,
"replies": 12,
"engagementRate": 2.7,
"clicks": 156
},
"collectedAt": "2026-03-31T12:00:00Z"
},
{
"postId": "post_abc123",
"platform": "linkedin",
"platformPostId": "urn:li:share:7654321",
"accountId": "acc_li_456",
"metrics": {
"impressions": 2100,
"likes": 45,
"comments": 8,
"shares": 5,
"engagementRate": 2.76,
"clicks": 89
},
"collectedAt": "2026-03-31T12:00:00Z"
}
],
"pagination": {
"page": 1,
"limit": 25,
"total": 2,
"totalPages": 1
}
}Track Performance Across Every Platform
Stop logging into five dashboards. PostPeer aggregates analytics from all your connected platforms into one API endpoint.
Unified Cross-Platform Metrics
Get impressions, likes, shares, clicks, and engagement rates from every platform in a single API response. No need to integrate with each platform's analytics API separately.
Per-Post Performance
Pass a PostPeer post ID to see how that content performed on every platform it was published to. Compare Twitter engagement vs LinkedIn vs YouTube side-by-side.
Date Range Filtering
Filter analytics by date range to track performance over time. See which posts performed best last week, last month, or any custom period.
Flexible Sorting & Pagination
Sort by impressions, likes, engagement rate, or date. Paginate through large result sets with configurable page sizes up to 100 results.
Platform-Specific Metrics
Each platform returns its native metrics — retweets on Twitter, watch time on YouTube, saves on Pinterest, shares on LinkedIn. Nothing is lost in translation.
1 Credit Per Call
Simple, predictable pricing. Each analytics API call costs 1 credit regardless of how many posts or platforms are returned.
More Platform APIs
Frequently Asked Questions
Ready to Add Social Media to Your Product?
One API. Every platform. Start building with free credits.
Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platformsTwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue12
Queued
847
Sent
Next: in 15 min
Platforms
connectedXIGFBLITT
One API, every platform