Curly

LinkedIn Top Content API for ranked posts by topic.

Select LinkedIn topics, collect ranked public posts, preserve source position, and sort the returned data for research or monitoring.

  • Up to 100 topics
  • Up to 100 posts each
  • No login or cookies

Values above 10 follow related public topic pages and deduplicate posts.

curl -X POST \
  "https://api.apify.com/v2/acts/curly~linkedin-top-content-scraper/run-sync-get-dataset-items?format=json" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{
  "topics": [
    "marketing",
    "artificial-intelligence"
  ],
  "maxResultsPerTopic": 25,
  "sortBy": "most_engagement"
}'

Keep the Apify token in a server environment variable. Never place it in public browser code.

Ranked topic discovery, not publishing or exact post lookup.

  • Benchmark what leads each topic

    Collect ranked examples across categories and nested topics to study the authors, hooks, formats, and engagement patterns visible in each niche.

  • Separate native rank from analysis order

    Preserve the original topic position while creating a second ordering by recency, reactions, comments, or combined engagement.

  • Scale content research across a taxonomy

    Process up to 100 topic paths and build comparable datasets without pretending a bounded topic ranking is a universal keyword search.

A ranked LinkedIn content API for known topics.

Choose categories or nested topic paths and receive one normalized dataset item per unique public post.

Requests above 10 follow related public topic pages, while topic_rank always preserves the original source-page position.

Know which topic, rank, post, and author fields are returned.

Every result identifies the exact topic page and rank it came from. Optional public values remain null or empty rather than being inferred.

FieldsPurposeAvailability
topic_title, topic_path, topic_url, topic_categorySource topic identitySuccessful results
topic_rank, sort_position, sort_byNative rank and returned orderSuccessful results
post_id, post_url, text, published_atPublic post identity and contentWhen public
authorName, profile URL, headline, followers, avatar, and badgesWhen public
content_type, media, articleAttached content and linked article metadataWhen attached
hashtags, mentions, external_urlsStructured entities and linksWhen present
reaction_count, comment_count, repost_countPublic engagement countersWhen exposed
scraped_at, sourceCollection time and provenanceSuccessful results

Plan the integration with a complete ranked-post record.

This representative response keeps both the LinkedIn source rank and the returned sort position alongside the full post record.

[
  {
    "topic_title": "Marketing",
    "topic_path": "marketing",
    "topic_url": "https://www.linkedin.com/top-content/marketing/",
    "topic_category": "marketing",
    "topic_rank": 1,
    "sort_position": 1,
    "sort_by": "most_engagement",
    "post_id": "7432410076788781057",
    "post_url": "https://www.linkedin.com/posts/example_marketing-activity-7432410076788781057-abcd",
    "author": {
      "name": "Example Author",
      "url": "https://www.linkedin.com/in/example",
      "headline": "Founder at Example",
      "follower_count": 12345,
      "avatar_url": "https://media.licdn.com/example-avatar.jpg",
      "badges": ["Influencer"]
    },
    "text": "An example public post about a marketing lesson.",
    "published_at": "2026-02-25T13:04:09.808Z",
    "relative_time": "5mo",
    "content_type": "image",
    "is_repost": false,
    "media": [{"type":"image","url":"https://media.licdn.com/example-post.jpg","thumbnail_url":null,"title":null,"alt_text":"Example chart"}],
    "article": null,
    "hashtags": ["Marketing"],
    "mentions": [],
    "external_urls": [],
    "reaction_count": 703,
    "comment_count": 98,
    "repost_count": null,
    "scraped_at": "2026-07-29T12:00:00.000Z",
    "source": "linkedin_top_content"
  }
]

Top Content API versus free research and publishing APIs.

Curly collects ranked public posts from selected topic pages. It does not publish content, and it is deliberately separate from the one-topic free browser experience.

OptionStarting inputAccessBest for
Official LinkedIn Content APIsAuthorized publishing payloadRestricted LinkedIn accessCreating or managing content
Curly free Post Examples FinderOne selected topicFree browser toolExploring up to 10 examples
Curly Top Content APIUp to 100 topics or advanced pathsApify API tokenRanked datasets, sorting, schedules, and webhooks
Curly Post Scraper APIExact /posts/ URLsSeparate Curly endpointKnown post detail and public comments

Scale topic research beyond a single browser query.

Use topic paths and post IDs as source keys, then schedule collections, receive webhooks, or export datasets through Apify.

Ready to collect ranked posts across topics?

Open the Curly Actor to choose topics, set result limits and sorting, schedule runs, or connect the dataset.

Open API on Apify

Common LinkedIn Top Content API questions.