Social media5 min readBy Purrkey teamUpdated

How to list a LinkedIn profile's recent posts

Fetch a public LinkedIn profile's recent posts with author, engagement, article, image, video and repost fields, then shape them into a review table

On this page

You have one public LinkedIn profile and need to review 20 of its recent posts to see which topics and formats drive reactions, comments and reposts. The table below is the deliverable for a content-pillar review and a format decision for next month: one row per post, with the post text, author details, engagement counts, format fields and a topic tag you add

No run has been executed for this article. Values in the design table are placeholders showing the shape

Example input and table design

Example input, with an invented profile URL to replace with a real public LinkedIn profile:

FieldValue
urlhttps://www.linkedin.com/in/example-social-analyst/
limit20

The agent fills a table with these columns. Values here are placeholders showing the shape:

createdUtcurltextauthor.handleauthor.headlineengagement.reactionsengagement.commentsengagement.repostsarticleTitlearticleUrlimages.urlvideoUrlrepostTextrepostUrltopicTag
createdUtc(post URL)(post text)author.handleauthor.headlineengagement.reactionsengagement.commentsengagement.reposts(title or empty)(URL or empty)(image URL or empty)(video URL or empty)(repost text or empty)(repost URL or empty)(reader tag)

Use createdUtc to sort the rows newest first and keep the 20 most recent entries. The topic tag is your own label, such as hiring, product or event, and it feeds the content-pillar review. Post format comes from articleTitle, articleUrl, images.url, videoUrl, repostText and repostUrl; a row with none of those is a text-only post

What the tool takes

The input notes for anyapi.linkedin.profile_posts_thin cover url, limit, cursor and requireFields. url is required and is the full public LinkedIn profile URL. Agents call it through POST /v1/runs with toolId anyapi.linkedin.profile_posts_thin

limit is optional. It takes an integer from 10 to 100 and defaults to 10. On sources that page, limit is ignored: each call returns one full page of 50 posts, and you follow nextCursor for more. On sources that cannot page, the call returns up to limit posts in one call with no nextCursor. For a 20-post review, set limit to 20 and trim the first page to the 20 newest rows

cursor is optional. Pass back a nextCursor from a previous response to continue a paginated walk. requireFields is optional; omit it unless the request must return nextCursor. Naming nextCursor can route to a dearer source, and the price you are quoted and charged is that source's price. A combination that no single source returns together is refused as invalid input with no charge

For a list of profiles rather than one profile, see LinkedIn profile data for a list

How to read the output fields

The response has found, data and, when found is false, reason. data is null when no posts were found. When posts exist, data.items holds them and data.nextCursor is the cursor for the next page or null when there are no more

Each item carries id, url, text and createdUtc. createdUtc is a UTC epoch timestamp in seconds; multiply by 1000 for a JS Date in milliseconds. author.handle, author.headline, author.image and author.profileUrl give portable author details. Engagement sits in engagement.reactions, engagement.comments and engagement.reposts, each an integer with a minimum of 0

The format fields are optional on a given post. articleTitle, articleSubtitle, articleUrl and articleImage describe an attached article. images is an array whose items have url. videoUrl and videoThumbnail describe an attached video. repostText, repostUrl, repostId, repostCreatedUtc, repostAuthorUrl, repostAuthorHeadline, repostAuthorImage, repostArticleTitle, repostArticleSubtitle, repostArticleUrl and repostArticleImage describe a repost. Keep signed query strings intact on the repost image fields

found: false is a successful not-found call, not an error. reason is not_found when the source states the target does not exist or returned nothing for it, and costUsd is what the call actually cost. Record it as a not-found result and keep the actual cost

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to list recent posts
for one public LinkedIn profile. Check the current inputs and price of
anyapi.linkedin.profile_posts_thin before running anything. Call the tool
with url https://www.linkedin.com/in/example-social-analyst/ and limit 20.
If the response has nextCursor and you need a second page to reach 20 rows,
pass it back as cursor. Return a table with createdUtc, url, text,
author.handle, author.headline, engagement.reactions, engagement.comments,
engagement.reposts, articleTitle, articleUrl, images.url, videoUrl,
repostText, repostUrl and a topic tag column. Sort by createdUtc
descending and keep the 20 most recent rows. If found is false, return a
row that says not_found and the actual costUsd. Do not invent posts.

Replace the example profile URL with a real public LinkedIn profile. The prompt covers one profile and one review table

Estimated tool cost

Prices from the Purrkey catalog, read November 13, 2026. The unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge. The table below shows ceilings, not settled charges

StepFormulaUnit pricePlanned quantityTotal
Single profile requestcalls x max_call$0.194 per call1$0.194
Two-page profile walkcalls x max_call$0.194 per call2$0.388

The 20-post review can use one call when the first response has enough rows. A two-page walk covers the case where you follow nextCursor for a second page. Model fees for the agent are not counted

Run the profile posts tool

Open the LinkedIn profile posts thin tool and run it with your public profile URL and limit: 20

Get started by giving this to your agent

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with LinkedIn.
Explore LinkedIn tools and pricing

FAQ

How do I list a LinkedIn profile's recent posts?

Call anyapi.linkedin.profile_posts_thin with the public profile URL and a limit from 10 to 100. The response returns a data.items list with post text, createdUtc, author details and engagement counts.

What inputs does anyapi.linkedin.profile_posts_thin take?

The contract notes url, limit, cursor and requireFields. url is required and is the full public LinkedIn profile URL.

What does found: false mean for LinkedIn profile posts?

found: false means the source states the target does not exist or returned nothing for it. It is a successful not-found call, not an error, and costUsd is what the call actually cost.

How many posts can one call return?

limit takes 10 to 100 and defaults to 10. On sources that page, limit is ignored and each call returns one full page of 50 posts; follow nextCursor for more. On sources that cannot page, the call returns up to limit posts with no nextCursor.

How much does a LinkedIn profile posts request cost?

The catalog lists anyapi.linkedin.profile_posts_thin at up to $0.194 per call on the max_call unit. A single request is at most $0.194 and a two-page walk is at most $0.388. These are ceilings; successful runs settle at the actual AnyAPI charge.

How do I review 20 recent posts from one profile?

Set limit to 20, sort the returned rows by createdUtc descending, and keep the 20 most recent rows. Add a topic tag column for the content-pillar review.

Which output fields help compare post formats?

engagement.reactions, engagement.comments and engagement.reposts show the counts. articleTitle, articleUrl, images.url, videoUrl, repostText and repostUrl show the format and any repost details.

Next step

Try this with LinkedIn

The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.

See LinkedIn tools

Share this article