cURL
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>" } }
Retrieve a list of LinkedIn Groups matching the specified search criteria.
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));
Keywords to search for.
Page number for pagination.
A list of groups matching the search criteria.
The response is of type object.
object