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

# Register Competitor

> Register one or several competitors to monitor

Register one competitor, or several at once with `companies`. Requires the competitor-monitoring entitlement (`403` when the feature is off).

You can register any number of competitors. Slots count people: when a new competitor's first team search runs, the Sales and CS people it finds are monitored up to your free slots, highest ranked first, and the rest are added **Paused (no slot)**. [Preview Competitors](https://docs.clustr-ai.com/api-reference/preview-competitors.md) tells you beforehand how many people each company has and how many slots that takes.

A company that is already one of your competitors is refused with `409 COMPETITOR_EXISTS`, and the message ends with the existing competitor's id. In the `companies` form its result has `status: "exists"` and `existing_competitor_id`. If the team search finds nobody, the competitor is still created with an empty team; add people by URL.

Pick the company first with [Search LinkedIn Companies](https://docs.clustr-ai.com/api-reference/search-linkedin-companies.md) and pass its `linkedin_numeric_id` and `linkedin_vanity_name`. A `linkedin_url` sent without them is looked up here, and one that names no LinkedIn company page is refused with `422 COMPANY_NOT_RESOLVED`: monitoring a page that does not resolve finds nobody.

> [!NOTE]
>
> **Registering starts the competitor's first scan.** After that, [the schedule](https://docs.clustr-ai.com/api-reference/get-monitoring-schedule.md) runs it every two weeks, and [POST /competitor-monitoring/run](https://docs.clustr-ai.com/api-reference/run-competitor-monitoring.md) runs one now.
>
> The scan starts in the background, so the response comes back immediately with the created competitor. Watch it with [GET /competitor-runs](https://docs.clustr-ai.com/api-reference/list-competitor-runs.md). If the scan fails to start the competitor still exists and the scheduled run picks it up. With `companies`, every created competitor gets its own first scan.

Send one company with the fields below, or several with `companies`.

```bash cURL theme={null}
curl -X POST https://api.clustr-ai.com/api/public/competitors \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "company_name": "Globex Inc",
    "domain": "globex.com",
    "linkedin_url": "https://www.linkedin.com/company/globex",
    "linkedin_numeric_id": "1035",
    "linkedin_vanity_name": "globex"
  }'
```

```python Python theme={null}
import requests

requests.post(
    "https://api.clustr-ai.com/api/public/competitors",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "company_name": "Globex Inc",
        "domain": "globex.com",
        "linkedin_url": "https://www.linkedin.com/company/globex",
        "linkedin_numeric_id": "1035",
        "linkedin_vanity_name": "globex",
    },
)
```

```javascript JavaScript theme={null}
await fetch("https://api.clustr-ai.com/api/public/competitors", {
  method: "POST",
  headers: { Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({
    company_name: "Globex Inc",
    domain: "globex.com",
    linkedin_url: "https://www.linkedin.com/company/globex",
    linkedin_numeric_id: "1035",
    linkedin_vanity_name: "globex",
  }),
});
```

```json 201 theme={null}
{
  "success": true,
  "data": {
    "competitor": {
      "clustr_competitor_id": "cmp_r0jpyyqyeh0txpgdhb604j2g9s",
      "clustr_account_id": "acc_0v7tgcp9dspw8x9zc6teb5qx8z",
      "id": "c1a2b3c4-d5e6-7890-abcd-ef1234567890",
      "company_name": "Globex Inc",
      "domain": "globex.com",
      "linkedin_url": "https://www.linkedin.com/company/globex",
      "linkedin_numeric_id": "1035",
      "linkedin_vanity_name": "globex",
      "website_url": "https://globex.com",
      "site_key": "globex.com",
      "created_at": "2026-06-30T09:00:00Z",
      "updated_at": "2026-06-30T09:00:00Z"
    },
    "slot_usage": { "used": 182, "total": 200, "paused": 0, "pending": 0, "plan": "l200", "active": 182, "limit": 200 }
  }
}
```

```json 201 (companies) theme={null}
{
  "success": true,
  "data": {
    "competitors": [
      {
        "clustr_competitor_id": "cmp_r0jpyyqyeh0txpgdhb604j2g9s",
        "id": "c1a2b3c4-d5e6-7890-abcd-ef1234567890",
        "company_name": "Globex Inc",
        "linkedin_url": "https://www.linkedin.com/company/globex"
      }
    ],
    "results": [
      {
        "clustr_existing_competitor_id": null,
        "index": 0,
        "status": "created",
        "competitor": {
          "clustr_competitor_id": "cmp_r0jpyyqyeh0txpgdhb604j2g9s",
          "id": "c1a2b3c4-d5e6-7890-abcd-ef1234567890",
          "company_name": "Globex Inc"
        },
        "existing_competitor_id": null,
        "message": ""
      },
      {
        "clustr_existing_competitor_id": "cmp_5ry79b7b4dh6544gqk56z0dx8c",
        "index": 1,
        "status": "exists",
        "competitor": null,
        "existing_competitor_id": "d2b3c4d5-e6f7-8901-bcde-f23456789012",
        "message": "Already monitored"
      }
    ],
    "slot_usage": { "used": 182, "total": 200, "paused": 0, "pending": 0, "plan": "l200", "active": 182, "limit": 200 }
  }
}
```

```json 409 theme={null}
{
  "success": false,
  "error": {
    "message": "This company is already monitored: d2b3c4d5-e6f7-8901-bcde-f23456789012",
    "code": "COMPETITOR_EXISTS"
  }
}
```

```json 422 theme={null}
{
  "success": false,
  "error": {
    "message": "We couldn't find that LinkedIn company page",
    "code": "COMPANY_NOT_RESOLVED"
  }
}
```

```json 403 theme={null}
{
  "success": false,
  "error": {
    "message": "Competitor Monitoring is not in this workspace's plan.",
    "code": "FEATURE_NOT_ENABLED"
  }
}
```


## OpenAPI

````yaml POST /competitors
openapi: 3.1.0
info:
  title: Clustr Public API
  description: >
    Programmatic access to your Clustr network: import connectors, search warm
    intros (opportunities), and manage target accounts.


    ## Authentication

    All endpoints require a Bearer token (API key) in the `Authorization`
    header.


    ```

    Authorization: Bearer <your_api_key>

    ```


    API keys can be created and managed from the [API settings
    page](https://app.clustr-ai.com/api).
  version: '1.0'
  contact:
    name: Clustr Support
    url: https://clustr-ai.com
servers:
  - url: https://api.clustr-ai.com/api/public
    description: Production
security:
  - BearerAuth: []
paths:
  /competitors:
    post:
      tags:
        - Competitor Monitoring
      summary: Register Competitor
      description: >
        Register one competitor, or several at once with `companies`. You can

        register any number of competitors: the people the first team search
        finds are

        monitored up to your free person slots, and the rest are added Paused. A
        company

        already registered returns `409 COMPETITOR_EXISTS` (with `companies`, a
        result

        with status `exists`).

        Pick the company with

        [Search LinkedIn Companies](/api-reference/search-linkedin-companies)
        and pass

        its `linkedin_numeric_id` and `linkedin_vanity_name`; a `linkedin_url`
        sent

        without them is resolved here, and one that names no company page
        returns

        `422 COMPANY_NOT_RESOLVED`. Adding a competitor starts its first scan.
      operationId: registerCompetitor
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                companies:
                  type: array
                  minItems: 1
                  maxItems: 20
                  description: >-
                    One to 20 companies, each with `company_name`, `domain`,
                    `linkedin_url`, `linkedin_numeric_id` and
                    `linkedin_vanity_name` as below. The response has one result
                    per company, in order.
                  items:
                    type: object
                    properties:
                      company_name:
                        type: string
                      domain:
                        type: string
                      linkedin_url:
                        type: string
                      linkedin_numeric_id:
                        type: string
                      linkedin_vanity_name:
                        type: string
                      website_url:
                        type: string
                      people:
                        type: array
                        description: >-
                          The people the setup preview listed, each followed or
                          skipped. When omitted, the first search follows
                          everyone up to your free slots.
                        items:
                          type: object
                          properties:
                            linkedin_id:
                              type: string
                              description: >-
                                The LinkedIn public identifier, from the
                                preview.
                            name:
                              type: string
                              description: The name.
                            title:
                              type: string
                              description: The title.
                            function:
                              type: string
                              description: The function.
                            photo_url:
                              type: string
                              description: The photo URL.
                            follow:
                              type: boolean
                              description: >-
                                `true` monitors the person, up to your free
                                slots and the rest paused. `false` records them
                                as removed so no search adds them.
                      title_groups:
                        type: array
                        description: >-
                          The role groups to follow at this competitor, on the
                          first search and each refresh. When omitted, your
                          enabled job titles are used.
                        items:
                          type: string
                          enum:
                            - sales
                            - cs
                            - exec
                            - founder
                            - customer_facing
                            - custom
                        example:
                          - sales
                          - cs
                company_name:
                  type: string
                  description: >-
                    Competitor company name. Required unless `linkedin_url`
                    resolves to a company page.
                  example: Globex Inc
                domain:
                  type: string
                  description: Company domain. Recommended for accurate account matching.
                  example: globex.com
                linkedin_url:
                  type: string
                  description: LinkedIn company page URL.
                  example: https://www.linkedin.com/company/globex
                linkedin_numeric_id:
                  type: string
                  description: >-
                    The company's LinkedIn numeric id: `id` from

                    [Search LinkedIn
                    Companies](/api-reference/search-linkedin-companies), or
                    `numericId` from

                    [Resolve LinkedIn
                    Company](/api-reference/resolve-linkedin-company). When set,
                    Clustr takes

                    this company page as resolved.
                  example: '1035'
                linkedin_vanity_name:
                  type: string
                  description: >-
                    The company page's vanity name
                    (`linkedin.com/company/<vanity>`): `universalName` from the

                    same calls.
                  example: globex
                website_url:
                  type: string
                  description: >-
                    The competitor's marketing website, e.g.
                    `https://www.globex.com`. This is the site Clustr

                    reads to find the competitor's customers (case studies,
                    testimonials, logo walls). Defaults

                    to `https://<domain>`.
                  example: https://www.globex.com
                title_groups:
                  type: array
                  description: >-
                    The roles to follow at this competitor: `sales`, `cs`,
                    `exec` (leadership), `founder`,

                    `customer_facing` (solutions, partner, implementation) and
                    `custom`. Used by the first search and

                    every refresh. Leave it out to use your enabled job titles.
                  items:
                    type: string
                    enum:
                      - sales
                      - cs
                      - exec
                      - founder
                      - customer_facing
                      - custom
                  example:
                    - sales
                    - cs
                people:
                  type: array
                  maxItems: 500
                  description: >-
                    The people [Preview
                    Competitors](/api-reference/preview-competitors) listed,
                    each with

                    `linkedin_id` (the preview's `public_identifier`), `name`,
                    `title`, `function`, `photo_url` and

                    `follow`. Followed people are monitored up to your free
                    slots, in this order, and the rest are

                    Paused. Skipped people (`follow: false`) stay off the Team,
                    even when a later search finds them.

                    The first scan uses this list as the team; people missing
                    from it arrive with the monthly refresh,

                    for you to review. The list holds at most 500 people. Leave
                    it out to follow everyone the first

                    search finds, up to your free slots.
                  items:
                    $ref: '#/components/schemas/CompetitorRegisterPerson'
            examples:
              register:
                summary: Register a competitor
                value:
                  company_name: Globex Inc
                  domain: globex.com
                  linkedin_url: https://www.linkedin.com/company/globex
      responses:
        '201':
          description: Competitor registered
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      competitor:
                        $ref: '#/components/schemas/Competitor'
                      competitors:
                        type: array
                        description: When you send `companies`, the competitors created.
                        items:
                          $ref: '#/components/schemas/Competitor'
                      results:
                        type: array
                        description: >-
                          When you send `companies`, one result per company, in
                          order.
                        items:
                          type: object
                          properties:
                            clustr_existing_competitor_id:
                              type: string
                              description: >-
                                The Clustr ID of the competitor you already
                                track for this company, for example

                                `cmp_vatcnjbq6xv5mycrjxf5my9bjb`.
                              example: cmp_vatcnjbq6xv5mycrjxf5my9bjb
                            index:
                              type: integer
                            status:
                              type: string
                              enum:
                                - created
                                - exists
                                - not_resolved
                                - error
                            competitor:
                              $ref: '#/components/schemas/Competitor'
                            existing_competitor_id:
                              type: string
                              nullable: true
                              description: >-
                                Kept for integrations built before Clustr IDs.
                                New integrations should use
                                `clustr_existing_competitor_id`.
                            message:
                              type: string
                      slot_usage:
                        $ref: '#/components/schemas/SlotUsage'
        '400':
          description: Invalid request, such as a missing `company_name`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Invalid or missing API key
        '403':
          description: Competitor monitoring is not enabled for this workspace
        '409':
          description: >-
            The company is already monitored (`COMPETITOR_EXISTS`); the message
            ends with its id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: The LinkedIn URL names no company page (`COMPANY_NOT_RESOLVED`)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    CompetitorRegisterPerson:
      type: object
      required:
        - linkedin_id
        - follow
      properties:
        linkedin_id:
          type: string
          description: The `public_identifier` from Preview Competitors.
          example: jane-smith
        name:
          type: string
          example: Jane Smith
        title:
          type: string
          example: Account Executive
        function:
          type: string
          enum:
            - sales
            - cs
            - other
        photo_url:
          type: string
        follow:
          type: boolean
          description: '`true` follows the person; `false` skips them permanently.'
          example: true
    Competitor:
      type: object
      description: A competitor monitored for your workspace.
      properties:
        clustr_competitor_id:
          type: string
          description: >-
            The competitor's Clustr ID, for example
            `cmp_r0jpyyqyeh0txpgdhb604j2g9s`. Use it to refer to

            this competitor.
          example: cmp_r0jpyyqyeh0txpgdhb604j2g9s
        clustr_account_id:
          type: string
          description: >-
            The company's Clustr ID, for example
            `acc_0v7tgcp9dspw8x9zc6teb5qx8z`.
          example: acc_0v7tgcp9dspw8x9zc6teb5qx8z
        id:
          type: string
          example: c1a2b3c4-d5e6-7890-abcd-ef1234567890
          description: >-
            Kept for integrations built before Clustr IDs. New integrations
            should use `clustr_competitor_id`.
        company_name:
          type: string
          example: Globex Inc
        domain:
          type: string
          example: globex.com
        linkedin_url:
          type: string
          example: https://www.linkedin.com/company/globex
        linkedin_numeric_id:
          type: string
          description: >-
            The company's LinkedIn numeric id. Omitted until Clustr resolves the
            LinkedIn page.
          example: '1035'
        linkedin_vanity_name:
          type: string
          description: The company page's vanity name (linkedin.com/company/<vanity>).
          example: globex
        website_url:
          type: string
          description: The marketing website the customer search reads.
          example: https://www.globex.com
        site_key:
          type: string
          description: The website's domain, which identifies the site Clustr reads.
          example: globex.com
        title_groups:
          type: array
          description: >-
            The role groups Clustr searches the competitor's team for. When
            empty, the search uses your enabled job titles.
          items:
            type: string
          example:
            - sales
            - cs
        created_at:
          type: string
          format: date-time
          example: '2026-06-30T09:00:00Z'
        updated_at:
          type: string
          format: date-time
          example: '2026-06-30T09:00:00Z'
    SlotUsage:
      type: object
      description: >-
        Your competitor monitoring slots. Each monitored person takes one slot,
        whatever the competitor. The limit comes from your workspace's plan,
        which Clustr sets.
      properties:
        used:
          type: integer
          description: How many people are monitored.
          example: 182
        total:
          type: integer
          description: The slot limit.
          example: 200
        paused:
          type: integer
          description: How many people are paused, for lack of a slot or manually.
          example: 12
        pending:
          type: integer
          description: How many joiners are waiting for you to validate them.
          example: 3
        plan:
          type: string
          enum:
            - s50
            - m100
            - l200
            - custom
          example: l200
        active:
          type: integer
          description: The same count as `used`.
          example: 182
        limit:
          type: integer
          description: The same limit as `total`.
          example: 200
    ErrorResponse:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          properties:
            message:
              type: string
              example: Invalid request body
            code:
              type: string
              example: BAD_REQUEST
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: The API key you created on the API settings page of the Clustr app.

````

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