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

# Get user posts

> Returns a public LinkedIn member's recent posts and shares. This endpoint is not paginated — everything available is returned in a single response.

## What it does

Returns a public LinkedIn member's recent posts and shares. This endpoint is not paginated — everything available is returned in a single response.

## Tool details

| Field         | Value                                     |
| ------------- | ----------------------------------------- |
| Tool name     | `linkedin_get_user_posts`                 |
| Platform      | LinkedIn                                  |
| REST endpoint | `GET /v1/linkedin/users/{username}/posts` |
| Result type   | Collection tool                           |

## Parameters

| Parameter           | Type       | Required | Description                                                                                    |
| ------------------- | ---------- | -------- | ---------------------------------------------------------------------------------------------- |
| `username`          | `string`   | Yes      | LinkedIn username                                                                              |
| `projection_preset` | `string`   | No       | Defaults to `minimal`. Allowed values: `full`, `minimal`, `identity`, `engagement`, `content`. |
| `data_fields`       | `string[]` | No       | Adds top-level keys from `data` on top of the selected `projection_preset`.                    |
| `item_fields`       | `string[]` | No       | Adds keys from `data.orderedItems[]` on top of the selected `projection_preset`.               |

## Example

```json theme={null}
{
  "name": "linkedin_get_user_posts",
  "arguments": {
    "username": "khaby.lame",
    "projection_preset": "minimal",
    "data_fields": [
      "orderedItems",
      "totalItems",
      "url",
      "type"
    ],
    "item_fields": [
      "entityId",
      "published",
      "content",
      "url",
      "likeCount"
    ]
  }
}
```

## Available data fields

* `@context`
* `type`
* `id`
* `url`
* `totalItems`
* `orderedItems`

## Available item fields

* `type`
* `id`
* `url`
* `entityId`
* `content`
* `published`
* `likeCount`
* `attributedTo`

## Response notes

Successful calls return a JSON object with a top-level `data` field and, when
available, `metadata.creditsUsed` and `metadata.creditsRemaining`. See
[response format](/getting-started/response-format),
[pagination](/getting-started/pagination), and [credits](/getting-started/credits).
