LinkedIn/User Posts

User Posts

GET
https://api.shofo.ai/api/linkedin/user-posts

Get recent posts and activity from a LinkedIn user.

Pricing

Base cost: $0.0001 per post

Parameters

ParameterTypeRequiredDescription
usernamestring
Required
LinkedIn username (from URL: linkedin.com/in/username)
countinteger
Required
Number of posts to retrieve

Response Format

{
  "success": true,
  "data": {
    "posts": [
      {
        "post_id": "7123456789012345678",
        "content": "Excited to announce our latest product launch...",
        "post_type": "original",
        "like_count": 500,
        "comment_count": 45,
        "repost_count": 20,
        "created_at": "2024-01-15T09:00:00Z",
        "media": [
          {
            "type": "image",
            "url": "https://media.licdn.com/..."
          }
        ]
      }
    ],
    "has_more": true,
    "cursor": "next_page_token"
  },
  "cost": "$0.0010",
  "request_id": "req_abc123"
}

Try It

GET
https://api.shofo.ai/api/linkedin/user-posts
$0.0001

Send a request to see the response