# LinkedIn User Posts API

> Retrieves a member's posts, commented posts, or reacted posts using their profile URL. Supports filtering by activity type and paginating through results.

Source: https://www.sandbase.ai/apis/linkedin/web-v2/user-posts
API reference: https://www.sandbase.ai/apis/linkedin/web-v2/user-posts/docs

## Facts

- Provider: LinkedIn
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/linkedin/web-v2/user-posts`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, linkedin
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/linkedin/web-v2/user-posts` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `url` | string | yes |  |
| `pagination_token` | any | no |  |
| `start` | any | no |  |
| `type` | string | no |  |

## FAQ

### How do I use the LinkedIn User Posts API?

Send a POST request to https://api.sandbase.ai/v1/api/linkedin/web-v2/user-posts with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the LinkedIn User Posts API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the LinkedIn User Posts API accept?

Required: url (string). Optional: pagination_token (any), start (any) and type (string). The Parameters table and the Playground on this page list every field.

### What does the LinkedIn User Posts API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a LinkedIn developer account or API key?

No. LinkedIn User Posts runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for LinkedIn API access separately.

## README

### LinkedIn User Posts API

Retrieve post and activity history for a specific profile using the `url` parameter. You can optionally filter by interaction type and navigate pages using pagination tokens or offsets.

#### Use cases

- Audit public post history for a target profile.
- Track comments and reactions left by a specific member.
- Monitor recent content shared across professional networks.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/web-v2/user-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "<url>"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `url` | string | Yes | Profile URL. |
| `type` | string | No | posts / comments / reactions. |
| `start` | string | No | Pagination offset — 0 for page 1, 50 for page 2, and so on. |
| `pagination_token` | string | No | Token from the `paging` object of the previous response. |

#### Notes

- Filter activity using `type` with options: posts, comments, or reactions (defaults to posts).
- Pagination can be controlled using offset values in `start` (0 for page 1, 50 for page 2) or `pagination_token` from previous responses.

#### Related APIs

- [LinkedIn Company Posts](/model/linkedin/web-v2/company-posts): Returns posts from a LinkedIn organization page using the company URL.
- [LinkedIn Company Profile](/model/linkedin/web-v2/company-profile): Returns LinkedIn company profile details, including affiliated organizations, using a direct company page URL.
- [LinkedIn Job Details](/model/linkedin/web-v2/job-detail): Returns detailed information for a specific LinkedIn job posting via its URL.
