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

# List Competitor Summaries

> Header tallies for every tracked competitor, in one read

Every tracked competitor's header tallies in a single read: people tracked, interactions, accounts touched, the attack/defend split, and the at-risk count. It replaces calling [the battlecard](https://docs.clustr-ai.com/api-reference/get-competitor-detail.md) once per competitor when all you want is the scoreboard.

Attack, defend and at-risk come from one workspace-wide overlay of your live CRM over every competitor's touched accounts, so the numbers are comparable across competitors.

`totals` gives the workspace-wide figures across every competitor, counting each account once however many competitors touch it: `accounts_touched`, and `at_risk` (you own the account and it has an open deal). The per-competitor rows count an account once per competitor, so their sum can be higher.

```bash cURL theme={null}
curl https://api.clustr-ai.com/api/public/competitor-summaries \
  -H "Authorization: Bearer YOUR_API_KEY"
```

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

requests.get(
    "https://api.clustr-ai.com/api/public/competitor-summaries",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
)
```

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

```json 200 theme={null}
{
  "success": true,
  "data": {
    "summaries": [
      {
        "clustr_competitor_id": "cmp_r0jpyyqyeh0txpgdhb604j2g9s",
        "competitor_id": "c1a2b3c4-d5e6-7890-abcd-ef1234567890",
        "competitor_name": "Globex Inc",
        "persons_tracked": 24,
        "interactions": 2871,
        "accounts_touched": 148,
        "atk_accounts": 101,
        "def_accounts": 47,
        "at_risk": 6
      },
      {
        "clustr_competitor_id": "cmp_5ry79b7b4dh6544gqk56z0dx8c",
        "competitor_id": "d2b3c4d5-e6f7-8901-bcde-f23456789012",
        "competitor_name": "Initech",
        "persons_tracked": 11,
        "interactions": 1257,
        "accounts_touched": 82,
        "atk_accounts": 66,
        "def_accounts": 16,
        "at_risk": 3
      }
    ],
    "totals": {
      "accounts_touched": 201,
      "at_risk": 8
    }
  }
}
```


## OpenAPI

````yaml GET /competitor-summaries
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:
  /competitor-summaries:
    get:
      tags:
        - Competitor Monitoring
      summary: List Competitor Summaries
      description: >-
        Returns the headline counts of every tracked competitor in one call:
        people tracked, interactions, accounts touched, the split between Attack
        and Defense accounts, and the at-risk count. `totals` gives the distinct
        accounts touched and at risk across all competitors, so an account two
        competitors touch counts once.
      operationId: listCompetitorSummaries
      parameters:
        - 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: The counts for each competitor
          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.