---
title: "Get a competitor"
method: GET
path: "/api/mcp/projects/{projectId}/competitors/{competitorId}"
tags: ["Competitors"]
---

# Get a competitor

`GET /api/mcp/projects/{projectId}/competitors/{competitorId}`

Full detail for one tracked competitor — the list-view fields plus a per-day history[] and up to 10 recent topPrompts[] it was mentioned in. Two distinct citation metrics: citations (top level) counts every citation on responses that mention the competitor, whatever domain it points at; history[].domainCitations counts citations whose URL is on the competitor's own domain. Returns 404 if competitorId doesn't exist or belongs to a different project. `days` defaults to 30, max 365.

## Path parameters

- `projectId` string, uuid, required
- `competitorId` string, uuid, required

## Query parameters

- `days` integer
- `platform` string
- `topicId` string, uuid
- `unbranded` 'true'
- `branded` 'true'
- `country` string
- `locationId` string

## Response `200`

Competitor detail.

- CompetitorDetailResponse
  - `id` string, uuid, required
  - `name` string, required
  - `domain` string, nullable
  - `sov` number, required
  - `visibilityScore` unknown
  - `mentions` integer, required — Total mentions in responses, honoring the filters.
  - `citations` integer, required — ALL source-type citations on responses that mention this competitor, whatever domain they point at.
  - `sentimentScore` number, nullable
  - `history` object[], required — Per-day history. Ignores the filter params (its backing query takes only competitorId/projectId/days).
    - `date` string
    - `visibilityScore` number
    - `mentions` integer
    - `domainCitations` integer — Citations whose URL is on the competitor's OWN domain — distinct from the top-level `citations` field.
  - `topPrompts` CompetitorTopPrompt[], required — Up to 10 recent prompts this competitor was mentioned in.
    - `prompt` string
    - `engine` string
    - `position` number, nullable
    - `sentiment` string, nullable
    - `date` string, date-time, nullable
    - `citations` integer
  - `dateRange` DateRange, required — The resolved lookback window for this response.
    - `from` string, date-time, required
    - `to` string, date-time, required

## Other responses

- `400` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `401` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `403` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `404` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.
- `429` — Rate limited. Usually the per-API-key REST limit (600 requests/minute); on Google-backed endpoints it can also relay an upstream Google rate limit. `Retry-After` (seconds) is present when the limit was applied by Searchable's own rate limiter; it may be absent when an upstream provider rate-limits.
- `504` — Error response. `code` is the machine-readable reason — see the [error reference](/api/errors) for the full catalog and remediation per code.

---

[API](https://skmtc.dev/searchable/apis/searchable-rest-api.md) · [All operations](https://skmtc.dev/searchable/apis/searchable-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/searchable/searchable-rest-api/revisions/301b04e800ed/schema)
