Topic Demand

POST /v1/workflows/topic-demand

Compare keyword demand, Google Trends, AI answers and Reddit discussions for one topic before investing in content.

Workflow tools run applicable source checks in parallel and return results labeled per source. Your agent or application uses that evidence to produce the final analysis, prompt set or brief. Pricing is calculated from the primitives that ran successfully plus the selected model rates: failed or skipped steps are not charged.

What to provide

Provide one topic, keyword or category. Optionally select the keyword-data country, trend window and AI surfaces. The default trend window is the past 12 months.

Sources included

  • Adds search volume, CPC, competition, and related keyword ideas.

    Returns: Monthly search volume and cost per click when available. Paid competition metrics for the selected market.

  • Shows whether demand is rising, flat, or fading.

    Returns: Relative search interest over the selected time window. A rising, falling or stable direction label.

  • Shows what AI models already say about the topic.

    Returns: An answer for each selected surface, with its success or failure status. Cited source URLs and available source titles, grouped by answer.

  • Adds what people discuss on Reddit about the topic.

    Returns: Relevant threads with source URLs and cited summaries. Available post text, authors, relative ages and engagement fields from read pages.

What you get back

Ask your agent to describe demand, direction and audience questions separately, citing the source behind each claim before recommending whether to investigate further.

The response contains a results entry per planned step:

  • Each entry identifies its endpoint, purpose and success status.
  • Successful steps include their source data.
  • Failed or skipped steps include a reason.
  • AI answers and long lists may be shortened in workflow results.

Reading the results

Search volume, relative interest and audience conversations measure different things. The workflow does not return a market-size estimate or prove purchasing intent.

Check each step's ok, skipped and partial fields before using its data. A successful HTTP response can contain failed steps. Do not treat missing sources as evidence of no demand or no citations.

Example request

Send this request with your API key in CITE42_API_KEY. Adjust the JSON inputs for your question and market.

curl https://www.cite42.dev/api/v1/workflows/topic-demand \
  -X POST \
  -H "Authorization: Bearer $CITE42_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "topic": "AI-powered CRM",
  "timeframe": "past_12_months"
}'

Parameters

topicstringrequired
Topic, keyword, category, or audience demand to analyze.
countrystringoptional
ISO-2 country code for localized SEO keyword data. Default: "us".
timeframestringoptional
Trend window for demand checks. Default: "past_12_months".
modelsenum[]optional
AI surfaces to query, each billed separately; pass a subset when the user names surfaces or wants a lower cost. Omit for the defaults (chatgpt = the OpenAI API, perplexity, gemini); fullSweep queries all five. google_ai_overview accepts queries up to 700 characters, the others 2000.
Values:chatgptclaudeperplexitygeminigoogle_ai_overview
fullSweepbooleanoptional
Query all five AI surfaces (adds claude and google_ai_overview) for full cross-surface coverage, at a higher cost. Ignored when models is given.

Example response

Illustrative JSON. Data and model coverage vary by request; billing reflects the work that succeeded.

{
  "status": "workflow_result",
  "workflow": "analyze_topic_demand",
  "summary": "Measure demand across search, trends, AI answers, and audience conversations.",
  "input": {
    "topic": "AI-powered CRM",
    "timeframe": "past_12_months"
  },
  "results": [
    {
      "endpoint": "/v1/trends",
      "tool": "cite42_trends",
      "why": "Check interest over time and rising queries.",
      "data": {
        "term": "AI-powered CRM",
        "requestedTerm": "AI-powered CRM",
        "timeframe": "past_12_months",
        "trend": "rising",
        "interestOverTime": [
          {
            "date": "2026-07-13",
            "value": 72
          }
        ],
        "risingQueries": [
          "AI sales automation",
          "CRM copilot"
        ],
        "topQueries": [
          "AI CRM for startups"
        ]
      },
      "ok": true
    }
  ],
  "suggestedPrompt": "Summarize demand and recommend the strongest topic angle."
}

Billing

Up to $0.57 for the full workflow at all-model rates. The actual charge adds successful source checks and selected model rates. Failed and skipped steps are free.

About Topic Demand →