Skip to main content
GET
/
:projectId
/
users
/
:userId
/
following-count
Fetch Following Count
curl --request GET \
  --url https://api.replyke.com/api/v6/:projectId/users/:userId/following-count
{
  "count": 123
}
Get the count of accounts a specific user follows. This is a public endpoint that does not require authentication.

Path Parameters

userId
string
required
ID of the user to get following count for

Response

count
number
Total number of accounts the specified user follows

Error Responses

{
  "error": "Invalid or missing userId",
  "code": "follow/invalid-user-id"
}
{
  "error": "User not found",
  "code": "user/not-found"
}
{
  "error": "Internal server error",
  "code": "follow/server-error"
}
I