Skip to main content
GET
/
linkedin
/
leads
/
{profileId}
/
posts
List posts
curl --request GET \
  --url https://app.tryordinal.com/api/v1/linkedin/leads/{profileId}/posts \
  --header 'Authorization: Bearer <token>'
{
  "posts": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "url": "<string>",
      "commentary": "<string>",
      "publishedAt": "2023-11-07T05:31:56Z",
      "likeCount": 123,
      "commentCount": 123,
      "shareCount": 123,
      "scrapedLeadsCount": {
        "reactions": 123,
        "comments": 123,
        "reshares": 123
      }
    }
  ],
  "nextCursor": "<string>",
  "hasMore": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.tryordinal.com/llms.txt

Use this file to discover all available pages before exploring further.

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-time>

Filter posts published on or after this date

endDate
string<date-time>

Filter posts published on or before this date

limit
integer
default:20

Maximum number of posts to return (1-100)

Required range: 1 <= x <= 100
cursor
string

Pagination cursor from previous response

Response

List of LinkedIn posts with lead counts

posts
object[]
nextCursor
string | null

Cursor for fetching the next page

hasMore
boolean

Whether more posts are available