OpenAny
Get API keyAPI Key
APIDataSocial Media

linkedin logo
LinkedIn Post Comments (V1) API

Get LinkedIn Post Comments (V1) data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by JustOneAPI, pass parameters such as postId, and retrieve structured data including business status code, text, returned annotation value, returned commenter field, and creation timestamp for content research and account lookup, and integration reference.

Selected price
$0.030769 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

LinkedIn Post Comments (V1) API

Prepare your request, then continue with your agent.

Selected price

$0.030769 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
LinkedIn Post Comments (V1) API

LinkedIn Post Comments (V1) API

Retrieve LinkedIn comments for an activity post with relevance or recent sorting, page-based navigation, a pagination token, and optional share URN. Provide postId in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: postId, page, sortOrder, paginationToken, shareUrn
Selected implementation justoneapi · LinkedIn Post Comments API (V1)
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
code Business status code
data.data[].text Text
data.data[].annotation Returned annotation value (nullable in the reference)
data.data[].commenter Returned commenter field
data.data[].created_at Creation timestamp
data.data[].created_datetime Returned created datetime field
data.data[].permalink Returned permalink field
data.data[].pinned Returned pinned field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/justoneapi/api/linkedin/get-post-comments/v1?postId=%3CREPLACE_POSTID%3E' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published LinkedIn Post Comments (V1) API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
LinkedIn post ID.
Optional parameters (4)
Page number, starting from 1.
Comment sort order. Available Values: - `RELEVANCE`: Sort comments by relevance - `RECENT`: Sort comments from most recent
Pagination token returned by a previous response.
Optional share URN for a shared post.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
justoneapiCurrent
LinkedIn Post Comments API (V1) · GET · View API reference
$0.030769 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · justoneapiUSD / call
Unit price
$0.030769

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $3.0769

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/linkedin/get-post-comments/v1
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
postIdURL query parametersquerystringYes

LinkedIn post ID.

pageURL query parametersqueryintegerNo

Page number, starting from 1.

sortOrderURL query parametersquerystringNo

Comment sort order. Available Values: - `RELEVANCE`: Sort comments by relevance - `RECENT`: Sort comments from most recent

enum: "RELEVANCE", "RECENT"

paginationTokenURL query parametersquerystringNo

Pagination token returned by a previous response.

shareUrnURL query parametersquerystringNo

Optional share URN for a shared post.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • codeinteger
  • dataobject
    • dataobject[]
      • annotationnull
      • commenterobject
        • headlinestring
        • image_urlstring
        • linkedin_urlstring
        • namestring
        • urnstring
      • created_atinteger
      • created_datetimestring
      • permalinkstring
      • pinnedboolean
      • repliesunknown[]
      • textstring
      • thread_urnnull
    • pagination_tokenstring
    • totalinteger
  • messagenull
  • recordTimenull

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Historical response; independent request temp

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 5

    Review these request fields before running. Keep the published provider and request method unchanged.

    postId
    LinkedIn post ID.
    page
    Page number, starting from 1.
    sortOrder
    Comment sort order. Available Values: - `RELEVANCE`: Sort comments by relevance - `RECENT`: Sort comments from most recent
    paginationToken
    Pagination token returned by a previous response.
    shareUrn
    Optional share URN for a shared post.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/justoneapi/api/linkedin/get-post-comments/v1?postId=%3CREPLACE_POSTID%3E' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "code": 0,
      "data": {
        "data": [
          {
            "annotation": null,
            "commenter": {
              "headline": "Aspiring Property Manager/ Real Estate Agent",
              "image_url": "https://media.licdn.com/dms/image/v2/D5603AQEJqtVUnnxbnw/profile-displayphoto-shrink_100_100/B56ZNp39shGkAU-/0/1732648099135?e=1794441600&v=beta&t=ZLaXopOFL8IaUkW3ZdRD0XJ8FztDhJC6DVvswJjVVv0",
              "linkedin_url": "https://www.linkedin.com/in/manzanarespropmgmt",
              "name": "Monate Manzanares",
              "urn": "ACoAAAVRCsEBuy-uzvc61779lB-qNXG8crFwka8"
            },
            "created_at": 1732655923782,
            "created_datetime": "2024-11-26 21:18:43",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267285671738765313%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267285671738765313%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "Love this",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "Direct and Indirect Procurement | Functional Data Analyst | WSQ ACLP certified trainer",
              "image_url": "https://media.licdn.com/dms/image/v2/D5603AQEbqnf-TQeXXA/profile-displayphoto-crop_800_800/B56aELUH.rHUAI-/0/1791191188088?e=1794441600&v=beta&t=yIWiidTJ3OAad2SmUd_sEIltM88lZLRpIf0Fko-JTAw",
              "linkedin_url": "https://www.linkedin.com/in/ssgoh",
              "name": "Goh Swee Siong",
              "urn": "ACoAAADnyUIBn1S7927C1UWPZibcZinFb4Eq8Vg"
            },
            "created_at": 1732656234066,
            "created_datetime": "2024-11-26 21:23:54",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267286973164187649%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267286973164187649%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "This happened all the time in high performance culture nowadays. Nothing new. As the doer, we need to seek clarification and pin down to do or not to do even at the expense of irking the manager.",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "💎 WellBeing Workplace Advocate | Business Connector | Linkedin Top 300 Global Excellence Leader 2025|",
              "image_url": "https://media.licdn.com/dms/image/v2/C5603AQFey0FYTUHnrA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1551406391787?e=1794441600&v=beta&t=9fUODyiqaR-5-dA_wZ_gCWYZ5X1V_hcIuaT_O-2Q_LI",
              "linkedin_url": "https://www.linkedin.com/in/reenastrehle",
              "name": "Reena Strehle",
              "urn": "ACoAACJeMFYBk9sz2-MbXT-m3d7aNnXFHofzpkI"
            },
            "created_at": 1732663452583,
            "created_datetime": "2024-11-26 23:24:12",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267317249823170561%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267317249823170561%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "Clarity should be a non-negotiable in communication!\n\nA little slip-up can become big quite fast, Anthony J James.",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "Sociologist//SDGs Advocate//Financial Advisor & Planner//Researcher//Realtor//Educationist//Sales//Digital Marketing//Humanitarian//Hospitality//Volunteer & Positive Change Agent..",
              "image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHRnbHUVkdzrw/profile-displayphoto-shrink_400_400/B4EZSgBCPQGYAg-/0/1737851415290?e=1794441600&v=beta&t=nblNXwd4C2ztYks0v0BS_KP-NfUs0ktiY9GkAy0mD-A",
              "linkedin_url": "https://www.linkedin.com/in/john-emmanuel-72220774",
              "name": "JoHn EmmanuEl",
              "urn": "ACoAAA-xS0oBF3Yu651R6w26kmSzH_Q5L35uTgo"
            },
            "created_at": 1732652963885,
            "created_datetime": "2024-11-26 20:29:23",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267273257030926336%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267273257030926336%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "Very Apt... 😎👌🙌👍",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "TRANSLATOR/DATA ENTRY AT DIGITAL COACH.IT",
              "image_url": "https://media.licdn.com/dms/image/v2/D5635AQFyVzrVgQL2aw/profile-framedphoto-shrink_800_800/profile-framedphoto-shrink_800_800/0/1736500277895?e=1793368800&v=beta&t=52W6CWAb7gypOxiKp6z5CM5J9gycZKgSISYcIQujVhE",
              "linkedin_url": "https://www.linkedin.com/in/md-monowarul-hoque-33444b324",
              "name": "Md Monowarul Hoque",
              "urn": "ACoAAFHvgBgBT9AvS87FIA1cCBori9vbZ36Baok"
            },
            "created_at": 1732809192123,
            "created_datetime": "2024-11-28 15:53:12",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267928525754556416%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267928525754556416%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "https://kwork.com/manage_kworks",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "Neuroscientist & Behavioural Economist | Forbes Women Australia | Helping businesses remove buyer resistance using Consumer Psychology | International Speaker & Podcast Host",
              "image_url": "https://media.licdn.com/dms/image/v2/D5603AQEt8h4IB9Prmg/profile-displayphoto-scale_100_100/B56ZqPxijQI0Ac-/0/1763348721935?e=1794441600&v=beta&t=m70FAR4Um8NjcCuAiFS-qzHTO-VCwAr8KurluPKp7Lc",
              "linkedin_url": "https://www.linkedin.com/in/leanne-elich",
              "name": "Dr Leanne Elich  PhD. GAICD. M.npn. F.npn",
              "urn": "ACoAAAL_ujEBd3Lz-RNNjbpu7XZTRbV9byHsng0"
            },
            "created_at": 1732777378817,
            "created_datetime": "2024-11-28 07:02:58",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267795091077894144%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267795091077894144%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "Classic indecision, Anthony J James! But hey, sometimes it's all about taking the time to get it right.",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "LinkedIn for Business Coach | I Help Coaches & B2B Professionals Generate Qualified Leads & Clients on LinkedIn within 7 Days Using Strategic Conversion Conversations ✅ 330+ Recommendations 👉 Find Out More DM ‘COACH’ 👈",
              "image_url": "https://media.licdn.com/dms/image/v2/D4E03AQHV9a_S6MZ78g/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1670469073919?e=1794441600&v=beta&t=zlwJpu5_G1ZT_PurwRQeYWQZ-TDIXcKRfeJhaPPHwOQ",
              "linkedin_url": "https://www.linkedin.com/in/derickmildred",
              "name": "Derick Mildred",
              "urn": "ACoAAAAS6BsBglQNMEueykIsc3sKcszsxmMNlEk"
            },
            "created_at": 1732755894176,
            "created_datetime": "2024-11-28 01:04:54",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267704977962205184%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267704977962205184%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "Hi Anthony J James It's a reminder of the constant balancing act we face in decision-making. It's fascinating how these choices shape our paths. 😎 😎 ",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "--",
              "image_url": "https://media.licdn.com/dms/image/v2/C5603AQF47oO7yApInA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1627583406821?e=1794441600&v=beta&t=DrakleyytOBIX5rxyAJBxkud99CNwXdCJiURD_FcZz8",
              "linkedin_url": "https://www.linkedin.com/in/abhishek-yadav-1b9b26218",
              "name": "Abhishek Yadav",
              "urn": "ACoAADb7z50BJmviL2rXY8cC2nFbNFseZUKQ75U"
            },
            "created_at": 1733167003542,
            "created_datetime": "2024-12-02 19:16:43",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7269429295620476928%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287269429295620476928%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "I will do",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "\"Trust must be repeated again and again because the error is constantly preached around.\" J.W. von Goethe",
              "image_url": "https://media.licdn.com/dms/image/v2/C5603AQFV0X4RAvtPYw/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1642000333845?e=1794441600&v=beta&t=BM5DxzgRsuhg7qqPxrhFrhiX36JHLGAZiLTTjwt8rBU",
              "linkedin_url": "https://www.linkedin.com/in/dr-corina-ross-8a928419",
              "name": "Dr. Corina Ross",
              "urn": "ACoAAAPHEAEBYwqtDnmtfItB-2BcQa9tnJHVfJs"
            },
            "created_at": 1733046436128,
            "created_datetime": "2024-12-01 09:47:16",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7268923599233732608%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287268923599233732608%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "The choice between short-term and big, immediate but risky advantages and long-term and small sure advantages had always been questioned. In economics, the government has traditionally chosen the second choice, while private business is based on the first one. And the head can be \"off\", indifferently of choice :).",
            "thread_urn": null
          },
          {
            "annotation": null,
            "commenter": {
              "headline": "emekli şirketinde serbest emekli",
              "image_url": "https://media.licdn.com/dms/image/v2/D4D03AQHxKEVq5zy-UA/profile-displayphoto-scale_100_100/B4DZscMpghH0Ac-/0/1765704638488?e=1794441600&v=beta&t=_3YSAQ8Hv2sOrZTGnCv_ErdScEOKONNoJMPScRTnpIQ",
              "linkedin_url": "https://www.linkedin.com/in/erdin-buluryar-4b750b136",
              "name": "ERDİN BULURYAR",
              "urn": "ACoAACEt6QsBIPm3mjyJwKuleM6VGGdTp6eQioM"
            },
            "created_at": 1732819322288,
            "created_datetime": "2024-11-28 18:42:02",
            "permalink": "https://www.linkedin.com/feed/update/urn:li:activity:7267273010393358336?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7267273010393358336%2C7267971014746120193%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287267971014746120193%2Curn%3Ali%3Aactivity%3A7267273010393358336%29",
            "pinned": false,
            "replies": [],
            "text": "Ana düşünce strateji olmalıdır 😀",
            "thread_urn": null
          }
        ],
        "pagination_token": "1442958636-1792760417036-e88b61cd3d167b61d61847d41875a320",
        "total": 10
      },
      "message": null,
      "recordTime": null
    }

Common questions

Which inputs identify this request?

Provide postId in query (string). Keep identifiers and URLs in the formats documented for this implementation.

Which pagination or result-size inputs are exposed?

page is integer. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

Which values can I use for sortOrder?

The selected schema accepts RELEVANCE, RECENT. Keep the documented string type and exact spelling for this input.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use LinkedIn Post Comments (V1) API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.