# Get post

Read public post metadata, media and qualified aggregate counts with max_comments-bounded embedded comments; no comment expansion requests.

- Platform: [LinkedIn](https://docs.upscrape.com/docs/platforms/linkedin)
- Capability ID: `linkedin.post.get`
- Cost: 1 credit per request
- Maximum runtime: 60 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "max_comments": 20,
    "url": "https://www.linkedin.com/posts/satyanadella_were-the-first-cloud-to-bring-up-an-nvidia-activity-7438280341322334208-Vw2c"
  },
  "capability": "linkedin.post.get"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `max_comments` | `integer` | No | Maximum comments to extract from the fetched page only. Does not request more comments or replies. From 1 to 100. Default: `5`. |
| `url` | `string` | Yes | HTTPS LinkedIn public post or feed-update URL. Tracking query parameters are discarded. |

### Example input

```json
{
  "max_comments": 20,
  "url": "https://www.linkedin.com/posts/satyanadella_were-the-first-cloud-to-bring-up-an-nvidia-activity-7438280341322334208-Vw2c"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "activity_id": "0000000000000000000",
  "author": {
    "followers": null,
    "image_url": "[redacted]",
    "name": "Example Author",
    "url": "https://www.linkedin.com/in/example-author"
  },
  "author_image": "[redacted]",
  "author_name": "Example Author",
  "author_url": "https://www.linkedin.com/in/example-author",
  "comment_count": 503,
  "comments": 503,
  "coverage": {
    "limitations": [
      "Only fields embedded in LinkedIn's logged-out post document are returned.",
      "Reaction identities and complete comment threads require an authenticated surface."
    ],
    "missing_fields": [
      "reaction_count",
      "share_count"
    ],
    "source": "linkedin_public_post",
    "status": "partial_public",
    "truncated_fields": [
      "top_comments"
    ]
  },
  "embedded_comment_count": 0,
  "embedded_comments_truncated": false,
  "hashtags": [],
  "image": "[redacted]",
  "is_repost": false,
  "media": [
    {
      "type": "image",
      "url": "[redacted]"
    }
  ],
  "published_at": "2026-01-01T00:00:00Z",
  "reaction_count": null,
  "returned_comment_count": 0,
  "share_count": null,
  "text": "Illustrative public post content captured from LinkedIn and anonymized for documentation.",
  "top_comments": [],
  "type": "post",
  "url": "https://www.linkedin.com/posts/[redacted:token]"
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `activity_id` | `string` | 0000000000000000000 |
| `author` | `object` | 4 fields |
| `author.followers` | `null` | null |
| `author.image_url` | `string` | [redacted] |
| `author.name` | `string` | Example Author |
| `author.url` | `string` | https://www.linkedin.com/in/example-author |
| `author_image` | `string` | [redacted] |
| `author_name` | `string` | Example Author |
| `author_url` | `string` | https://www.linkedin.com/in/example-author |
| `comment_count` | `integer` | 503 |
| `comments` | `integer` | 503 |
| `coverage` | `object` | 5 fields |
| `coverage.limitations` | `array` | 2 items |
| `coverage.missing_fields` | `array` | 2 items |
| `coverage.source` | `string` | linkedin_public_post |
| `coverage.status` | `string` | partial_public |
| `coverage.truncated_fields` | `array` | 1 items |
| `embedded_comment_count` | `integer` | 0 |
| `embedded_comments_truncated` | `boolean` | false |
| `hashtags` | `array` | 0 items |
| `image` | `string` | [redacted] |
| `is_repost` | `boolean` | false |
| `media` | `array` | 1 items |
| `media` | `array` | 1 items |
| `published_at` | `string` | 2026-01-01T00:00:00Z |
| `reaction_count` | `null` | null |
| `returned_comment_count` | `integer` | 0 |
| `share_count` | `null` | null |
| `text` | `string` | Illustrative public post content captured from LinkedIn and anonymized … |
| `top_comments` | `array` | 0 items |
| `type` | `string` | post |
| `url` | `string` | https://www.linkedin.com/posts/[redacted:token] |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
