Competitor co-occurrence (head-to-head)
get_competitor_cooccurrenceFor the AI answers where the brand and a competitor are BOTH mentioned, compares who is named higher. One row per tracked competitor: how many answers they co-appear in, how often the brand out-ranks / loses to / ties them (by best mention position), the win rate, the average positions, and one representative shared query. Optionally focus a single competitor via competitorId. Tracked competitors only. Dates must fall within the data retention window. Answers questions like "who wins when we both appear", "do I outrank competitor X", "who is mentioned first".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organizationId": "<organizationId>",
"projectId": "<projectId>",
"dateFrom": "<dateFrom>",
"dateTo": "<dateTo>"
},
"name": "get_competitor_cooccurrence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | Yes | ||
| engines | No | allowed values: chatgpt, claude, perplexity, google_ai_overview, google_ai_mode (SERP/Shopping have no AI text mentions) | |
| dateFrom | Yes | ||
| countries | No | ISO-3166 alpha-2 country codes (e.g. "US", "GB", "DE"); a project's configured codes are listed by get_available_filters | |
| projectId | Yes | ||
| competitorId | No | optional competitor UUID to focus on a single rival; competitor UUIDs are listed by get_available_filters (competitors[].id) | |
| organizationId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| competitors | Yes |