Brand reports and comparisons
Turn the answers you collected into how often a brand is mentioned and how often your site is cited, each with a 95% interval, and compare one batch with another. Reports are free and can be run as often as you like.
Collect enough answers first
A report only uses answers you have already collected; it does not collect more. For a result you can conclude from, each platform needs at least 30 answers, and at least 10 questions when several are pooled. Sampling and intervals explains how to plan questions and runs.
If you intend to compare before and after, set prompt_set (a name and version for your questions) when you submit. Two jobs can be compared only when the set, the version and the questions all match.
Visibility report
Give the job IDs, plus a brand name, your domains, or both.
curl https://api.askcrawl.com/v1/reports/visibility \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"job_ids": ["2f6c1c0e-5b7a-4d1e-9a53-0c8e4f7b21a6"],
"brand": "Apple",
"exclude": ["apple pie"],
"domains": ["apple.com"]
}'Replace job_ids with your own. A report covers at most 20 jobs and 5,000 answers; beyond that you get report_too_large, and can narrow it with engines or prompts.
The response has one row per platform and set of capture conditions, each with three rates:
| Rate | Meaning |
|---|---|
answer_rate | Share of results that had an answer. The denominator is answered, no-answer and refused results; not-collected and pending ones are left out |
mention_rate | Of the answered results, the share whose text mentions the brand. Positive and negative mentions both count |
citation_rate | Share of answers that used one of your domains. Only answers that searched, and whose sources can be told apart as used or only found, are counted |
Every rate comes with count, sample_size, low, high and enough. Sampling and intervals explains how to read them.
How a brand is matched
- Only the answer text is checked, never source titles or URLs.
aliasesare other ways the brand is written;excludelists phrases that contain the brand name but are not the brand.- Matching only asks whether the brand is mentioned, not whether the mention is favourable. “I would not recommend X” counts.
domainsinclude their subdomains.- The full rules are returned in
method.brand_rulesand the method version inmethod.version. When the rules change, so does the version.
Compare two batches
a is the earlier batch and b the later one. An answer cannot be in both.
curl https://api.askcrawl.com/v1/reports/compare \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"a": { "job_ids": ["2f6c1c0e-5b7a-4d1e-9a53-0c8e4f7b21a6"] },
"b": { "job_ids": ["9d3b7e42-1a6f-4c58-b0e7-6a2f5d914c3b"] },
"brand": "Apple"
}'Each row has a verdict:
| Verdict | Meaning |
|---|---|
up | Higher: the whole 95% interval of the difference is above 0 |
down | Lower: the whole 95% interval of the difference is below 0 |
not_clear | No clear difference. This does not mean nothing changed; the sample may simply be too small to tell |
not_enough | Not enough data, so no interval is given |
single_prompt | Only one question. You get the difference and its interval, but no up or down |
When two batches can be compared
You get up, down or not_clear only when all of these hold:
- Each side passes the sample thresholds described above.
- The question set, its version and the questions are the same.
- The platform and capture conditions are the same: surface, login state, region, route and tier.
- At least 80% of the questions have data on both sides.
- With several questions, the two sample sizes differ by no more than a factor of 3.
Groups that cannot be compared are listed in mismatches with the reason. comparable being true only means at least one group could be compared.
What not to do with the results
- Do not rank. Passing the thresholds only makes the interval worth reading. When two brands' intervals overlap, you cannot say which is higher.
- Do not credit your optimisation. A difference can come from a platform update, timing or some other change. The report only says whether two batches differ.
- Do not merge groups. Results from different platforms, surfaces, login states or regions cannot be added into one number.
- When
enoughisfalse, or the verdict isnot_enoughorsingle_prompt, say plainly that it cannot be judged yet.