Skip to main content
GET
/
analytics
/
linkedin
/
{profileId}
/
posts
LinkedIn post analytics
curl --request GET \
  --url https://app.tryordinal.com/api/v1/analytics/linkedin/{profileId}/posts \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440600",
    "url": "https://www.linkedin.com/feed/update/urn:li:share:7123456789012345678",
    "commentary": "Excited to share our latest product update! šŸš€\n\nAfter months of development, we're launching three new features that will transform how you work:\n\nāœ… Feature A\nāœ… Feature B\nāœ… Feature C\n\nLearn more in the comments šŸ‘‡",
    "type": "SHARE",
    "publishedAt": "2024-12-10T14:00:00.000Z",
    "likeCount": 245,
    "commentCount": 32,
    "shareCount": 18,
    "clickCount": 156,
    "impressionCount": 12500,
    "engagement": 3.62
  },
  {
    "id": "550e8400-e29b-41d4-a716-446655440601",
    "url": "https://www.linkedin.com/feed/update/urn:li:share:7123456789012345679",
    "commentary": "5 lessons learned from scaling our startup from 0 to 10k users šŸ“ˆ\n\nThread below:",
    "type": "SHARE",
    "publishedAt": "2024-12-05T09:30:00.000Z",
    "likeCount": 892,
    "commentCount": 67,
    "shareCount": 134,
    "clickCount": 423,
    "impressionCount": 28900,
    "engagement": 5.21
  }
]

Authorizations

Authorization
string
header
required

API key authentication. Generate an API key from your workspace settings.

Path Parameters

profileId
string<uuid>
required

LinkedIn profile ID (UUID)

Query Parameters

startDate
string<date>

Start date for analytics (defaults to 30 days ago)

endDate
string<date>

End date for analytics (defaults to today)

Response

LinkedIn post analytics

id
string<uuid>
required
url
string<uri>
required

LinkedIn post URL

type
string
required
commentary
string | null
publishedAt
string<date-time> | null
likeCount
integer | null
commentCount
integer | null
shareCount
integer | null
clickCount
integer | null
impressionCount
integer | null
engagement
number | null

Engagement rate as a percentage