querystringbắt buộc
Keyword to search LinkedIn groups for (e.g. python or sales).
https://api.sandbase.ai/v1/api/linkedin/search-groupsSearch LinkedIn groups by keyword, 10 per page: group name, URL, member count, summary, and logo.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
This API searches LinkedIn groups by keyword and returns up to 10 groups per page. Each result has the group name, URL, a short description, a member count label, and a logo image. It needs a query keyword.
curl -X POST "https://api.sandbase.ai/v1/api/linkedin/search-groups" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "python"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Keyword to search LinkedIn groups for (e.g. python or sales). |
page | integer | No | Which page of up to 10 groups to return, starting at 1 (1-100, default 1). Each page is billed as one request. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"items": [
{
"description": "Scikit-Learn, Claude AI, Claude Code, Claude Mythos, OpenClaw, Keras, NumPy, Moj…",
"id": "25827",
"image": "https://media.licdn.com/dms/image/v2/D4E07AQGgKbsF_8T1UQ/group-logo_image-shrink…",
"membersText": "3M members",
"name": "Python Developers Community (moderated)",
"url": "https://www.linkedin.com/groups/25827"
}
],
"page": 1,
"totalPages": 100,
"totalResults": 4967
},
"found": true
}
| Field | Meaning |
|---|---|
data.items[].name | Name of the LinkedIn group. |
data.items[].url | Link to the group page on LinkedIn. |
data.items[].id | Numeric group ID as a string. It is also the last part of the group URL. |
data.items[].membersText | Member count as display text, for example 3M members. It is a rounded label, not an exact number. |
data.items[].description | Short summary of the group. Long text is cut off with an ellipsis. |
data.items[].image | URL of the group logo image. |
data.page | Page number of this result set. |
data.totalPages | Number of result pages available for the query. |
data.totalResults | Total number of groups that matched the query. |
found | true when the search returned results. |
page from 1 to 100 to move through results. Each page holds up to 10 groups.membersText is a string such as 984K members, so parse it yourself if you need a number.id or url to LinkedIn Group for group details, or to LinkedIn Group Posts for its posts.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/search-groups" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"query": "python"
}'Đặ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.
querystringbắt buộcKeyword to search LinkedIn groups for (e.g. python or sales).
pageintegerWhich page of up to 10 groups to return, starting at 1 (1-100, default 1). Each page is billed as one request.
Mặc định: 1
Đâ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 Group SearchAPI 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/search-groups 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ý.
Bắt buộc: query (string). Tùy chọn: page (integer). 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 Search 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.