Apinoa Docs

Comments

Get a LinkedIn post's top comments.

View raw .mdx
GET | POST /v1/linkedin/comments

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

What to Pass

PassReadsNotes
postThe post's top commentslimit caps how many

Pass one source per call. Every identifier also takes the page URL.

Parameters

ParameterTypeRequiredNotes
limitinteger 1–50Most comments to return (LinkedIn shows a post's top few).
poststringThe post's comments: activity id, urn:li:activity:<id>, or URL.

Request

curl "https://gateway.apinoa.com/v1/linkedin/comments?post=7508925724787941376&limit=3" \
  -H "x-api-key: $APINOA_API_KEY"

Response

Returns Page of Comment in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "platform": "linkedin",
    "items": [
      {
        "platform": "linkedin",
        "id": "urn:li:comment:(urn:li:ugcPost:7508925723823243264,7512465132208254976)",
        "postId": "7508925724787941376",
        "author": {
          "platform": "linkedin",
          "handle": "deusdeditruhangariyo2010",
          "displayName": "Deusdedit Ruhangariyo",
          "url": "https://www.linkedin.com/in/deusdeditruhangariyo2010",
          "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQGR9OrfrQjtFg/profile-displayphoto-shrink_400_400/profile-displayphoto-shrin…",
          "ext": {
            "type": "person"
          }
        },
        "text": "Microsoft: From the Global AI Liability Consortium [GAILC] lens, independent testing is especially important when emerg…",
        "createdAt": "2026-10-04T10:54:22.371Z",
        "metrics": {
          "likes": 0
        },
        "replies": []
      }
    ],
    "total": 35
  }
}

Errors

StatusCodeMeaning
400INVALID_CURSORThe cursor is not one this operation returned. Start again without it.
400INVALID_PARAMSA parameter is missing, unknown or out of range. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_BALANCEThe balance does not cover this call. Top up in the dashboard.
404NOT_FOUNDThe account, post or group does not exist, or is private, deleted or age-restricted.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe platform answered with something unusable. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price $0.001 per call. List price; the rate steps down above 1,000 calls a day.

On this page