Analyze Competitor Content
Workflow contract for competitor content gaps across AI rankings, citations, and SEO demand.
Overview
Workflow endpoints run their primitives in parallel and return each primitive's full output, labeled per source. Pricing is calculated from the primitives that ran successfully plus the selected model rates — failed or skipped steps are not charged.
Reference
POST
/v1/workflows/competitor-content$0.63 · flat per call
Parameters
competitorsrequired | string[] | Competitor brands, domains, or channels to analyze. |
topicoptional | string | Optional topic/category to constrain the analysis. |
brandoptional | string | Optional primary brand/domain to compare against competitors. |
countryoptional | string | ISO-2 country code for localized SEO keyword data. Default: "us". |
modelsoptional | array of enum (chatgpt | claude | perplexity | gemini | google_ai_overview) | Optional model subset. Omit to query all five AI surfaces (chatgpt, claude, perplexity, gemini, google_ai_overview). Pass ["perplexity"] or ["perplexity","claude"] when the user asks for specific surfaces or wants to reduce cost. |
Request
curl https://api.cite42.dev/v1/workflows/competitor-content \
-X POST \
-H "Authorization: Bearer $CITE42_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "competitors": ["Peec AI", "Profound"], "topic": "AI search visibility" }'Response
{
"status": "workflow_result",
"workflow": "analyze_competitor_content",
"summary": "Analyze competitor content opportunities by checking AI rankings, citations, keyword demand, and topics competitors are likely to own.",
"results": [
{ "endpoint": "/v1/search", "tool": "cite42_search", "ok": true, "why": "...", "data": { "query": "...", "results": [ "…per-model answers with citations…" ] } },
{ "endpoint": "/v1/keywords", "tool": "cite42_keywords", "ok": true, "why": "...", "data": { "keyword": "...", "volume": 4400, "cpc": 6.2, "ideas": [ "…" ] } },
{ "endpoint": "/v1/reddit/trends", "tool": "cite42_reddit_trends", "ok": true, "why": "...", "data": { "risingThreads": [ "…" ], "painPoints": [ "…" ], "repeatedQuestions": [ "…" ] } }
]
}