> ## 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.

# Create Tracking

> Start tracking a source (X user, Discord server, etc.)

Start tracking a specific source. The source can be an X user, Discord server, Telegram group, website URL, or RSS feed.

## Parameters

<ParamField path="source" type="string" required>
  The source type to track. Valid values: `x`, `discord`, `telegram`, `web`,
  `rss`
</ParamField>

## Request Body

<ParamField body="sid" type="string" required>
  Source ID - the unique identifier for the source. For X this is the username
  (without @), for Discord this is a **server invite code or URL** (e.g.
  `discord.gg/abc123`) — it is resolved to the underlying server (guild) and
  tracked at the server level, for Telegram this is the channel username or
  invite link, for Web/RSS this is the full URL.
</ParamField>

## Response

<ResponseField name="data" type="object">
  The tracked source information
</ResponseField>

<ResponseField name="message" type="string">
  Status message
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -X POST https://scrape.st/track/x \
    -H "x-api-key: YOUR_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "sid": "elonmusk"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": {
      "id": "src_123",
      "source": "X",
      "externalId": "elonmusk",
      "username": "elonmusk",
      "name": "Elon Musk"
    },
    "message": "Now tracking elonmusk on X"
  }
  ```
</ResponseExample>
