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

# Get Competitor Detail

> The battlecard for one competitor, with ranked accounts, reps, and activity over time

The battlecard for one competitor, computed live from everything collected so far:

* **`accounts`**: every account they are touching, ranked, with the attack/defend split and at-risk flag from your CRM. `we_own: false` is white space to attack; `we_own: true` with an open deal is `at_risk`.
* **`reps`**: their go-to-market people folded across all activity, with role bucket, interaction counts and first/last active.
* **`activity`**: interactions bucketed over time, for the trend.
* **`summary`**: the same header tallies [the summaries endpoint](https://docs.clustr-ai.com/api-reference/list-competitor-summaries.md) returns for every competitor at once.

```bash cURL theme={null}
curl -G https://api.clustr-ai.com/api/public/competitors/cmp_r0jpyyqyeh0txpgdhb604j2g9s/detail \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d from=2026-05-01T00:00:00Z
```

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

requests.get(
    "https://api.clustr-ai.com/api/public/competitors/cmp_r0jpyyqyeh0txpgdhb604j2g9s/detail",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    params={"from": "2026-05-01T00:00:00Z"},
)
```

```javascript JavaScript theme={null}
await fetch(
  "https://api.clustr-ai.com/api/public/competitors/cmp_r0jpyyqyeh0txpgdhb604j2g9s/detail",
  { headers: { Authorization: "Bearer YOUR_API_KEY" } },
);
```

```json 200 theme={null}
{
  "success": true,
  "data": {
    "summary": {
      "persons_tracked": 24,
      "interactions": 2871,
      "accounts_touched": 148,
      "atk_accounts": 101,
      "def_accounts": 47,
      "at_risk": 6
    },
    "accounts": [
      {
        "clustr_account_id": "acc_2mhxbznjtvpympw45ng1m3333c",
        "account_key": "northwind.com",
        "company_name": "Northwind Trading",
        "company_domain": "northwind.com",
        "company_numeric_id": "1553894",
        "we_own": true,
        "at_risk": true,
        "owner_email": "alex@yourcompany.com",
        "has_open_deal": true,
        "deal_name": "Northwind — Platform expansion",
        "deal_stage": "Negotiation",
        "deal_amount": 84000,
        "signal_score": 91,
        "courtship_score": 78,
        "courtship_label": "hot",
        "last_touch_days": 2,
        "distinct_reps": 3,
        "interactions": 17
      }
    ],
    "reps": [
      {
        "clustr_rep_person_id": "per_bs9t25pnx8ax5p80ckexz9r35s",
        "rep_linkedin_id": "samir-k",
        "rep_name": "Samir Khoury",
        "rep_title": "Enterprise AE",
        "role_bucket": "ae",
        "interactions": 412,
        "comments": 88,
        "reactions": 324,
        "distinct_accounts": 61,
        "first_active": "2026-03-14T09:40:00Z",
        "last_active": "2026-07-28T14:02:11Z"
      }
    ],
    "activity": [
      { "bucket": "2026-07-20", "interactions": 34 },
      { "bucket": "2026-07-27", "interactions": 41 }
    ]
  }
}
```

```json 404 theme={null}
{
  "success": false,
  "error": { "message": "Competitor not found", "code": "NOT_FOUND" }
}
```


## OpenAPI

````yaml GET /competitors/{id}/detail
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/{id}/detail:
    get:
      tags:
        - Competitor Monitoring
      summary: Get Competitor Detail
      description: >
        The battlecard for one competitor: every account they are touching,
        ranked,

        with the attack or defend split and the at-risk flag from your live CRM,
        the

        competitor's reps across all their activity, and their interactions
        grouped

        over time.
      operationId: getCompetitorDetail
      parameters:
        - name: id
          in: path
          required: true
          description: >-
            The competitor's Clustr ID (`cmp_…`), from [List
            Competitors](/api-reference/list-competitors).

            The id from earlier responses also works.
          schema:
            type: string
          example: cmp_qx11gexmzhy4k50b2avdt36hqh
        - name: from
          in: query
          description: >-
            The start of the time window, as an RFC 3339 timestamp. Leave it out
            to cover all time.
          schema:
            type: string
            format: date-time
        - $ref: '#/components/parameters/ToQueryParam'
      responses:
        '200':
          description: Ranked accounts, reps and activity buckets
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    additionalProperties: true
        '401':
          description: Invalid or missing API key
        '403':
          description: Competitor monitoring is not enabled for this workspace
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  parameters:
    ToQueryParam:
      name: to
      in: query
      description: The end of the time window, as an RFC 3339 timestamp.
      schema:
        type: string
        format: date-time
  schemas:
    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.