# LinkedIn / LinkedIn Post

Fetch a public LinkedIn post by URL: text, likes, comments, and author metadata.

```
GET /api/v1/linkedin/post
```

Auth: `Authorization: Bearer <SOCIFY_KEY>`  
Credits: 2 credits per request

## Parameters

| Name | Required | Description | Example |
|------|----------|-------------|---------|
| `url` | yes | LinkedIn post or Pulse URL. | `https://www.linkedin.com/feed/update/urn:li:activity:7516137498180415488/` |

## Example

```bash
curl -s 'https://trysocify.com/api/v1/linkedin/post?url=https%3A%2F%2Fwww.linkedin.com%2Ffeed%2Fupdate%2Furn%3Ali%3Aactivity%3A7516137498180415488%2F' \
  -H "Authorization: Bearer $SOCIFY_KEY"
```

## Response fields

| Field | Type | Description |
|-------|------|-------------|
| `id` | string | Post id. |
| `post_text` | string | Post body. |
| `num_likes` | number | Like count. |
| `num_comments` | number | Comment count. |
| `date_posted` | string | Publish timestamp. |
| `user_id` | string | Author handle/id. |
| `post_type` | string | Post type. |
## Sample response

Successful lookups wrap the payload in `{ ok, platform, resource, params, data, meta }`. `data` is shown below.

```json
{
  "ok": true,
  "platform": "linkedin",
  "resource": "post",
  "params": {
    "url": "https://www.linkedin.com/feed/update/urn:li:activity:7516137498180415488/"
  },
  "data": {
    "account_type": "Person",
    "date_posted": "2026-03-17T10:30:06.724Z",
    "id": "7439619065922625537",
    "num_comments": 3,
    "num_likes": 42,
    "post_text": "Example LinkedIn post about product updates.",
    "post_type": "post",
    "url": "https://www.linkedin.com/feed/update/urn:li:activity:7516137498180415488/",
    "user_id": "example_author"
  },
  "meta": {
    "credits_charged": 2,
    "latency_ms": 420,
    "platform": "linkedin",
    "resource": "post",
    "path": "/api/v1/linkedin/post"
  }
}
```

## Links

- HTML docs: https://trysocify.com/docs/api/linkedin/post
- SEO page: https://trysocify.com/linkedin/post
- OpenAPI: https://trysocify.com/openapi.json
- Catalog: https://trysocify.com/catalog.json
