For developers

API documentation

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.

Quick start

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.

Keys

Sending your key

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.

Choosing a website

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.

Search mode

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.

Addresses

All on https://app.knowzey.com.

AddressWhat it returns
Your results
/api/brandsThe websites this key can read
/api/summaryScore, rates, competitors, locations and trend in one call
/api/progressThe latest scan against the one before
/api/changesWhat changed, in detail, and why
/api/gridResults by subject and location
/api/grid/cellThe questions behind one square of that grid
/api/dimensionsThe subjects and locations you can filter by
/api/disciplines/numbersResults for each kind of care, for clinics that offer several
/api/fieldEvery question with its answers by scan day
/api/reputationThe reputation score from reviews, links and listings
/api/ratings/latestYour ratings on each review site, and the review plan
Competitors
/api/benchmark/sovShare of voice against competitors
/api/benchmark/trajectoryEach competitor's share over time, and who really moved
/api/grid/rivalsCompetitors ranked against you, subject by subject
/api/competitors/sitesThe competitors AI names, with their websites
/api/opportunities/competitorWhy one competitor is named where you are not
The questions and answers
/api/promptsThe questions asked for you
/api/prompts/treeThe same questions, grouped
/api/prompts/statsHow each question does
/api/prompts/historyHow each question did on each scan day
/api/prompts/{prompt_id}/impactOne question's answers on file
/api/prompts/out-of-scopeQuestions set aside as care you do not offer
/api/prompts/lockWhether the question set is locked
/api/run/{run_id}One AI answer in full, with the pages it read
/api/reports/data.csvEvery answer, as a spreadsheet
To Do list, reports and your website
/api/opportunitiesThe To Do list
/api/reports/snapshot.pdfThe PDF report
/api/brandYour website's profile, as the app holds it
/api/contentPages written for you in the app
/api/content/typesThe kinds of page the app can write
/api/content/voiceYour saved writing voice and author
/api/link-mapHow your website's pages link to each other
/api/llms-txtA ready-made llms.txt file for your website
/api/growthWhether scans also ask about care you do not offer yet

GET /api/brands

The websites this key can read, newest scan first. A one-website key lists one.

OptionMeaning
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/summary

Everything on the dashboard's front page, in one call. Start here.

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.
engineOnly answers from one AI assistant, such as ai_overview. Leave out for all.
locationOnly 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/progress

What 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.

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.

GET /api/grid

The 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.

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.
rowsWhat goes down the side: category (default, the overview), concern, service, general or barrier.
subjectNarrow to one subject, by the key in rows.

GET /api/benchmark/sov

Share 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).

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.
locationOnly one location. Leave out for all.

GET /api/field

Every question with what happened to it on each scan day: questions, days, engines, markets (locations), subjects and rivals (the competitors named).

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.
locationOnly one location. Leave out for all.

GET /api/opportunities

The 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).

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.

GET /api/reports/data.csv

Every 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.

OptionMeaning
brandRequired. The website's name.
modeweb (default) or memory.

GET /api/reports/snapshot.pdf

The 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.

OptionMeaning
brandRequired. The website's name.

More addresses

Each of these reads results already stored, like the ones above. mode is web (default) or memory wherever it appears.

GET /api/changes

What 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.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.
vsCompare the latest scan with previous (default), the scan about 30 days ago (d30), or the first scan.

GET /api/grid/cell

The questions behind one square of /api/grid, with how each did over the last 30, 60 and 90 days.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.
rowsThe same as on /api/grid.
rowThe row's key, from /api/grid.
colThe location, from /api/grid. Empty for questions asked from no location.
subjectThe same as on /api/grid.

GET /api/dimensions

The subjects (health concerns, services) and locations your questions cover, each with how many questions it has. Useful for building filters.

OptionMeaning
brandRequired. The website's name.

GET /api/disciplines/numbers

For a clinic that offers several kinds of care, the main numbers for each kind, and overall.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.

GET /api/reputation

The reputation score and what it is built from: reviews, links from other sites, the website audit and listings.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.

GET /api/ratings/latest

The latest review check: your rating and review count on each review site, the listings you confirmed, and the plan for getting more reviews.

OptionMeaning
brandRequired. The website's name.

GET /api/benchmark/trajectory

Each 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.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.

GET /api/grid/rivals

The competitors named in your answers, ranked against you, for each row of the grid.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.
rowsThe same as on /api/grid.

GET /api/competitors/sites

The competitors named in your latest scan, with their website and location where AI gave one.

OptionMeaning
brandRequired. The website's name.

GET /api/opportunities/competitor

Why one competitor is named where you are not: the answers and questions it won, and the sites AI read most when it named them.

OptionMeaning
brandRequired. The website's name.
competitorRequired. The competitor's name, as in share_of_voice.
topicOne subject. Send this, topics or all.
topicsSeveral subjects, as a JSON list: ["IVF","Egg freezing"].
allAny value, for every subject.
modeSearch mode.

GET /api/prompts

The questions asked for you, with each one's subject, kind and location.

OptionMeaning
brandRequired. The website's name.

GET /api/prompts/tree

The same questions grouped the way the app shows them: health concerns, services, your name, and general questions.

OptionMeaning
brandRequired. The website's name.

GET /api/prompts/stats

For each question: how often you are named and recommended, and the tone of the answers, plus search demand where Search Console data is stored.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.

GET /api/prompts/history

Each question's rates on each scan day, oldest first.

OptionMeaning
brandRequired. The website's name.
modeSearch mode.

GET /api/prompts/{prompt_id}/impact

For one question, by its id from /api/prompts: how many answers are on file, how many named you, and when it was first asked.

OptionMeaning
brandRequired. The website's name.

GET /api/prompts/out-of-scope

Questions set aside because they ask about care you do not offer. They show demand you are not serving.

OptionMeaning
brandRequired. The website's name.

GET /api/prompts/lock

Whether the question set is locked, so scans stay comparable, with the question counts.

OptionMeaning
brandRequired. 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.

OptionMeaning
None, apart from brand for a one-website key.

GET /api/brand

Your website's profile as the app holds it: address, category, description, services, locations, competitors, the insurers you take and your business listing details.

OptionMeaning
brandRequired. The website's name.

GET /api/content

Every 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.

OptionMeaning
brandRequired. The website's name.

GET /api/content/types

The kinds of piece the app can write (service pages, articles, blog posts, emails and more), each with its label and whether it is offered.

OptionMeaning
None, apart from brand for a one-website key.

GET /api/content/voice

The writing voice saved for your pages, and the author name they are written under.

OptionMeaning
brandRequired. The website's name.

GET /api/llms-txt

A 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.

OptionMeaning
brandRequired. The website's name.

GET /api/growth

Whether scans of this website also ask about services it does not offer yet, to show the demand it could win: {"on": true}.

OptionMeaning
brandRequired. The website's name.

Errors

StatusWhy
400A required option is missing, such as brand, or an option has a value it does not take.
401The key is wrong, revoked, or its website was deleted. {"error": "That API key is not valid. ..."}
403A one-website key asked about another website, or named none. The message gives the exact name it reads.
404The website or the answer id is not one this key can read.
409The PDF report has no Google AI answers to be built from yet.
302No 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.

AI tools (MCP)

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.

ToolWhat it gives the AI tool
list_businessesThe websites this key can read.
get_visibilityThe 0 to 100 score, its parts and the rates behind it.
get_share_of_voiceEvery business named for your questions, ranked.
list_marketsVisibility for each location.
get_trendThe score and main rates for each scan day.
list_questionsThe questions asked, and whether you are named in the answers.
list_opportunitiesThe To Do list.
list_site_issuesFaults the website audit found, with the page, the text and the fix.
get_page_schemaThe structured data (JSON-LD) a page should carry, built from confirmed facts.
get_business_profileWhat the business is, does and serves.
list_contentPages already written and approved in the app.
get_contentOne of those pages in full, as markdown.

Cost and limits

More examples

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"