> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bridgly.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch a single LinkedIn post by URN



## OpenAPI

````yaml /openapi.json post /linkedin/get-post-detail
openapi: 3.1.0
info:
  title: Bridgly API
  description: >-
    Web scraping API for LinkedIn, X (Twitter) and Reddit. Authenticated
    endpoints accept a Bridgly API key (`bgly_…`) via `Authorization: Bearer
    <token>`.
  version: 1.0.0
servers:
  - url: https://api.bridgly.app
    description: Production
security: []
tags:
  - name: LinkedIn
    description: Scrape LinkedIn profiles, companies, posts, and search.
  - name: Reddit
    description: Scrape Reddit posts, subreddits, users, and search.
  - name: X (Twitter)
    description: Scrape tweets and search X.
paths:
  /linkedin/get-post-detail:
    post:
      tags:
        - LinkedIn
      summary: Fetch a single LinkedIn post by URN
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                activityUrn:
                  type: string
                  description: >-
                    The post/update to fetch — a `urn:li:activity:<id>`, e.g.
                    "urn:li:activity:7300000000000000000".
              required:
                - activityUrn
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  timeMs:
                    type: number
                    description: >-
                      Wall-clock time the request took to complete, in
                      milliseconds.
                  creditsCost:
                    type: number
                    description: Number of account credits this request consumed.
                  data:
                    type: object
                    properties:
                      urn:
                        anyOf:
                          - type: string
                          - type: 'null'
                      url:
                        anyOf:
                          - type: string
                          - type: 'null'
                      shareUrn:
                        anyOf:
                          - type: string
                          - type: 'null'
                      shareAudience:
                        anyOf:
                          - type: string
                          - type: 'null'
                      text:
                        anyOf:
                          - type: string
                          - type: 'null'
                      publishedAt:
                        anyOf:
                          - type: string
                          - type: 'null'
                      postedAt:
                        anyOf:
                          - type: number
                          - type: 'null'
                      actorName:
                        anyOf:
                          - type: string
                          - type: 'null'
                      actorUrn:
                        anyOf:
                          - type: string
                          - type: 'null'
                      actorPublicIdentifier:
                        anyOf:
                          - type: string
                          - type: 'null'
                      actorUrl:
                        anyOf:
                          - type: string
                          - type: 'null'
                      actorHeadline:
                        anyOf:
                          - type: string
                          - type: 'null'
                      images:
                        type: array
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                          required:
                            - url
                          additionalProperties: false
                      article:
                        anyOf:
                          - type: object
                            properties:
                              title:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              subtitle:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              url:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              imageUrl:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - title
                              - subtitle
                              - url
                              - imageUrl
                            additionalProperties: false
                          - type: 'null'
                      event:
                        anyOf:
                          - type: object
                            properties:
                              title:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              url:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              date:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              location:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - title
                              - url
                              - date
                              - location
                            additionalProperties: false
                          - type: 'null'
                      job:
                        anyOf:
                          - type: object
                            properties:
                              title:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              company:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              location:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              url:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - title
                              - company
                              - location
                              - url
                            additionalProperties: false
                          - type: 'null'
                      socialCounts:
                        anyOf:
                          - type: object
                            properties:
                              numLikes:
                                anyOf:
                                  - type: number
                                  - type: 'null'
                              numComments:
                                anyOf:
                                  - type: number
                                  - type: 'null'
                              numShares:
                                anyOf:
                                  - type: number
                                  - type: 'null'
                              reactionTypeCounts:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    reactionType:
                                      type: string
                                    count:
                                      type: number
                                  required:
                                    - reactionType
                                    - count
                                  additionalProperties: false
                            required:
                              - numLikes
                              - numComments
                              - numShares
                              - reactionTypeCounts
                            additionalProperties: false
                          - type: 'null'
                      resharedPost:
                        anyOf:
                          - type: object
                            properties:
                              actorName:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              text:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              actorUrn:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              actorPublicIdentifier:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              actorUrl:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              publishedAt:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              urn:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              url:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              shareUrn:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                            required:
                              - actorName
                              - text
                              - actorUrn
                              - actorPublicIdentifier
                              - actorUrl
                              - publishedAt
                              - urn
                              - url
                              - shareUrn
                            additionalProperties: false
                          - type: 'null'
                      comments:
                        type: array
                        items:
                          type: object
                          properties:
                            urn:
                              anyOf:
                                - type: string
                                - type: 'null'
                            text:
                              anyOf:
                                - type: string
                                - type: 'null'
                            commenterName:
                              anyOf:
                                - type: string
                                - type: 'null'
                            commenterUrn:
                              anyOf:
                                - type: string
                                - type: 'null'
                            createdTime:
                              anyOf:
                                - type: number
                                - type: 'null'
                            parentCommentUrn:
                              anyOf:
                                - type: string
                                - type: 'null'
                          required:
                            - urn
                            - text
                            - commenterName
                            - commenterUrn
                            - createdTime
                            - parentCommentUrn
                          additionalProperties: false
                    required:
                      - urn
                      - url
                      - shareUrn
                      - shareAudience
                      - text
                      - publishedAt
                      - postedAt
                      - actorName
                      - actorUrn
                      - actorPublicIdentifier
                      - actorUrl
                      - actorHeadline
                      - images
                      - article
                      - event
                      - job
                      - socialCounts
                      - resharedPost
                      - comments
                    additionalProperties: false
                required:
                  - timeMs
                  - creditsCost
                  - data
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '402':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
      security:
        - bearerAuth: []
      x-codeSamples:
        - lang: typescript
          label: Bridgly SDK
          source: |-
            import { Bridgly } from 'bridgly';

            const client = new Bridgly({ apiKey: process.env.BRIDGLY_API_KEY });

            const res = await client.linkedin.getPostDetail({
              activityUrn: "string",
            });
            if (res.type === 'success') console.log(res.data);
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Bridgly API key (`bgly_…`). Metered endpoints deduct credits from the
        resolved account.

````