Get LinkedIn person posts

Fetch recent public posts from a LinkedIn person's profile feed by profile URL.

Returns one page at a time. When meta.hasMore is true, request the next page with the same profileUrl, page incremented by 1, and paginationToken set to the value from the previous response.

Recommended client timeout: 90 seconds. Most requests resolve in 2-5 seconds, but set your HTTP client timeout to at least 90 seconds to avoid false timeouts on slower lookups.

Credits

Each successful response deducts 10 credits from your organization. Requests that fail (4xx / 5xx) are not billed.

See the credits documentation for the full rate table.


POST
/data/linkedin/person/posts

Authorization

bearerAuth
AuthorizationBearer <token>

Organization API key from Integrations → API keys.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request body for POST /data/linkedin/person/posts.

profileUrl*string

Public LinkedIn person profile URL, e.g. https://www.linkedin.com/in/janedoe.

Length1 <= length <= 2048
page?integer

Results page number (1-based). Defaults to 1.

Range1 <= value
paginationToken?|

Cursor from a previous response's meta.paginationToken. Required for page 2+ when one is returned.

Lengthlength <= 4096
count?integer

Deprecated. Ignored. The full page is always returned.

Range1 <= value <= 20

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/data/linkedin/person/posts" \  -H "Content-Type: application/json" \  -d '{    "profileUrl": "string"  }'
{  "requestId": "string",  "posts": [    {      "share_url": "string",      "actor": {        "actor_image": "string",        "actor_description": "string",        "actor_name": "string",        "actor_subDescription": "string",        "actor_navigationContext": "string"      },      "commentary": "string",      "social_details": {        "numLikes": 0,        "numComments": 0,        "numShares": 0,        "reactionTypeCounts": [          {            "type": "string",            "count": 0          }        ]      },      "postedAt": "string",      "imageComponent": [        "string"      ],      "urn": "string",      "reactionsUrn": "string",      "commentsUrn": "string",      "repostsUrn": "string",      "articleComponent": {        "title": "string",        "subtitle": "string",        "navigationContext": "string",        "smallImage": "string",        "description": "string"      },      "linkedInVideoComponent": {        "thumbnail": "string",        "duration": 0,        "provider": "string"      },      "documentComponent": {        "title": "string",        "transcribedDocumentUrl": "string",        "coverPages": [          {            "width": 0,            "height": 0,            "imageUrls": [              "string"            ]          }        ]      },      "pollComponent": {        "question": "string",        "visibilityInfo": "string",        "showPollSummaryInfo": true,        "pollOptions": [          {            "option": "string",            "votes": 0          }        ],        "totalVotes": 0,        "closed": true,        "remainingDuration": "string"      }    }  ],  "meta": {    "returnedCount": 0,    "page": 1,    "paginationToken": "string",    "hasMore": true  }}
{  "requestId": "01HXYZABCDEF",  "error": {    "code": "validation_error",    "message": "query: String must contain at least 1 character(s)",    "issues": [      {        "path": "query",        "message": "String must contain at least 1 character(s)"      }    ]  }}
{  "requestId": "01HXYZABCDEF",  "error": {    "code": "unauthorized",    "message": "Invalid or revoked API key."  }}
{  "requestId": "01HXYZABCDEF",  "error": {    "code": "rate_limited",    "message": "Rate limit exceeded for linkedin. Try again later.",    "retryAfter": 42  }}
{  "requestId": "01HXYZABCDEF",  "error": {    "code": "upstream_error",    "message": "LinkedIn search could not be completed. You won't be charged for this request."  }}
{  "requestId": "ce8f36c6-c9e6-4ab1-93b3-d11bbbe886aa",  "error": {    "code": "linkedin_unavailable",    "message": "LinkedIn search is temporarily unavailable. Retry later. You won't be charged for this request."  }}