> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bridgly.app/llms.txt
> Use this file to discover all available pages before exploring further.

# List the groups of a LinkedIn profile

> List the groups from the interests section of a LinkedIn member's profile, each with its name, link, logo and member count. Page on with the `nextStart` from the previous response. Costs 1 credit per request.



## OpenAPI

````yaml /openapi.json post /linkedin/get-profile-interests/groups
openapi: 3.1.0
info:
  title: Bridgly API
  description: >-
    Web scraping API for LinkedIn, X (Twitter), Reddit, GitHub, Instagram and
    TikTok. Authenticated endpoints accept a Bridgly API key (`bgly_…`) via
    `Authorization: Bearer <token>`.
  version: 1.0.0
servers:
  - url: https://api.bridgly.app
    description: Production
security: []
tags:
  - name: LinkedIn
    description: Scrape LinkedIn profiles, companies, posts, and search.
  - name: Reddit
    description: Scrape Reddit posts, subreddits, users, and search.
  - name: X (Twitter)
    description: Scrape tweets and search X.
  - name: GitHub
    description: >-
      Fetch GitHub profiles, pinned repos, contributions, repositories, stars,
      and projects via GitHub's GraphQL API.
  - name: Instagram
    description: Scrape Instagram profiles, posts, followers, and search.
  - name: TikTok
    description: Fetch TikTok profiles.
paths:
  /linkedin/get-profile-interests/groups:
    post:
      tags:
        - LinkedIn
      summary: List the groups of a LinkedIn profile
      description: >-
        List the groups from the interests section of a LinkedIn member's
        profile, each with its name, link, logo and member count. Page on with
        the `nextStart` from the previous response. Costs 1 credit per request.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                start:
                  description: Number of results to skip. Defaults to 0.
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                publicId:
                  type: string
                  minLength: 1
                  description: >-
                    The member public identity, or the profile link itself, e.g.
                    "williamhgates" or
                    "https://www.linkedin.com/in/williamhgates".
                count:
                  default: 10
                  description: Number of results to return (1–100). Defaults to 10.
                  type: integer
                  minimum: 1
                  maximum: 100
              required:
                - publicId
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  timeMs:
                    type: number
                    description: >-
                      Wall-clock time the request took to complete, in
                      milliseconds.
                  creditsCost:
                    type: number
                    description: Number of account credits this request consumed.
                  data:
                    type: object
                    properties:
                      nextStart:
                        anyOf:
                          - type: number
                          - type: 'null'
                        description: >-
                          Pass as `start` to fetch the next page; null when
                          there are no more results.
                      groups:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Numeric LinkedIn group id.
                            name:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Group name.
                            url:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Link to the group.
                            logoUrl:
                              anyOf:
                                - type: string
                                - type: 'null'
                              description: Largest available group logo.
                            memberCount:
                              anyOf:
                                - type: number
                                - type: 'null'
                              description: How many members the group has.
                          required:
                            - id
                            - name
                            - url
                            - logoUrl
                            - memberCount
                          additionalProperties: false
                        description: Groups the member belongs to, on this page.
                    required:
                      - nextStart
                      - groups
                    additionalProperties: false
                required:
                  - timeMs
                  - creditsCost
                  - data
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '402':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '422':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - error
                  message:
                    type: string
                    description: Human-readable description of what went wrong.
                required:
                  - status
                  - message
                additionalProperties: false
      security:
        - bearerAuth: []
      x-codeSamples:
        - lang: typescript
          label: Bridgly SDK
          source: |-
            import { Bridgly } from '@bridgly/sdk';

            const client = new Bridgly({ apiKey: process.env.BRIDGLY_API_KEY });

            const res = await client.linkedin.getProfileInterestGroups({
              publicId: "string",
              count: 10,
            });
            if (res.type === 'success') console.log(res.data);
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Bridgly API key (`bgly_…`). Metered endpoints deduct credits from the
        resolved account.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.