API Documentation

Everything you need to integrate the RichAPI API into your product.

Activity

Profile Activities

Get a profile's recent posts, comments and reactions for engagement analysis.

POST
/api/v1/profile_activities
2 credits per record

Parameters

FieldTypeRequiredDescription
urnstringYesLinkedIn entity URN of the profile
typestringNoActivity type filter: POST, COMMENT, or REACTION (default: all)
pagination_tokenstringNoToken from previous response for next page
limitintNoNumber of items per page

Example response

json
{
  "elements": [
    {
      "commentCount": 1,
      "likeCount": 1,
      "publishedAt": "example",
      "text": "example",
      "type": "example",
      "url": "example"
    }
  ]
}

Code

curl -X POST https://dev-api.richapi.ai/api/v1/profile_activities \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "urn": "ACoAAA...",
  "type": "POST",
  "pagination_token": "example",
  "limit": 1
}'

Try it

Sign in to test this endpoint with your API key.

Sign in to try