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

# Search Participants

> Search participants in a Telegram channel or group

Search for participants (members) within a specific Telegram group or channel.

## Path Parameters

<ParamField path="channelId" type="string" required>
  The Telegram channel username (e.g. `@durov`) or numeric ID
</ParamField>

## Query Parameters

<ParamField query="q" type="string" required>
  Search query string (1-1000 characters). You can also use `query` instead of
  `q`.
</ParamField>

<ParamField query="limit" type="number" default="20">
  Number of participants to return (1-100)
</ParamField>

## Response

<ResponseField name="total" type="number">
  Total number of participants found
</ResponseField>

<ResponseField name="participants" type="array">
  <Expandable title="properties">
    <ResponseField name="id" type="string">
      Participant ID
    </ResponseField>

    <ResponseField name="username" type="string | null">
      Username
    </ResponseField>

    <ResponseField name="firstName" type="string | null">
      First name
    </ResponseField>

    <ResponseField name="lastName" type="string | null">
      Last name
    </ResponseField>

    <ResponseField name="rank" type="string | null">
      Admin/member rank if applicable
    </ResponseField>

    <ResponseField name="joinDate" type="number | null">
      Unix timestamp of when they joined
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X GET "https://scrape.st/telegram/channel/-10012345678/participants/search?q=alex&limit=20" \
    -H "x-api-key: YOUR_API_KEY"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "total": 50,
    "participants": [
      {
        "id": "123456789",
        "username": "alex_dev",
        "firstName": "Alex",
        "lastName": "Smith",
        "rank": "admin",
        "joinDate": 1714567890
      }
    ]
  }
  ```
</ResponseExample>
