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

Headers

access-token
string
required

Body

application/json
urn
object
required

Company URN, only company urn type is allowed

count
integer
required

Max result count

Required range: x > 0
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

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