Get Competitor Data
Deep analysis of how you compare to competitors in AI responses.
Endpoint
Returns comprehensive competitive analysis including performance summaries, top spot ownership, and head-to-head comparisons.
Query Parameters
brand_idstringrequiredBrand UUID from /get-brands. The legacy brand alias is also accepted.
viewstringView mode: summary, arena, head-to-head, by-model, threats, heatmap, over_time
Default: summary
competitorstringCompetitor name (required when view=head-to-head)
Performance Summary
The brand_performance_summary array shows how you and your competitors rank overall. Your brand is always listed first.
Performance Summary
brand_namestringBrand or competitor name (your brand is always first)
total_mentions_overallintegerTotal mentions in analysis period (90 days)
overall_avg_scorenumberAverage visibility score (1-10 scale)
overall_avg_ranknumberAverage position when mentioned (lower is better)
overall_rank_distributionarrayBreakdown by rank buckets
llm_specific_performance_listarrayPer-model performance
Top Spot Ownership
The top_spot_ownership array shows which brand "owns" the #1 position for each prompt. Use this to identify prompts where competitors dominate.
| Field | Description |
|---|---|
prompt | The prompt text |
top_brand | Brand most often in position #1 |
count | Times this brand was #1 |
Head-to-Head
The primary_brand_cooccurrences array shows how you perform when you and a competitor both appear in the same AI response.
Co-occurrence Data
competitor_namestringCompetitor name
cooccurrence_countintegerTimes you both appeared in same response
cooccurrence_rate_percentnumberCo-occurrence as % of your total appearances
primary_brand_position_above_rate_percentnumberPercentage where you ranked higher
primary_wins_pct above 50% means you typically rank higher than that competitor when you both appear. Below 50% means they usually beat you.View Modes
Use the view parameter to access different competitive analysis views. Omitting it (or passing view=summary) returns the default response above.
| View | Description |
|---|---|
summary | Default. Full competitive analysis with rankings and co-occurrences. |
arena | Prompt-by-prompt battlegrounds with leaders, gaps, and rankings. |
head-to-head | Direct 1v1 comparison. Requires competitor parameter. |
by-model | Competitive breakdown per AI model. |
threats | Competitive threats, opportunity prompts, alerts, and summary counts. |
view=arena
Returns prompt-by-prompt battlegrounds. Each prompt includes your rank, the current leader, the gap to that leader, and the top competitor rankings.
Arena Prompt
prompt_textstringPrompt being compared
your_rankintegerYour rank for this prompt
your_scorenumberYour average rank score when available
leaderstringBrand leading this prompt
leader_scorenumberLeader average rank score when available
gap_to_leadernumberRank-score gap to the leader
total_competitorsintegerCompetitors found for this prompt
rankingsarrayTop brands for this prompt
view=head-to-head
Returns a direct 1v1 comparison with a specific competitor. The competitor parameter is required and must match a competitor name (case-insensitive).
competitor parameter is not provided, or 404 if the competitor is not found in your competitive set.Head-to-Head Result
youobjectYour visibility, average rank, and #1 counts
rivalobjectSelected competitor stats
head_to_headobjectWins, losses, ties, win rate, and matchup count
where_you_winarrayPrompts where you outrank the rival
where_rival_winsarrayPrompts where the rival outranks you
available_rivalsarrayCompetitors available for comparison
view=by-model
Returns competitive performance broken down by AI model (ChatGPT, Perplexity, Gemini, etc.). Useful for identifying which models favor your brand versus competitors.
Model Performance
llmsarrayAI models included in the heatmap
brandsarrayBrands included, with your brand first when present
your_brandstringYour brand name
heatmaparrayBrand/model cells with visibility, rank, mentions, and is_you
insightsarrayStrength and weakness observations by model
your_best_llmstringYour strongest model by visibility
your_worst_llmstringYour weakest model by visibility
view=threats
Returns competitive threats, opportunity prompts, alerts, and summary counts.
Threats Result
threatsarrayCompetitors pressuring your brand
opportunitiesarrayPrompts where competitors create an opening
alertsarrayNotable competitive events
summaryobjectCounts for threats and opportunities
Use Cases
- Identify your strongest and weakest competitive matchups
- Find prompts where competitors dominate
- Track competitive position over time
- Prioritize content efforts based on competitive gaps
- Compare performance by AI model with
view=by-model - Detect emerging threats with
view=threats
