urlstring
LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033). Send this or groupId.
https://api.sandbase.ai/v1/api/linkedin/groupFetch one LinkedIn group by URL or id: name, description, rules, member count, logo and cover image, creation date, visibility and join settings, and its admins.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns details for one LinkedIn group: name, description, rules, member count, images, visibility settings and a list of admins. Send either the group url or the numeric groupId.
memberCount of competitor or niche groups over time.curl -X POST "https://api.sandbase.ai/v1/api/linkedin/group" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.linkedin.com/groups/1898033"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
groupId | string | No | Numeric LinkedIn group id (e.g. 1898033), the number in the group URL. Send this or url. |
url | string | No | LinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033). Send this or groupId. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"adminCount": 4,
"admins": [
{
"firstName": "Scott",
"headline": "Human Driven AI Prompts For LinkedIn Content | Co-Founder Of The Expert Content …",
"id": "ACoAAADiTRQBnmhRYZtBb2XK6jpwgphIRdxlScc",
"image": "https://media.licdn.com/dms/image/v2/D4E03AQFZ1gz4JjNkcg/profile-displayphoto-sh…",
"lastName": "Aaron",
"url": "https://www.linkedin.com/in/scottaaroncoach"
}
],
"coverImage": "https://media.licdn.com/dms/image/v2/D5607AQH1aNJwDgwX0A/group-heroimage-2560_64…",
"createdUtc": 1239607151,
"description": "The Largest LinkedIn Sales Management Group! Companies throw their best salespeo…",
"id": "1898033",
"image": "https://media.licdn.com/dms/image/v2/C4E07AQGhdN1m_6ab3A/group-logo_image-shrink…",
"invitationLevel": "ADMIN",
"memberCount": 642013,
"name": "Sales Management Executives",
"postApprovalEnabled": true,
"publicVisibility": true
},
"found": true
}
| Field | Meaning |
|---|---|
data.name | The group name. |
data.description | The group description text. Long text may be cut. |
data.memberCount | Number of members in the group. |
data.createdUtc | Creation date of the group as a Unix timestamp in seconds (the value 1239607151 is a 10-digit number). |
data.publicVisibility / data.postApprovalEnabled | publicVisibility shows whether the group is public. postApprovalEnabled shows whether posts need approval before they appear. |
data.invitationLevel | Who can invite others to the group. The sample value is ADMIN. |
data.rules | The group rules as plain text, with line breaks. |
data.image / data.coverImage | URLs of the group logo and the cover image. |
data.adminCount | Number of admins the group has. |
data.admins[].firstName / data.admins[].lastName / data.admins[].headline / data.admins[].url | Name, profile headline and LinkedIn profile URL of each admin. The list may hold fewer admins than adminCount. |
groupId. For https://www.linkedin.com/groups/1898033 the id is 1898033.url or groupId, not both. If nothing matches, the call succeeds and returns found: false.Billed at the actual cost of each call, about $0.0013 for the request above. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/group" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.linkedin.com/groups/1898033"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
urlstringLinkedIn group URL (e.g. https://www.linkedin.com/groups/1898033). Send this or groupId.
groupIdstringNumeric LinkedIn group id (e.g. 1898033), the number in the group URL. Send this or url.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
LinkedIn GroupAPI này LinkedIn | Từ $0.0013 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0012 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0331 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0012 mỗi lần gọi | JSON |
LinkedIn | Từ $0.00569 mỗi lần gọi | JSON |
LinkedIn | Từ $0.0026 mỗi lần gọi | JSON |
Hướng dẫn:LinkedIn API pricing: official access vs per-call dataBest LinkedIn API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/linkedin/group với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
Từ $0.0013 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Không có tham số bắt buộc. Tùy chọn: url (string) và groupId (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. LinkedIn Group chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của LinkedIn.