Get Group Members by URL
Fetch members of a LinkedIn group using the group URL with pagination and filtering options
POST
/linkedin/groups/members-by-urlGet Group Members by URL
Fetch members of a LinkedIn group using the group URL with pagination and filtering options
Authentication requiredLinkedIn Groups
Code Examples
curl -X POST 'https://api.connectsafely.ai/linkedin/groups/members-by-url' \ -H 'Authorization: Bearer <your_api_key>' \ -H 'Content-Type: application/json' \ -d '{"groupUrl":"https://www.linkedin.com/groups/9357376/"}'Parameters
No parameters.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
accountId | string | No | LinkedIn account ID (uses default if not provided) |
groupUrl | string | Yes | Full LinkedIn group URL |
count | number | No | Number of members to fetch (1-100, default: 50) |
start | number | No | Starting index for pagination (default: 0) |
membershipStatuses | array | No | Filter by membership status: OWNER, MANAGER, MEMBER |
typeaheadQuery | string | No | Search query for member names |
Example
{
"groupUrl": "https://www.linkedin.com/groups/9357376/"
}Responses
| Status | Description |
|---|---|
| 200 | Successful response |
200 Example
{
"success": true,
"accountId": "507f1f77bcf86cd799439011",
"groupUrl": "https://www.linkedin.com/groups/9357376/",
"groupId": "9357376",
"members": [
{
"membershipUrn": "urn:li:fsd_groupMembership:(9357376,ACoAAGAfhSQBk6MSjFk2s4P8No7XS2KexsXKcnY)",
"profileUrn": "urn:li:fsd_profile:ACoAAGAfhSQBk6MSjFk2s4P8No7XS2KexsXKcnY",
"profileId": "ACoAAGAfhSQBk6MSjFk2s4P8No7XS2KexsXKcnY",
"firstName": "John",
"lastName": "Doe",
"fullName": "John Doe",
"headline": "Software Engineer at Tech Company",
"publicIdentifier": "johndoe",
"profileUrl": "https://www.linkedin.com/in/johndoe",
"profilePicture": "https://media.licdn.com/...",
"membershipStatus": "MEMBER",
"followerCount": 2500,
"isFollowing": false,
"badges": [
"premium"
],
"isPremium": true,
"isVerified": false,
"relationshipStatus": "not_connected",
"creator": false,
"memorialized": false
}
],
"pagination": {
"count": 50,
"start": 0,
"total": 3806
},
"hasMore": true,
"count": 50
}