Skip to main content
POST
/
api
/
linkedin
/
post
/
reposts
/linkedin/post/reposts
curl --request POST \
  --url https://api.anysite.io/api/linkedin/post/reposts \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "urn": {
    "type": "<string>",
    "value": "<string>"
  },
  "count": 123,
  "timeout": 300
}
'
[
  {
    "urn": {
      "type": "fsd_company",
      "value": "<string>"
    },
    "url": "<string>",
    "@type": "LinkedinUserPost",
    "author": {
      "internal_id": {
        "type": "fsd_company",
        "value": "<string>"
      },
      "urn": {
        "type": "fsd_company",
        "value": "<string>"
      },
      "name": "<string>",
      "alias": "<string>",
      "url": "<string>",
      "@type": "LinkedinUserPostUser",
      "headline": "<string>",
      "image": "<string>"
    },
    "created_at": 0,
    "share_urn": {
      "type": "fsd_company",
      "value": "<string>"
    },
    "is_empty_repost": true,
    "repost": "<unknown>",
    "images": [
      "<string>"
    ],
    "video_url": "<string>",
    "text": "<string>",
    "comment_count": 123,
    "share_count": 123,
    "reactions": [
      {
        "type": "like",
        "count": 123,
        "@type": "LinkedinReaction"
      }
    ],
    "event": {
      "url": "<string>",
      "@type": "LinkedinUserPostEvent",
      "image": "<string>",
      "title": "<string>",
      "date": "<string>",
      "participant_count": 123
    },
    "article": {
      "url": "<string>",
      "urn": {
        "type": "fsd_company",
        "value": "<string>"
      },
      "@type": "LinkedinUserPostArticle",
      "image": "<string>",
      "title": "<string>",
      "subtitle": "<string>",
      "description": "<string>"
    },
    "document": {
      "urn": {
        "type": "<string>",
        "value": "<string>"
      },
      "url": "<string>",
      "@type": "LinkedinUserPostDocument",
      "title": "<string>",
      "cover_images": [
        "<string>"
      ],
      "images": [
        "<string>"
      ],
      "total_images_count": 123
    }
  }
]

Authorizations

access-token
string
header
required

Headers

access-token
string
required

Body

application/json
urn
LinkedinURN[Literal[<LinkedinURNPrefix.activity: 'activity'>]] · object
required

Post URN, only activity urn type is allowed

count
integer
required

Max result count

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

urn
LinkedinURN · object
required
url
string
required
@type
string
default:LinkedinUserPost
author
LinkedinUserPostUser · object
  • LinkedinUserPostUser
  • LinkedinUserPostRepostedUser
  • LinkedinCompanyPostCompany
created_at
integer
default:0
share_urn
LinkedinURN · object
is_empty_repost
boolean | null
repost
unknown
images
string[] | null
video_url
string | null
text
string | null
comment_count
integer | null
share_count
integer | null
reactions
LinkedinReaction · object[] | null
event
LinkedinUserPostEvent · object
article
LinkedinUserPostArticle · object
document
LinkedinUserPostDocument · object