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": "Text",
    "publishedAt": "2024-12-10T14:00:00.000Z",
    "likeCount": 245,
    "commentCount": 32,
    "shareCount": 18,
    "clickCount": 156,
    "impressionCount": 12500,
    "engagement": 0.036,
    "emv": 375,
    "ordinalPost": {
      "id": "44444444-4444-4444-a444-444444444444",
      "title": "LinkedIn Ordinal Post",
      "labels": [
        {
          "name": "Product",
          "labelId": "55555555-5555-4555-a555-555555555555"
        }
      ],
      "campaign": {
        "id": "66666666-6666-4666-a666-666666666666",
        "name": "Launch Campaign"
      }
    }
  },
  {
    "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": "Image",
    "publishedAt": "2024-12-05T09:30:00.000Z",
    "likeCount": 892,
    "commentCount": 67,
    "shareCount": 134,
    "clickCount": 423,
    "impressionCount": 28900,
    "engagement": 0.052,
    "emv": 867,
    "ordinalPost": null
  }
]

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
enum<string>
required

The type of LinkedIn post

Available options:
Text,
Article,
Image,
Video,
Poll,
Celebration,
Job,
Event,
Document,
Repost,
QuotePost,
MultiImage
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 (total engagements / impressions), typically between 0 and 1

emv
number | null

Earned Media Value calculated as (impressionCount / 1000) * CPM

ordinalPost
object

Linked Ordinal post when this external post was published from Ordinal, null otherwise