Skip to main content
POST
/
intents
/
leads
/
posts
Extract posts from a LinkedIn profile
curl --request POST \
  --url https://app.prontohq.com/api/v2/intents/leads/posts \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "linkedin_profile_url": "https://www.linkedin.com/in/profile",
  "limit": 5
}
'
{
  "posts": [
    {
      "author": "Author Name",
      "author_url": "https://www.linkedin.com/in/author-profile",
      "content": "Post content text...",
      "id": "1234567890",
      "urn": "urn:li:activity:1234567890",
      "base_url": "https://www.linkedin.com/feed/update/...",
      "post_url": "https://www.linkedin.com/posts/...",
      "published_at": "2024-01-15"
    }
  ]
}
Extract posts from a LinkedIn profile. This endpoint returns up to the specified limit of recent posts that were published by the profile.

Use Cases

  • Monitor content published by key prospects or customers
  • Track thought leadership content from industry influencers
  • Analyze posting patterns and content strategy
  • Extract posts for further analysis or engagement tracking

Parameters

Required Parameters

  • linkedin_profile_url: LinkedIn profile URL to extract posts from (e.g., https://www.linkedin.com/in/profile)
  • limit: Maximum number of posts to extract (minimum: 1)

Response

The response includes an array of posts with the following fields:
  • author: Post author name
  • author_url: LinkedIn profile URL of the post author
  • content: Post text content
  • id: Post ID
  • urn: LinkedIn URN for the post
  • base_url: Base post URL
  • post_url: Full post URL
  • published_at: Date when the post was published (YYYY-MM-DD format)

Example Request

curl --request POST \
  --url https://app.prontohq.com/api/v2/intents/leads/posts \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your-api-key' \
  --data '{
    "linkedin_profile_url": "https://www.linkedin.com/in/profile",
    "limit": 5
  }'

Example Response

{
  "posts": [
    {
      "author": "Author Name",
      "author_url": "https://www.linkedin.com/in/author-profile",
      "content": "Post content text...",
      "id": "1234567890",
      "urn": "urn:li:activity:1234567890",
      "base_url": "https://www.linkedin.com/feed/update/...",
      "post_url": "https://www.linkedin.com/posts/...",
      "published_at": "2024-01-15"
    }
  ]
}

Notes

  • This endpoint returns results synchronously (HTTP 200 OK)
  • The limit parameter controls how many posts will be returned (up to the limit specified)
  • Engagement data (reactions, comments, etc.) is not included in the response

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
linkedin_profile_url
string<uri>
required

LinkedIn profile URL to extract posts from

Example:

"https://www.linkedin.com/in/profile"

limit
integer
required

Maximum number of posts to extract

Required range: x >= 1
Example:

5

Response

Successfully extracted posts

posts
object[]

Array of posts extracted from the LinkedIn profile