GET
/
linkedin
/
group-search
Search LinkedIn Groups
curl --request GET \
  --url https://api.harvest-api.com/linkedin/group-search \
  --header 'X-API-Key: <api-key>'
{
  "elements": [
    {
      "id": "<string>",
      "linkedinUrl": "<string>",
      "name": "<string>",
      "members": "<string>",
      "summary": "<string>",
      "picture": "<string>",
      "primaryActions": [
        {
          "label": "<string>",
          "value": "<string>"
        }
      ]
    }
  ],
  "pagination": {
    "totalPages": 123,
    "totalElements": 123,
    "pageNumber": 123,
    "previousElements": 123,
    "pageSize": 123,
    "paginationToken": "<string>"
  },
  "status": "<string>",
  "error": "<string>",
  "query": {
    "search": "<string>"
  }
}
const params = new URLSearchParams({
  search: 'Sales',
  page: '1',
});
fetch(`https://api.harvest-api.com/linkedin/group-search?${params.toString()}`, {
  headers: { 'X-API-Key': '<api-key>' },
})
  .then((response) => response.json())
  .then((data) => console.log(data));

Authorizations

X-API-Key
string
header
required

Query Parameters

Keywords to search for.

page
integer
default:1

Page number for pagination.

Response

200
application/json

A list of groups matching the search criteria.

The response is of type object.