AI Visibility

POST /v1/rankings

Measure how a set of brands rank in AI answers for one query: mention rate, average position and a per-model breakdown, billed per selected model.

Track how often each model mentions a brand for a query, in what position, and the per-model split. mentionRate is the fraction of usable model answers that named the brand; avgPosition is the mean 1-based rank of its first mention.

Need the same measurement daily, weekly or monthly? Save this input with the Tracker API.

What to provide

Provide a question and one to 20 brand or domain names. Optionally select the AI surfaces. Use the same question and selection when comparing measurements.

What you get back

  • Mention rate for each tracked brand across usable answers.
  • Average first-mention position and a breakdown by model.
  • Measurement coverage so missing answers remain distinguishable from missing brands.

Reading the results

Position means order of mention in an AI answer, not a Google ranking. Rates count usable answers only: two mentions in three usable answers is 66.7%. No usable answers means unavailable, not 0%.

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/rankings \
  -X POST \
  -H "Authorization: Bearer $CITE42_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "fullSweep": true,
  "query": "best startup CRM",
  "competitors": [
    "Acme CRM",
    "Rival CRM",
    "Legacy CRM"
  ]
}'

Parameters

querystringrequired
The query to measure brand/competitor visibility on.
competitorsstring[]required
Brand or domain names to track within the AI-generated answers.
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. chatgpt_app (ChatGPT itself, captured from its web interface) is opt-in and not in fullSweep; for every surface, list all six. It answers more slowly; if it does not answer in time, it has no result and is not charged.
Values:chatgptclaudeperplexitygeminigoogle_ai_overviewchatgpt_app
fullSweepbooleanoptional
Query the five standard AI surfaces (adds claude and google_ai_overview) at a higher cost. It leaves out chatgpt_app, so list all six in models for every surface. Ignored when models is given.
countrystringoptional
Optional ISO-2 country to measure from, e.g. "gb". Omit for each surface's default. Gemini has no country setting and ignores it.
languagestringoptional
Optional ISO-2 language for google_ai_overview and chatgpt_app, which read in it. Needs country; defaults to the country's main language.

Example response

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

{
  "query": "best startup CRM",
  "rankings": [
    {
      "competitor": "Rival CRM",
      "mentionRate": 0.8,
      "avgPosition": 1.5,
      "byModel": {
        "chatgpt": 1,
        "claude": 1,
        "perplexity": 2,
        "gemini": 2,
        "google_ai_overview": null
      }
    }
  ],
  "measurement": {
    "methodologyVersion": "2026-10-21-v1:aio-v2",
    "surfaces": [
      {
        "model": "chatgpt",
        "provider": "OpenAI",
        "access": "official-api",
        "webSearch": "auto",
        "status": "complete"
      },
      {
        "model": "claude",
        "provider": "Anthropic",
        "access": "official-api",
        "webSearch": "auto",
        "status": "complete"
      },
      {
        "model": "perplexity",
        "provider": "Perplexity",
        "access": "native-search",
        "webSearch": "always",
        "status": "complete"
      },
      {
        "model": "gemini",
        "provider": "Google Gemini",
        "access": "official-api",
        "webSearch": "auto",
        "status": "complete"
      },
      {
        "model": "google_ai_overview",
        "provider": "Google AI Overviews",
        "access": "live-serp",
        "webSearch": "always",
        "location": {
          "method": "local_read",
          "country": "us",
          "language": "en"
        },
        "status": "complete"
      }
    ]
  },
  "metrics": {
    "definitionVersion": "2026-09-23-v1",
    "checkedAnswers": 5,
    "requestedAnswers": 5,
    "excludedAnswers": 0,
    "note": "A descriptive sample, not a market-wide score. Small samples can swing sharply. Failed, empty and incomplete answers are excluded. Cached observations may be reused. A mention is not an endorsement; position is first-mention order, not a Google ranking.",
    "mentions": [
      {
        "brand": "Rival CRM",
        "numerator": 4,
        "denominator": 5,
        "percentage": 80,
        "label": "80% — 4 of 5 checked answers"
      }
    ]
  },
  "requestId": "…",
  "billing": {
    "cost": {
      "microCredits": 25000,
      "usd": "0.25"
    },
    "balance": {
      "microCredits": 1336000,
      "usd": "13.36"
    }
  }
}

Billing

$0.01 to $0.06 / model · billed per model queried, so all 5 models = $0.25. Pass models to query fewer.

About AI Visibility →