How to track brand mentions in ChatGPT with an API

Ask ChatGPT the same set of questions several times, count how many answers name your brand, and report that as a rate with a 95% interval. One answer tells you what ChatGPT said once; it does not tell you how often it says it.

Why one answer is not enough

ChatGPT can name different brands each time you ask. If your brand appears in half of the answers, a single check shows it either every time or never. The useful number is how many of N answers name you, with an interval that says how precise that is. A rate needs at least 30 answers per surface, spread over 10 or more prompts.

What one real answer shows

This is one real capture from the ChatGPT web website (signed out). It shows the format you get back: the answer, the sources it used or only found, and the search it ran.

Which running shoes are best for flat feet?
  • ChatGPT web
  • 2026-11-29 08:11 UTC
  • 1 run
  • Signed out

The best running shoes for flat feet are generally stability running shoes with a wide, supportive base, comfortable cushioning, and enough room through the midfoot.

My top recommendation is the Brooks Adrenaline GTS 25 for everyday running. However, the best shoe depends on whether your flat feet cause overpronation (your ankles roll inward) or whether you simply have low arches.

Best running shoes for flat feet in 2026

(Best overall)

Brooks Adrenaline GTS 25

  • Excellent everyday stability.
  • GuideRails support helps manage excess inward movement.
  • Comfortable cushioning for daily miles.

A great starting point for runners who overpronate.

ASICS GEL-KAYANO 33

(Best premium cushioning)

  • Plush cushioning.
  • Supportive, stable platform.
  • Great for longer runs.

HOKA Arahi 9

(Best lightweight stability)

  • H-Frame stability technology.
  • Cushioned without feeling overly bulky.
  • Available in wide sizing.

The answer is long. Only the beginning is shown.

Checked with our published matching rules, this one answer names Brooks, ASICS, HOKA, Saucony, New Balance and does not name Nike, Adidas, Mizuno. That is one run, so it is a format example, not a ranking.

Step 1: Fix a prompt set

Write the questions your customers actually ask, not only ones that contain your brand. Give the set a name and a version, and do not edit the wording later: a before-and-after comparison only runs on identical prompts.

  • At least 10 prompts. More prompts usually help more than more runs of one prompt.
  • Keep the surface and country fixed. ChatGPT web takes these countries: US (default), UK, Germany, Japan.
  • Use prompt_set with a name and version, so later batches can be compared.

Here is a template job: 10 prompts × 1 surface × 3 runs = 30 answers, at most $0.0540 at $0.0018 per answer. Replace the prompts with your own.

{
  "prompts": [
    "Which running shoes are best for flat feet?",
    "best stability running shoes for overpronation",
    "What running shoes do podiatrists recommend?",
    "best running shoes for beginners with wide feet",
    "Which running shoe brand is most comfortable for long runs?",
    "best cushioned running shoes for knee pain",
    "What are good running shoes for heavy runners?",
    "best road running shoes under $150",
    "Which running shoes last the longest?",
    "best running shoes for marathon training"
  ],
  "engines": ["chatgpt.web"],
  "samples": 3,
  "prompt_set": {"name":"running-shoes","version":"2026-12"},
  "country": "US"
}

Step 2: Quote and collect

The quote is free and creates nothing. Submitting is charged; with X-Max-Price the request is refused if it could cost more. Answered, no-answer and refused results are charged; failed captures are not.

# 1. Quote: free, creates nothing
curl https://api.askcrawl.com/v1/answers/quote \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompts": [
      "Which running shoes are best for flat feet?",
      "best stability running shoes for overpronation",
      "What running shoes do podiatrists recommend?",
      "best running shoes for beginners with wide feet",
      "Which running shoe brand is most comfortable for long runs?",
      "best cushioned running shoes for knee pain",
      "What are good running shoes for heavy runners?",
      "best road running shoes under $150",
      "Which running shoes last the longest?",
      "best running shoes for marathon training"
    ],
    "engines": ["chatgpt.web"],
    "samples": 3,
    "prompt_set": {"name":"running-shoes","version":"2026-12"},
    "country": "US"
  }'

# 2. Submit: charged. At most $0.0540; refused if it could cost more than X-Max-Price
curl https://api.askcrawl.com/v1/answers \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "X-Max-Price: 0.06" \
  -d '{
    "prompts": [
      "Which running shoes are best for flat feet?",
      "best stability running shoes for overpronation",
      "What running shoes do podiatrists recommend?",
      "best running shoes for beginners with wide feet",
      "Which running shoe brand is most comfortable for long runs?",
      "best cushioned running shoes for knee pain",
      "What are good running shoes for heavy runners?",
      "best road running shoes under $150",
      "Which running shoes last the longest?",
      "best running shoes for marathon training"
    ],
    "engines": ["chatgpt.web"],
    "samples": 3,
    "prompt_set": {"name":"running-shoes","version":"2026-12"},
    "country": "US"
  }'

# 3. Check progress and read answers (free). Replace JOB_ID with the id returned above
curl https://api.askcrawl.com/v1/jobs/JOB_ID -H "Authorization: Bearer $ASKCRAWL_API_KEY"
curl "https://api.askcrawl.com/v1/answers?job_id=JOB_ID" -H "Authorization: Bearer $ASKCRAWL_API_KEY"

Step 3: Get the mention rate

The visibility report is free. Give it the job ID, your brand and any aliases; add domains to also get the citation rate for your site.

curl https://api.askcrawl.com/v1/reports/visibility \
  -H "Authorization: Bearer $ASKCRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "job_ids": [
      "JOB_ID"
    ],
    "brand": "Brooks",
    "aliases": [
      "Brooks Running"
    ]
  }'

Run on the single answer above, the same algorithm returns this for Brooks. enough is false because it is one answer:

{
  "count": 1,
  "sample_size": 1,
  "prompt_count": 1,
  "value": 1,
  "low": 0.2065,
  "high": 1,
  "method": "wilson_95",
  "enough": false
}

Step 4: Read the interval

Report the count first, then the interval. These are computed with the Wilson formula, not collected data:

Answers naming the brandRate95% interval
6 of 3020%10%–37%
15 of 3050%33%–67%
24 of 3080%63%–90%
15 of 10015%9%–23%

Two brands whose intervals overlap cannot be ranked against each other. With several prompts the report resamples by prompt instead; see AI visibility with confidence intervals.

Step 5: Repeat and compare

Run the same prompt set again later with the same country, then compare the two jobs. The comparison is free and returns the difference with a 95% interval and a verdict: up, down, not clear or not enough data.

report = client.compare([before_job_id], [after_job_id], brand="Brooks")
for row in report["rows"]:
    print(row["engine"], row["metric"], row["difference"], row["low"], row["high"], row["verdict"])

Limits

  • This collects the ChatGPT web website while signed out. Signed-in users, other countries and the app can see different answers.
  • Brand matching looks at the answer text only, not source titles, and judges presence, not sentiment.
  • A rate is not a ranking, and a change between two batches does not prove what caused it.

Count your brand in ChatGPT answers

You see the maximum cost before anything runs. This guide's job is at most $0.0540.

New job