---
title: "Get LinkedIn post analytics"
method: POST
path: "/linkedin-post-statistics"
tags: ["LinkedIn Analytics"]
---

# Get LinkedIn post analytics

`POST /linkedin-post-statistics`

Retrieve analytics for a LinkedIn post: impressions, reach, reactions, comments, reshares.
Results are cached for 2 hours. Use queryTypes: "ALL" to get all 5 metrics at once.

## Request body

- object
  - `postedId` string, required — LinkedIn URN or share ID
  - `platformId` string, required — LinkedIn connection ID
  - `queryType` 'IMPRESSION' | 'MEMBERS_REACHED' | 'RESHARE' | 'REACTION' | 'COMMENT' — Single metric to fetch
  - `queryTypes` union — Multiple metrics or ALL
    - string[]
    - 'ALL'

## Response `200`

Statistics retrieved

- union
  - object — Single metric response
    - `success` boolean
    - `count` integer
    - `cached` boolean
  - object — Multiple metrics response
    - `success` boolean
    - `metrics` object
      - `IMPRESSION` integer
      - `MEMBERS_REACHED` integer
      - `RESHARE` integer
      - `REACTION` integer
      - `COMMENT` integer
    - `cached` boolean

## Other responses

- `400` — Bad request - missing or invalid parameters
- `404` — LinkedIn connection not found
- `500` — Server error

---

[API](https://skmtc.dev/publora/apis/publora-api.md) · [All operations](https://skmtc.dev/publora/apis/publora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/publora/publora-api/revisions/a1534a88d80a/schema)
