Search LinkedIn groups
Find groups by keywords: each one's name, URL, members and summary, 10 a page.
https://api.scrapefield.com/v1/linkedin/groupshttps://api.scrapefield.com/v1/linkedin/groups?query=ferrariIn your code
const params = new URLSearchParams({
"query": "data engineering"
});
const res = await fetch(`https://api.scrapefield.com/v1/linkedin/groups?${params}`, {
headers: { Authorization: `Bearer ${process.env.SCRAPEFIELD_KEY}` },
});
const { data, meta } = await res.json();
console.log(data, meta.credits_charged);Parameters
| Parameter | What it does |
|---|---|
query | Words to search for. |
cursor | The meta.next_cursor from the previous page. Omit for the first page. |
fresh | Skip the cache and fetch now. Charged normally. Not available on trial credits — buy any pack to unlock it. default false |
Response
Returns an array of linkedin_group. This is the demo’s answer, the one the playground above returns, in full rather than abbreviated — including the fields that come back null, because a field is null when the platform does not show it and you should know which ones those are before you build on them. A call with your key returns the account you ask for.
{
"data": [
{
"group_id": "3299749",
"url": "https://www.linkedin.com/groups/3299749/",
"name": "Specialty Coffee Professionals",
"member_count": 68766,
"description": "Share what works when running a small business.",
"rules": null,
"created_at": null,
"logo_url": "https://cdn.example/li/g/3299749.png",
"is_public": null
},
{
"group_id": "2183624",
"url": "https://www.linkedin.com/groups/2183624/",
"name": "Independent Café Owners",
"member_count": 38410,
"description": "Share what works when running a small business.",
"rules": null,
"created_at": null,
"logo_url": "https://cdn.example/li/g/2183624.png",
"is_public": null
}
],
"meta": {
"request_id": "req_7f3ac1e94b2d40f8a1c6e5d2",
"credits_charged": 7,
"credits_remaining": 74218,
"cached": false,
"fetched_at": "2026-09-20T09:12:03Z",
"next_cursor": "eyJwIjoxLCJzIjoiYTNmOSJ9"
}
}Fields of linkedin_group
A LinkedIn group. Named after the words LinkedIn prints, since LinkedIn has no official data API.
| Field | What it is |
|---|---|
group_id | LinkedIn's numeric id for the group. |
url | The group. |
name | The group's name. |
member_count | How many members. null where LinkedIn prints a rounded number, such as "12K members". |
description | The About text. In a search, the short summary. |
rules | null in a search. |
created_at | null in a search. |
logo_url | The group's logo. |
is_public | Whether anyone can see its posts. null in a search. |
What it costs
7 credits per successful call, whether we fetch it or serve it from cache — you pay for the answer, not for how we produced it. Responses are cached for 1 day and a cached one tells you when the data was actually fetched. A call we fail costs 0 and is refunded automatically.
On the smallest pack that is $5.46 per 1,000 calls; on the largest, $3.08. The full table.
Questions
How much does the LinkedIn groups search API cost?
7 credits a call: $5.46 per 1,000 calls on the smallest pack and $3.08 on the largest. A call that fails costs nothing, and the refund is automatic. A cached answer costs the same as a fresh one. Credits are bought in packs and never expire; there is no subscription.
Do I need a LinkedIn account, a login or cookies?
No. You need a key from us and nothing from LinkedIn. We never take a customer's login, cookies or session, at any price, and no account of yours is ever at risk.
Can I try it without signing up?
Yes. Add demo=true and leave the key out, or press Send request in the playground on this page. The demo answers with a real answer about Ferrari, captured once a week, in exactly the shape a live call returns, whatever you ask, and charges nothing.
How fresh is the data?
An answer is kept for up to 1 day, and a cached one says when it was fetched, in meta.fetched_at. Add fresh=true to fetch it again now, at the same price; it needs any purchase, not the trial.
What does it return?
A list of linkedin_group objects. Its fields are named after the words LinkedIn prints, since LinkedIn has no official data API. A field is null when LinkedIn does not show it, never missing. Every field is described on this page.
How do I get more than one page?
Pass meta.next_cursor back as cursor, and stop when it is null. Each page is a call, priced the same. A cursor lasts as long as the answer it belongs to is cached.
Can an AI agent call it?
Yes: it is the MCP tool search_linkedin_groups on our MCP server, with the same parameters, answer and price. Without a key, the tool answers from the demo.