For developers
The Knowzey API lets another app read your results: your AI visibility score, how often AI assistants name and recommend you, the competitors they name instead, your To Do list, every answer, and the PDF report. It only reads. Nothing you call here can change your account, start a scan or cost you anything.
Make a key on the API Keys page in the app, then ask for your latest results:
curl https://app.knowzey.com/api/summary?brand=Your%20Business \
-H "Authorization: Bearer YOUR_KEY"
Every address returns JSON, apart from the spreadsheet (CSV) and the report (PDF). Rates are fractions
from 0 to 1, so 0.42 means 42% of the answers counted.
Send it in the Authorization header, on every request:
Authorization: Bearer ms_your_key_here
Only GET requests to the addresses listed below accept a key. A key put in the address
itself (?t=...) is not accepted here, because addresses end up in logs. The one exception is the
AI-tool connection, below.
Send brand on every address except /api/brands: the website's name exactly as
the app shows it, capitals and spaces included (brand=Maple%20Street%20Studio).
/api/brands lists the names your key can read.
403 and the exact name the key reads./api/brands: a name the account does not hold comes back empty, not as an error.Most addresses take mode. web (the default) is answers where the AI assistant
searched the web before answering, which is how people use them today. memory is answers
given from what the assistant already knows, without searching.
All on https://app.knowzey.com.
| Address | What it returns |
|---|---|
| Your results | |
/api/brands | The websites this key can read |
/api/summary | Score, rates, competitors, locations and trend in one call |
/api/progress | The latest scan against the one before |
/api/changes | What changed, in detail, and why |
/api/grid | Results by subject and location |
/api/grid/cell | The questions behind one square of that grid |
/api/dimensions | The subjects and locations you can filter by |
/api/disciplines/numbers | Results for each kind of care, for clinics that offer several |
/api/field | Every question with its answers by scan day |
/api/reputation | The reputation score from reviews, links and listings |
/api/ratings/latest | Your ratings on each review site, and the review plan |
| Competitors | |
/api/benchmark/sov | Share of voice against competitors |
/api/benchmark/trajectory | Each competitor's share over time, and who really moved |
/api/grid/rivals | Competitors ranked against you, subject by subject |
/api/competitors/sites | The competitors AI names, with their websites |
/api/opportunities/competitor | Why one competitor is named where you are not |
| The questions and answers | |
/api/prompts | The questions asked for you |
/api/prompts/tree | The same questions, grouped |
/api/prompts/stats | How each question does |
/api/prompts/history | How each question did on each scan day |
/api/prompts/{prompt_id}/impact | One question's answers on file |
/api/prompts/out-of-scope | Questions set aside as care you do not offer |
/api/prompts/lock | Whether the question set is locked |
/api/run/{run_id} | One AI answer in full, with the pages it read |
/api/reports/data.csv | Every answer, as a spreadsheet |
| To Do list, reports and your website | |
/api/opportunities | The To Do list |
/api/reports/snapshot.pdf | The PDF report |
/api/brand | Your website's profile, as the app holds it |
/api/content | Pages written for you in the app |
/api/content/types | The kinds of page the app can write |
/api/content/voice | Your saved writing voice and author |
/api/link-map | How your website's pages link to each other |
/api/llms-txt | A ready-made llms.txt file for your website |
/api/growth | Whether scans also ask about care you do not offer yet |
GET /api/brandsThe websites this key can read, newest scan first. A one-website key lists one.
| Option | Meaning |
|---|---|
| None. | |
Each item: brand (the name to send as brand elsewhere), url,
category, locations, n (answers on file), prompts
(questions asked), last (latest answer), scan_engines, failed and
gaps (answers missing from the latest scan).
GET /api/summaryEverything on the dashboard's front page, in one call. Start here.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
engine | Only answers from one AI assistant, such as ai_overview. Leave out for all. |
location | Only answers asked from one location, as named in locations. Leave out for all. |
The fields most apps want:
score: score (0 to 100), band, blurb (what the band
means) and components (each part of the score).agg: runs (answers counted), mention_rate (named at all),
organic_rate (named without being asked about by name), recommend_rate,
first_rate (named first), cited_rate (your site used as a source) and
avg_sentiment (-2 to +2).share_of_voice: every business named, ranked, with name, count,
rate and is_target (that one is you).locations: the same rates for each location.trend: the rates for each scan day, oldest first.engines: the rates for each AI assistant.{
"brand": "Maple Street Studio",
"score": { "score": 64, "band": "Strong", "blurb": "...", "components": [ ... ] },
"agg": { "runs": 150, "mention_rate": 0.58, "organic_rate": 0.51, "recommend_rate": 0.44, "first_rate": 0.21 },
"share_of_voice": [ { "rank": 1, "name": "Maple Street Studio", "count": 87, "rate": 0.58, "is_target": true }, ... ],
"locations": [ { "location": "Guelph, Ontario", "mention_rate": 0.62, "n": 50 }, ... ],
"trend": [ { "day": "2026-11-23", "n": 150, "mention_rate": 0.58 }, ... ]
}
GET /api/progressWhat changed between the latest scan and the one before: latest and previous
(the rates on each day), deltas and component_deltas (how far each moved),
noise (how big a move has to be before it means anything), series (every scan
day) and milestones.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
GET /api/gridThe visibility matrix: subjects down the side, locations across the top. cells holds the
rates for each subject and location, keyed "row|location"; rows and
cols list them in order, and lane_names gives each kind of question its name.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
rows | What goes down the side: category (default, the overview),
concern, service, general or barrier. |
subject | Narrow to one subject, by the key in rows. |
GET /api/benchmark/sovShare of voice: own_mentions, total_runs, and share_of_voice,
each competitor with name, count, rate and beats_you_on
(the subjects where it is named and you are not).
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
location | Only one location. Leave out for all. |
GET /api/fieldEvery question with what happened to it on each scan day: questions, days,
engines, markets (locations), subjects and rivals
(the competitors named).
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
location | Only one location. Leave out for all. |
GET /api/opportunitiesThe To Do list, best first. Each item in opportunities has title,
description (the evidence), recommendation (what to do), type,
score (higher is more worth doing), impact, feasibility,
checked (already marked done) and speculative (based on too few answers to be
sure).
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
GET /api/reports/data.csvEvery answer as a spreadsheet, one row per answer. Columns: Scan day, AI assistant, Search mode, Question, Subject, Intent, Market, Asked for you by name, Named you, Recommended you, Position, Sentiment (-2 to +2), Your site was a source, Competitors named, Sources read, Model.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | web (default) or memory. |
GET /api/reports/snapshot.pdfThe PDF report, the same one the app downloads. It is built from Google's AI answers, so a website with
none yet gets 409 with the reason.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
Each of these reads results already stored, like the ones above. mode is web
(default) or memory wherever it appears.
GET /api/changesWhat Changed, in full: how far the score moved and whether that is more than normal week-to-week noise, each part of the score, the questions that moved it, the sites AI started or stopped reading, and the competitors you passed or who passed you.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
vs | Compare the latest scan with previous (default), the scan about 30 days ago (d30), or the first scan. |
GET /api/grid/cellThe questions behind one square of /api/grid, with how each did over the last 30, 60 and 90
days.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
rows | The same as on /api/grid. |
row | The row's key, from /api/grid. |
col | The location, from /api/grid. Empty for questions asked from no location. |
subject | The same as on /api/grid. |
GET /api/dimensionsThe subjects (health concerns, services) and locations your questions cover, each with how many questions it has. Useful for building filters.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/disciplines/numbersFor a clinic that offers several kinds of care, the main numbers for each kind, and overall.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
GET /api/reputationThe reputation score and what it is built from: reviews, links from other sites, the website audit and listings.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
GET /api/ratings/latestThe latest review check: your rating and review count on each review site, the listings you confirmed, and the plan for getting more reviews.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/benchmark/trajectoryEach competitor's share of answers over your whole history, with spellings of the same name grouped, and which competitors moved by more than chance would explain.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
GET /api/grid/rivalsThe competitors named in your answers, ranked against you, for each row of the grid.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
rows | The same as on /api/grid. |
GET /api/competitors/sitesThe competitors named in your latest scan, with their website and location where AI gave one.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/opportunities/competitorWhy one competitor is named where you are not: the answers and questions it won, and the sites AI read most when it named them.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
competitor | Required. The competitor's name, as in share_of_voice. |
topic | One subject. Send this, topics or all. |
topics | Several subjects, as a JSON list: ["IVF","Egg freezing"]. |
all | Any value, for every subject. |
mode | Search mode. |
GET /api/promptsThe questions asked for you, with each one's subject, kind and location.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/prompts/treeThe same questions grouped the way the app shows them: health concerns, services, your name, and general questions.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/prompts/statsFor each question: how often you are named and recommended, and the tone of the answers, plus search demand where Search Console data is stored.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
GET /api/prompts/historyEach question's rates on each scan day, oldest first.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
mode | Search mode. |
GET /api/prompts/{prompt_id}/impactFor one question, by its id from /api/prompts: how many answers are on file,
how many named you, and when it was first asked.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/prompts/out-of-scopeQuestions set aside because they ask about care you do not offer. They show demand you are not serving.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/prompts/lockWhether the question set is locked, so scans stay comparable, with the question counts.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/run/{run_id}One AI answer in full: the question, the answer text, the assistant, the location it was asked from,
and the pages it read (each marked when it is your own site). Answer ids come from the other addresses.
A one-website key must still send brand, and only reads its own website's answers; any
other id is 404.
| Option | Meaning |
|---|---|
None, apart from brand for a one-website key. | |
GET /api/brandYour website's profile as the app holds it: address, category, description, services, locations, competitors, the insurers you take and your business listing details.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/contentEvery page written for you in the app: title, the text, its status, where it was published, and how your results changed after it went live.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/content/typesThe kinds of piece the app can write (service pages, articles, blog posts, emails and more), each with its label and whether it is offered.
| Option | Meaning |
|---|---|
None, apart from brand for a one-website key. | |
GET /api/content/voiceThe writing voice saved for your pages, and the author name they are written under.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/link-mapHow the pages of your website link to each other, from the latest website audit.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/llms-txtA ready-made llms.txt file for your website, which tells AI assistants what the site is
and where its main pages are, and where to put it.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
GET /api/growthWhether scans of this website also ask about services it does not offer yet, to show the demand it could win: {"on": true}.
| Option | Meaning |
|---|---|
brand | Required. The website's name. |
| Status | Why |
|---|---|
400 | A required option is missing, such as brand, or an option has a value it does not take. |
401 | The key is wrong, revoked, or its website was deleted. {"error": "That API key is not valid. ..."} |
403 | A one-website key asked about another website, or named none. The message gives the exact name it reads. |
404 | The website or the answer id is not one this key can read. |
409 | The PDF report has no Google AI answers to be built from yet. |
302 | No key was sent, it was not sent as Bearer, the request was not a GET, or the address is not one listed here. The server sends you to the sign-in page. |
The same key connects AI tools that speak MCP, such as Claude, Claude Code, Cursor and Windsurf. They can then answer "what should I fix on my site?" from your real results, and make the change in your website's code. Every tool only reads.
Address: https://app.knowzey.com/mcp. Send the key as
Authorization: Bearer .... Apps that cannot set a header, such as the Claude app, can add
?t=YOUR_KEY to the address instead. Claude Code:
claude mcp add --transport http knowzey https://app.knowzey.com/mcp \
--header "Authorization: Bearer YOUR_KEY"
Most tools take brand. With a one-website key, or an account with one website, leave it out.
| Tool | What it gives the AI tool |
|---|---|
list_businesses | The websites this key can read. |
get_visibility | The 0 to 100 score, its parts and the rates behind it. |
get_share_of_voice | Every business named for your questions, ranked. |
list_markets | Visibility for each location. |
get_trend | The score and main rates for each scan day. |
list_questions | The questions asked, and whether you are named in the answers. |
list_opportunities | The To Do list. |
list_site_issues | Faults the website audit found, with the page, the text and the fix. |
get_page_schema | The structured data (JSON-LD) a page should carry, built from confirmed facts. |
get_business_profile | What the business is, does and serves. |
list_content | Pages already written and approved in the app. |
get_content | One of those pages in full, as markdown. |
JavaScript:
const r = await fetch("https://app.knowzey.com/api/summary?brand=" + encodeURIComponent("Your Business"), {
headers: { Authorization: "Bearer " + process.env.KNOWZEY_KEY },
});
const data = await r.json();
console.log(data.score.score, data.agg.mention_rate);
Python:
import os, requests
r = requests.get("https://app.knowzey.com/api/opportunities",
params={"brand": "Your Business"},
headers={"Authorization": "Bearer " + os.environ["KNOWZEY_KEY"]})
for item in r.json()["opportunities"][:5]:
print(item["title"], "-", item["recommendation"])
Download every answer:
curl -o answers.csv "https://app.knowzey.com/api/reports/data.csv?brand=Your%20Business" \
-H "Authorization: Bearer YOUR_KEY"