competitors_compete
Benchmark your URL against AI-cited competitors for a search query. Returns your citation score, average competitor score, and the gap.
Instructions
End-to-end competitive snapshot for a single query. Calls check_citations to get the cited URLs, then runs compare_domains on your_url vs the top cited competitors. Returns your score, the average competitor score, and the gap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query to test (what would a user ask an AI?). | |
| engine | No | AI engine to query for the citation set. 'auto' picks the first available key. | auto |
| your_url | Yes | Your URL to benchmark against the cited competitors. | |
| max_competitors | No | How many cited URLs to compare against your_url. Capped at 9 (compare_domains accepts max 10 URLs total including yours). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The query that was tested. | |
| engine | Yes | Engine used for the citation fetch. | |
| your_url | Yes | Your URL that was benchmarked. | |
| score_gap | Yes | your_score minus average_competitor_score. | |
| comparison | Yes | Full compare_domains result. | |
| fetched_at | Yes | UTC ISO-8601 timestamp. | |
| your_score | Yes | predict_citation score for your URL (null on error). | |
| competitors | Yes | Competitor URLs that were compared. | |
| your_in_citations | Yes | Whether your URL appeared in the engine's citation list. | |
| average_competitor_score | Yes | Mean score across competitor URLs. |