For AI tools · MCP server and API

Use Algotally inside your AI tools.

Ask ChatGPT, Claude or Cursor for a report, a market or a fix plan. It uses the same account, markets and data as the app, on every plan.

Connect in 2 minutes

No key

ChatGPT and Claude.ai

  1. Add a custom connector with this address:
    https://algotally.com/mcp
  2. Claude.ai: Settings → Connectors → Add custom connector. ChatGPT: Settings → Apps & Connectors → Create (developer mode on).
  3. Sign in to Algotally, choose Latest or Classic tools, and select Allow.
API key

Claude Code and Cursor

  1. Create a key in the app: Account & billing → API & MCP, with its Version (Latest or Classic).
  2. Claude Code, one command:
    claude mcp add --transport http algotally https://algotally.com/mcp --header "Authorization: Bearer si_live_YOUR_KEY"
  3. Cursor: add algotally to .cursor/mcp.json (full config).
REST API

Your own software

  1. Use the same key in the Authorization header.
  2. Run a report:
    curl -X POST -H "Authorization: Bearer si_live_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{"business_name":"Acme Plumbing","industry":"plumbing","city":"Houston"}' \
      https://algotally.com/api/v1/platform/reports
  3. Every route: Plain HTTP. Limits: the published limits.

Classic and Latest

Two sets of tools: the original ones, or every tool with views in the chat. You choose for each key and each connected app.

Classic and Latest

Each API key and each signed-in app uses one of two sets of MCP tools:

  • Latest: every tool, and each new tool as we add it. In apps that show them, reports also show as views in the chat, and the /algotally commands are there. The tools marked Latest in the reference are in Latest only.
  • Classic: the tools as they were before the views and the tools marked Latest. Classic gets every fix and data change, but no new tool, no view and no command. Classic stays for at least 6 months after Latest goes live. Before it goes, every account that used Classic in the last 30 days gets an email, 30 days ahead.

How to choose:

  • An API key: the Version menu beside the key in Account & billing → API & MCP, or mcp_version when you create the key. A new key is Latest unless you choose Classic. A change applies when the AI app starts its next session: start a new chat, or reconnect the app.
  • A signed-in app (ChatGPT, Claude.ai): the approval page asks for "Latest tools, with views in the chat" or "Classic tools". To change it, disconnect the app and connect it again.
  • The address: https://algotally.com/mcp/classic always gives Classic, whatever the key or the sign-in chose. To choose for each chat, add Algotally twice: once at /mcp and once at /mcp/classic.

Keys and sign-ins made before this choice stay on Classic until you change them. get_account says which version a connection has (mcp_version). A Latest tool called on a Classic connection answers with an error that says how to change the version.

What you can ask it

Type it in plain words, in any AI app. You do not need command names: the assistant picks the tool. Examples use made-up names.

New? Ask “Where do I start?” The assistant reads your account and suggests 2 or 3 next steps, each one a sentence you can copy. It asks before it uses one of your monthly reports.

“Free check: does AI name Acme Plumbing in Houston, TX?”

How often AI names it, with the 95% range, the answer count, the AI tools and the dates. Free: no report is used.

free_check

“Run a report on Acme Plumbing in Houston, TX.”

How often AI names it, with the range and the rank, the sites AI cites, and which of them AI cites alongside it.

run_report

“Who do AI answers name for plumbing in Houston?”

The market report: the businesses AI named, how often, and the sites it cites.

run_market_report

“What changed this week?”

Each business you follow, named or not, with its rate and trend.

this_week

“Which AI tool names us least?”

The rate for each AI service (OpenAI, Perplexity, Anthropic), side by side.

engine_breakdown

“Make a plan to raise Acme Plumbing’s rate.”

The steps in order, from the sites AI cites and the gaps in the business’s profile.

get_action_plan

“Does AI get our hours and phone number right?”

AI answers checked against the facts you saved, with each mismatch.

check_business_facts

“Share this report with my client.”

A dated share link, with your branding on Agency and the white-label add-on.

share_report

Shortcut for power users: type /algotally for a menu of commands (the list). Plain questions work in every app, also where an app blocks a typed command.

Reference

The full details, in sections you can open. Nothing is left out. For AI tools, the same text is in llms.txt.

Setup in fullSign-in apps, API keys, and the config for Claude Code, Cursor and Claude Desktop.

Your Algotally account works from inside the AI tools you already use. ChatGPT, Claude.ai and other apps that support MCP sign-in connect with no key at all (section 0). For Claude Desktop, Claude Code, Cursor and scripts, create an API key once, paste it in, and ask the assistant to run a report. Everything a key does counts against the same market and report quota as your account — there is no separate "API plan".

Base URL: https://algotally.com

0. Connect by signing in (ChatGPT, Claude.ai)

Add a custom connector with the address https://algotally.com/mcp:

  • Claude.ai: Settings → Connectors → Add custom connector.
  • ChatGPT: Settings → Apps & Connectors → Create (with developer mode on).
  • Any other client that supports MCP authorization (OAuth 2.1 with dynamic registration or a Client ID Metadata Document) works the same way.

The app sends you to Algotally. Sign in if you aren't already, check which app is asking and where you'll be sent back, then Allow. "Let it run reports and make changes" is offered every time, ticked: leave it ticked to let the app use your quota and change account data, or untick it for read-only access. The page also asks which tools the app gets: "Latest tools, with views in the chat" (selected first) or "Classic tools" (see Classic and Latest). An app that connects at https://algotally.com/mcp/classic gets Classic. A view-only seat can only connect read-only. On a read-only connection, a tool that changes something answers with an error the assistant can pass on: disconnect the app and connect it again with changes allowed. Dry runs (dry_run: true on add_market, remove_market and swap_market) change nothing, so they work on a read-only connection too. The approval page only works in the browser the app opened it in: opened anywhere else, it says to go back to the app and connect from there.

Each connection belongs to the seat that approved it. Account & billing → Connected apps lists them (the owner and admin seats see every seat's) and disconnects one at once. Removing a seat disconnects its apps too.

1. Create an API key

Only the account owner, signed in, can create or revoke keys. A team seat can't, and a key can't create other keys — that's deliberate, so a leaked key can't multiply and a key never outlives the seat of the person who made it.

The easy way: sign in at https://algotally.com/app/, open Account & billing, and create one in the API & MCP card.

From a script, you need a session token first. Sign in with your email and password:

curl -X POST -H "Content-Type: application/json" -d '{"email":"you@example.com","password":"YOUR_PASSWORD"}' https://algotally.com/api/v1/platform/login

That returns { "session_token": "…", "account": { … } }. Then:

curl -X POST -H "Authorization: Bearer YOUR_SESSION_TOKEN" -H "Content-Type: application/json" -d '{"label":"Claude Desktop","mcp_version":"latest"}' https://algotally.com/api/v1/platform/api-keys

The curl examples here are for macOS, Linux, WSL and Git Bash. On Windows, in Command Prompt or PowerShell, type curl.exe (in Windows PowerShell 5, plain curl is a different command) and write the JSON body with escaped double quotes, e.g. -d "{\"label\":\"Claude Desktop\",\"mcp_version\":\"latest\"}".

The response contains your key once:

{ "id": 1, "label": "Claude Desktop", "key_prefix": "a1b2", "created_at": "…", "last_used_at": null, "mcp_version": "latest", "member_id": null, "key": "si_live_…", "note": "Store this key now — it is not shown again." }

Despite its name, key_prefix is the key's last 4 characters: the part you can match against the key you stored. Store the key somewhere safe. You can have up to 5 active keys (a 6th is a 409); list them with GET /api/v1/platform/api-keys (session or key) and revoke one with DELETE /api/v1/platform/api-keys/{id} (owner session only).

mcp_version is latest or classic (see Classic and Latest). Leave it out and the key is latest. To change it, signed in:

curl -X PATCH -H "Authorization: Bearer YOUR_SESSION_TOKEN" -H "Content-Type: application/json" -d '{"mcp_version":"classic"}' https://algotally.com/api/v1/platform/api-keys/1

The owner and admin seats can change any key, a member seat only its own key, and a viewer seat none (403, code: "viewer_read_only"). An API key can't change one (403, code: "session_only").

2. Add Algotally to your AI tool

The MCP endpoint is https://algotally.com/mcp (a trailing slash works too). https://algotally.com/mcp/classic is the same server with the Classic tools only, with the same keys, sign-in and limits. It expects your key in the Authorization header as Bearer si_live_… (the word Bearer in any case). A refused key says why, with a code: not_bearer (the header is missing the word Bearer before the key), session_token (a sign-in token from the app: use a key, or connect by signing in as in section 0) or unknown_key (revoked or mistyped). A request with no key gets the standard MCP sign-in challenge (401 with WWW-Authenticate pointing at /.well-known/oauth-protected-resource/mcp), which is how sign-in clients find their way. Opening the address in a browser shows what it's for.

Claude Code (one command):

claude mcp add --transport http algotally https://algotally.com/mcp --header "Authorization: Bearer si_live_YOUR_KEY"

Cursor — add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "algotally": {
      "url": "https://algotally.com/mcp",
      "headers": { "Authorization": "Bearer si_live_YOUR_KEY" }
    }
  }
}

Claude Desktop — add to claude_desktop_config.json (Settings → Developer → Edit Config). Claude Desktop reaches remote servers through the mcp-remote bridge, which passes the header for you:

{
  "mcpServers": {
    "algotally": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://algotally.com/mcp",
        "--header", "Authorization: Bearer si_live_YOUR_KEY"
      ]
    }
  }
}

Restart the app after saving. Algotally should appear in the tools list.

Then ask in plain words. You do not need command names. For example:

  • "Using Algotally, where do I start?"
  • "Run my market report for Plumbing in Houston, TX. Who do AI answers name?"
  • "What changed this week?"

A new or open question ("help", "what can you do", "where do I start") makes the assistant read your account, markets and what needs a look, then suggest 2 or 3 next steps. Each step is a sentence you can copy. It asks before it uses one of your monthly reports.

Every tool, by areaAccount and markets, reports, business facts and outcomes, Agency, business tools.

3. What the assistant can do

A tool marked Latest. is in the Latest tools only (see Classic and Latest).

Account and markets

ToolWhat it does
get_accountYour tier, access state, report quota and when it resets (reports_reset_on, e.g. "Nov 1"; a trial's reports last the whole trial), markets allowed (a trial: at most 3, and no nearby cities), trial end date and the features your plan includes. locked_tools lists the tools your plan doesn't include, with the plan that does; on a sign-in connection, connection says whether it is read-only.
list_marketsThe (industry, city, state) markets you can report on, whether each is still building, recently removed markets, your market swaps this month, and over_cap after a plan change.
add_marketAdds a market, up to your tier's cap. Any plan, the free trial included, can add any US city and trade: a market nobody covers yet is built on the spot (10–20 seconds; fair use: up to 5 new markets in any 24 hours per account). A near-miss name returns suggestions; confirm_new adds it as typed. dry_run shows what would happen: would_fail means every slot is in use, so use swap_market.
remove_market / swap_marketDrops a market, or replaces one with another in one step. Uses a market swap (you get as many a month as you have market slots). dry_run shows the cost first.
keep_marketsAfter a plan change, chooses which markets stay active.
add_nearby_city / remove_nearby_cityGrowth and Agency. A market's nearby cities (its service area). Not offered to Starter, which has none: get_account's locked_tools names them, and calling one says a second city on Starter is a $25/month add-on market.
get_rates / set_ratesYour own prices per service, which the outreach kit turns into a quote.
get_digest_preview / set_digestWhat this week's digest email would say (subject and plain text), and turning it on or off.
free_checkThe free check: does AI name a business in its market? Takes name, industry, city and state (optional when the city is in one state only), as GET /api/v1/check does, and returns the same numbers: the mention rate, the 95% range, the answer count, the AI tools and the dates (source). It names no other business. A market that is not measured yet is asked live, as on the website (a quick sample of 6 answers, about a minute): the tool waits up to about 25 seconds, then returns status: "running" with a check_id and the progress; call it again with check_id alone for the result. The same daily limits as the website apply (3 new live samples a day per account); past a limit it returns status: "limited" with the closest published market and the trial link. A city that does not exist returns the closest published markets (close_matches). Free: no report, no quota, and it follows nothing, so a read-only connection can call it.
set_prepared_byLatest. The "Prepared by" name on new share links (Growth and up to set one; null clears it). Owner or admin.
list_market_catalogLatest. Markets already measured, which add_market adds at once with no build. Filter by industry or city.
merge_businesses / list_business_merges / undo_business_mergeLatest. Counts two spellings of one business as one in your reports, watchlist and This week, lists your merges, and undoes one. Merging and undoing change report counts, so the assistant asks you first.
suggest_question / list_question_suggestionsLatest. Suggests a question for one of your markets (it goes to our review queue, never asked for one account only), and lists each suggestion with its status.
move_to_watchingLatest. Moves a followed business (id from list_followed) to the watchlist, which frees a follow slot. Its reports stay. Not on Agency.
hide_businessLatest. Hides a business you reported on once from This week and the digest until you report on it again (hidden: true), or shows it again (false).
get_share_trendLatest. Home's chart: per week, the answers that named any business you follow, over all the answers in their markets. Competitors are not counted.
list_removal_noticesLatest. Notices that a business you follow asked to be removed from our data, with the removal date.

Reports

ToolWhat it does
run_reportRuns a business report: how often AI names the business, its rank, the sites AI cites in that market and which of them AI cites alongside the business, and its week-by-week history (every plan). Spends one report run, unless no new AI answers have come in since your last run (then it reopens that one free: reused: true). Returns the top 10 sites by default; detail: "full" returns every site with its evidence.
run_market_reportRuns a market report for one industry in one city: every source AI cites there, the businesses AI answers name most, how concentrated those mentions are, what AI credits businesses with, and the market week by week (every plan). Spends one report run, or reopens free when nothing changed. Returns the top 10 sites and businesses by default; detail: "full" returns every site with its listing guide and every business row.
engine_breakdownGrowth. How often each AI engine names a business over the headline window (the same answers as the headline rate). An engine with under 15 answers has mention_rate: null (its counts kept) and rate_text: "too few answers (12)": say that, never a percentage. The same applies to engine_breakdown inside run_report and get_report.
compare_periods"This month against last" for one business: its latest completed weeks (up to 4) against the weeks before (up to 4), with each week listed. The same comparison as the trend label in a report. Free: no report quota.
this_weekThe weekly check-in for every business you follow (Agency: your active clients plus your watchlist; Growth: your watchlist plus the businesses you reported on in the last 90 days; Starter: those reported on; each business once, up to 15, not_shown counts the rest): named in X of Y answers in the latest completed week and the week before, the headline rate, the trend, open wrong facts and the one next step. Starts with a one-line summary. When a headline moved from last week's reading because its window or the questions it counts changed, not the answers, headline.move says so (reason, last, like_for_like, text), headline.window_note is that sentence, and the summary repeats it: quote it beside the rate. With the live view on (switch ui.live_view), each business has live: the rolling 7-day rate labelled "last 7 days" (the last 7 full days plus today, in US Central days) with its range, "Too few answers yet" and the count under 30 answers (in total or for one AI tool), the change label (Up, Down or No clear change), today's count and the update time; the summary lists them. Free: no report quota.
get_live_trendA stored report's trend read live: the headline and trend now, and the weeks since the report. The stored report doesn't change. Takes report_run_id or plain id. headline.move and the summary line say why the rate moved from last week's reading when the window or method did it. Free.
list_followed / follow_business / unfollow_businessThe businesses your plan follows (Agency: your client roster) and the cap. A report follows a new business. At the cap, follow_business is refused and unfollow_business makes room. Reports stay when you stop following one; on Agency it removes the roster client.
get_business / get_marketLive figures with no report made: a followed business (id from list_followed), or a held market (who AI names, and the sites AI cites).
get_watchlist / watch_business / unwatch_businessGrowth. Up to 10 businesses followed weekly, each with its latest week, rate and trend, and variants (other spellings AI uses that are probably the same business). Watching adds to this_week; it never hides the businesses you report on. Another spelling of a business already on the list is refused, and a name that isn't a business (under 3 letters or digits, or no letters) too. A name AI hasn't used in the market is still added, with named: false, a warning and did_you_mean (the closest names AI does use; a shared generic word such as "Center", "Auto" or "Repair" alone never makes a match). While AI hasn't named it, get_watchlist gives its headline.mention_rate and range as null with not_named ("Not named yet: in none of the 50 answers…"), never 0%. An empty watchlist says so in the summary line. unwatch_business takes watch_id, plain id, or business_name with the market. Free.
list_reports / get_reportLists past business reports a page at a time (id, business, market, date, and summary: the headline as saved; include_result adds each stored result; limit up to 100, default 20; pass next_before_id back as before_id), and reopens one without spending quota: the top 10 sites by default, like run_report, or every site with detail: "full". Its figures are read as of now (meta.as_of, the same numbers as this_week), with snapshot saying what it read when first run. ai_visibility.headline_move (and the summary line) says why the headline moved from last week's reading when the window or method did it.
list_market_reports / get_market_reportThe same for market reports, with the same detail choice as run_market_report. A reopened report follows your plan now.
list_scheduled_reports / schedule_report / update_scheduled_report / delete_scheduled_reportReports that run by themselves, weekly or monthly (every plan): a business report (business_name with its market, or a roster client_id) or market reports (markets: a list, or "all" for every market you hold when it runs). Setting one up is free; each run spends one report per business or market, like run_report (free when nothing is new), and lands in list_reports / list_market_reports. Out of reports, or a read-only account: that run is skipped and the schedule says why (last_status, last_error); the next date stands. update_scheduled_report changes timing, active (false pauses), notify (the "ready" email, while email is on), business_url or markets. Changing or removing one is the owner's or an admin's.
share_report / list_shares / revoke_shareMakes, lists and turns off read-only client links to a report. share_report takes report_run_id or plain id.
download_reportsA link to a zip of up to 50 reports and their toolkits: it works for 15 minutes, 3 times.
check_free_rerunLatest. Says if run_report or run_market_report would reopen the last run at no cost (free: true) or use a report (last_run says why). Free. The assistant calls it first and asks you before a run that uses a report.
check_report_siteLatest. Checks the website of a stored report now and keeps the check with that report (its Website tab). No report used.

Business facts and outcomes

ToolWhat it does
set_business_factsSaves a business's profile (website, phone, address, services, area, hours) and knowledge catalog (online booking page, price list, customer questions with answers) on every tier; price range, founding year and other facts are Growth. Fields left out keep their saved value; an empty string clears one.
get_business_factsReads a business's saved profile and facts.
check_business_factsChecks AI answers against the saved facts (every plan since 2026-09-29). Up to 5 checks per business per day.
get_fact_flagsWhat AI gets wrong about the businesses you follow, or one business: answers saying it's closed or has moved (urgent, no fact sheet needed) and the latest fact check's contradictions.
read_business_siteReads the business's own website: a draft of its facts to confirm before saving with set_business_facts, and the promises on its pages (warranty, 24/7, prices…) the saved facts don't confirm. Cached 7 days per site.
log_ai_leads / list_ai_leads / delete_ai_leadsGrowth. The AI leads log: per business and month, how many leads said they found it through an AI assistant (optional revenue and note). With a report_run_id, list_ai_leads sets each month beside that month's mention rate; an empty list carries a note saying nothing is logged yet. Never present one as causing the other.
set_competitors / delete_competitors / head_to_headGrowth. Save (or delete) up to 3 competitors the user names for a business, then compare: rate with range, rank, weeks named, trend, cited sites (counts only), over the report's headline window. Over MCP a competitor comes as counts (named_in of answers) and vs_you only, never a rate (the business itself keeps its rate). A name in no counted answer is "not found", never 0%; when other recent answers name it by its typed name (a newer question, the week still filling up, inside a table), it carries named_elsewhere (how many) and pages say "Not in the answers counted here; named in N other recent answers" instead. Comparisons are only "named more/less often" (past the noise test), "no real difference" or "too few answers".
import_first_party_csv / get_first_party_data / delete_first_party_importGrowth. Store one CSV export from the client's own Bing Webmaster Tools AI Performance report (detected from its header; 2 MB, 5,000 rows), then read the totals, weekly line, top pages and grounding queries. Always "from your own account", with the date range; never added to our mention rate.
service_gapsGrowth. "What AI thinks you do": the services stored answers tie the business to, against the services on its fact sheet and the questions asked, with the gaps it adds to the action plan. No AI call.
log_outcome / list_outcomes / delete_outcomeGrowth. Record a change you made for a business, see its measured before/after effect (proof of what worked, beyond the weekly history every plan gets), or delete one logged by mistake. Spellings of one business ("Scott's" and "Scotts") are one business. The same change (business, action, site and day) logged twice is refused with code duplicate and duplicate_of (the id already logged); update_plan_item done already logs its step. An empty list_outcomes carries a note saying nothing is logged yet.
method_changesPlanned changes of method (a new AI model, or questions added), announced a week ahead. Logged changes keep measuring on what stays the same. freeze, while set: the questions and AI models stay fixed until freeze.until (2027-01-14), so Q4 2026 reads like for like in the January quarterly review; quote freeze.text.
delete_business_factsLatest. Deletes a saved fact sheet in one market. It can't be undone, so the assistant asks you first.
dismiss_fact_flag / list_dismissed_flagsLatest. Marks one wrong-fact flag as not wrong, so it leaves Home, share links and the digest (dismissed: false brings it back), and lists the dismissed ones for a business.
set_first_party_sharingLatest. Growth. Shows or hides the imported Bing data on a business's share links.
update_outcomeLatest. Growth. Shows or hides one logged change on client share links (client_visible). To change what was logged, delete it and log it again.

Agency

ToolWhat it does
answer_evidenceThe AI answers behind a business's numbers: question, excerpt, sources.
what_worksPooled, anonymized results of the changes subscribers made.
request_marketFlag a market you want covered without adding it to your account.
list_clients / add_client / update_client / delete_clientThe client roster. add_client with status prospect adds a business you're pitching.
client_status / run_client_reportsMonitoring (by default per client: name, market, status, named_in of answers, rate, window_label, trend label and how many things need a look, with a summary line; detail: true adds ranges, weeks, the trend's sides, attention reasons and site alerts), and one report per active client as a background job (no cap at 25): the first few run at once, the rest within minutes. Each uses one report; the job stops, marking the rest skipped, when reports run out.
client_report_jobA bulk job's progress ("12 of 30 done") and each client's result, or the latest jobs. Free.
quarterly_reviewAgency. One client's quarterly review from one of its report runs (report_run_id): this quarter against the last, like for like (only the AI engines and questions asked in both), with each side's window_label, rate and range (null under 10 answers), the market-adjusted verdict or why there's none yet and readable_on, rank against the top 3, per-engine rates (null under 15 answers), the method changes inside either quarter, work done and next quarter's steps. Each side's left_out / left_out_text names the completed weeks its figure doesn't count and why (under 10 answers, or asked on the earlier AI models or questions, naming the change), and mixed_methods says when a side's rate counts weeks asked different ways with nothing keeping it like for like: quote them with the rate. note comes with note_heading ("A note from <agency>" or "A note"), method_freeze while the freeze holds, and agency_hints (set branding, save competitors, which review to choose): for the user, never for the client's page or text. Default: the latest calendar quarter; quarter ("2026-Q3") or this_from/this_to/last_from/last_to for others. Free.
actions_vs_rateFor quarterly reviews: per active client, the steps done and changes logged in a period, and the rate during it against as many weeks before, like for like and against the market's own move. Free.
needs_attentionActive clients that need a look this week: passed in rank, dropped by an engine, a real fall, a site problem or a new wrong fact. Returns { clients, note }: with none, note says why ("None of your 8 active clients can be compared yet; first reading Oct 19" is not "all fine"). Free.
export_marketA market's businesses or sites as CSV or JSON. Free: no report quota.
export_weeklyA time series for Looker Studio or a sheet: one row per business × week × engine (answers, named_in, rate with its likely range, partial and method-change flags, and whether it's on your roster or watchlist), one market or all of yours. Free.
get_branding / set_brandingWhite-label name, logo and colour on share and plan links. Only the fields you pass change; null or "" clears one. logo_base64 uploads a PNG, JPEG or WebP file (up to 512 KB) as the logo, as the app's upload does.
list_membersWho else can sign in. Adding or removing a seat needs the owner or an admin seat signed in to the app.
list_market_requestsLatest. The markets you asked for with request_market, and whether each is live, waiting or declined.
prefill_client_websitesLatest. Fills empty roster websites from stored facts and reports. No report used.
get_client_autorun / set_client_autorun / delete_client_autorunLatest. The monthly auto-run of every active client's report on one day of the month. It uses one report per active client every month, so set_client_autorun asks first: without confirm: true it saves nothing and shows what runs, the first date and the reports a month. The assistant calls again with confirm: true only after you say yes. Owner or admin to change.
get_report_notes / set_report_noteLatest. White-label. The notes in a month's client reports (a default and per client), with last month's beside each. A note goes out in client emails and links. Owner or admin to write.
get_quarter_notes / set_quarter_noteLatest. The notes in a quarter's client reviews, the same way. Owner or admin to write.
list_client_schedules / set_client_schedule / delete_client_schedule / send_test_client_reportLatest. Client report emails (not schedule_report, which runs your own reports): weekly or monthly, to the client's own recipients. set_client_schedule emails people outside your account, and send_test_client_report sends an email, so both ask first: without confirm: true they save and send nothing. The schedule preview shows the recipients, the first send and the reports it uses; the test preview shows who gets it (you only), the subject and which report. The assistant calls again with confirm: true only after you say yes. active alone pauses (no yes needed) or resumes (needs confirm: true); rerun runs a new report before each send. A read-only connection or a view-only seat cannot use these tools, with or without confirm. Owner or admin.
get_custom_domain / add_custom_domain / check_custom_domain / remove_custom_domainLatest. Your own hostname for share links (e.g. reports.example.com): its status and the DNS records to add, a new DNS check, and removing it (the assistant asks first). Owner or admin to change.

Business tools. Each works on one report (report_run_id from run_report), stays open for 60 days after the report, and never spends report quota.

ToolWhat it does
get_outreach_kitFirst email, follow-up and "what I found" summary for a prospect, written only from the report's findings, plus the work found, published market rates for reference and a quote in your own rates. You send it from your own email.
get_leads_kitHow to count AI leads: a GA4 channel for AI assistants, a "How did you hear about us?" list, call notes and contribution-not-causation wording. Every plan.
get_review_kitWhere to ask customers for reviews (the review sites AI cites in the market, plus Google), messages to send, and the rules to follow.
get_listing_kitEach directory AI cites that it doesn't cite alongside the business, how to claim it, and copy to paste.
get_fix_packageWebsite files for the checks the site failed, with install steps.
get_pitch_draftsA pitch per local-news or "best of" site AI cites. Starter: the top outlet on every report. Growth: all.
get_action_plan / update_plan_itemThe steps in order, and marking them done or skipped. get_action_plan takes priority (top, more, verify) and limit (the first n steps), with items_total and items_shown. On Growth, done logs an outcome so results are measured. update_plan_item returns the step (with its outcome_id), the plan's counts and the next step; return_plan: true returns the whole plan.
get_correction_kitGrowth. FAQ text and listing fixes for what the fact check found AI getting wrong.
get_attribute_gapAgency. Qualities AI credits competitors with but not this business, checked against its facts.
write_prospect_outreachAgency. Outreach drafts for every prospect on your roster with a recent report, up to 10 new ones per call.
check_client_sitesAgency. Checks roster clients' websites now (also weekly) and lists alerts.

A tool that takes an id (report_run_id, outcome_id) also accepts it as plain id, the name the list tools return it under. A fact check's schedule reads "Runs when check_business_facts is called" over MCP (the app's "press Check"). The connection's instructions list only the tools the plan includes.

Drafts are written once and stored; refresh rewrites one, up to 3 times. A draft written before the business's facts changed comes back with stale: true when it can't be rewritten.

The assistant is only shown the tools your plan includes; get_account names the others. One of them called anyway (an app that cached an older list, or you naming it) answers with the upgrade message below rather than an error about the tool. After an upgrade, the new tools appear once the assistant calls get_account or reconnects.

Every tool is marked read-only, write or destructive (MCP tool annotations), so a client can run read-only ones without asking and confirm destructive ones (removing or swapping a market, revoking a share, deleting a client or an outcome) first. Results are compact JSON; the main tools put a one-line summary first. In a full report, a site's action is left out where it would repeat its listing_guide.how. Rates are shares of AI answers from 0 to 1, always with how many answers they rest on; a verdict of too_few_answers means there isn't enough data to call a change, and within_noise means the change is smaller than run-to-run variation. Market names match ignoring case ("houston", "party rentals").

Tier-limited tools answer with the plan that includes them, its price and your current plan, e.g. "Available on Growth ($99/month). Your plan is Starter. Upgrades open at launch." before billing opens, and "Upgrade to Growth ($99/month) to use this. Your plan is Starter. To upgrade, go to Account & billing → Billing in the app: …" after it, with code feature_locked. Prices are plus applicable sales tax. The same message and code come back as HTTP 402 from the REST API. While billing isn't live a trial doesn't end (get_account shows trial_paused: true). When your trial has ended or your plan is canceled, the account is read-only: reading tools keep working, and tools that spend (reports, new markets, AI drafts, share links, facts checks, downloads) answer with an error mentioning plan_inactive. get_account shows which state you're in.

Try: "Run an Algotally report for [a business in one of my markets] and tell me the three most important places it's missing." Then: "Write the outreach kit for it."

Views in the chat (MCP Apps)

Latest only.

These apps show views: Claude on the web and Claude Desktop, ChatGPT, VS Code and Goose. These show the text answer only: Claude mobile, Cursor and other clients with no MCP Apps support. A view never removes the text answer: the assistant gets the same text, with or without a view.

In an app that shows views, these tools also show a small view in the chat. The view shows the same figures as the text answer, each rate with its weeks. Its buttons call the same tools, with the same plan, seat and connection rules.

ToolViewWhat you can do in it
run_report, get_reportBusiness report: the rate, rank, trend, weekly line, engines and the sites AI citesMark a plan step done, make a share link, open the report in Algotally
this_weekThis week: each followed business with its rate and trendOpen a business's report, watch a business (Growth and Agency)
free_checkFree check, with the live progress for a market nobody measures yetGet the full report (sign-up)
run_market_report, get_market_reportMarket report: the businesses AI names most and the sites it citesAsk for a business's report, watch a business (Growth and Agency)
client_status, needs_attentionClients (Agency): the roster, and what needs a lookRun reports for the clients you choose (asks first)

An app that does not show views gets the text answer, the same as before. A read-only connection or a viewer seat sees the views without the buttons that change something. A view loads nothing from other sites and opens only Algotally pages.

Where the app has a larger mode, Expand in the view's top line opens it full screen or in the side panel (the app chooses which), with every row: all plan steps, the engine table with ranges, a week table, every business and site in a market, every client with its reasons. Back to the chat puts it back in the chat.

The five views, as Claude shows them:

Business report view: rate, rank, trend and the sites AI cites

This week view: each followed business with its rate and trend

Free check view, with the live progress for a new market

Market report view: the businesses AI names most and the sites it cites

Clients view (Agency): the roster and what needs a look

The /algotally commands and skillsA shortcut for power users, and the skills for Claude Code. Plain questions work in every app.

Commands: type /algotally

Latest only. A shortcut for power users. You do not need it: plain questions work in every app, and some apps block a typed command (Claude Desktop does).

Type /algotally in your AI app to see every command your account can run, then pick one. The list only shows what your plan, your seat and the connection allow (a read-only connection sees only the commands that read).

CommandWhat it doesExample
helpEvery command your account can run, with an example of each./algotally help
this-weekThe weekly check-in: each followed business, named or not, its rate and trend./algotally this-week
free-checkThe free check: does AI name a business in its market? No report and no quota are used./algotally free-check Acme Plumbing, plumbing, Houston TX
reportRuns a business report, or reopens this week's one free./algotally report Acme Plumbing
market-reportThe businesses AI answers name in a market and the sites they cite./algotally market-report Plumbing in Houston, TX
add-marketAdds a market: one trade in one city (it says what would happen first)./algotally add-market Plumbing Jamestown, NY
swap-marketReplaces one of your markets with another, after you confirm./algotally swap-market Plumbing in Houston, TX → Roofing Austin, TX
nearbyAdds a nearby city to a market's service area (Growth and Agency)./algotally nearby Plumbing in Houston, TX Katy
watchAdds a business to your watchlist (Growth and Agency)./algotally watch Summit Plumbing
clientsEvery client now, and the ones that need a look this week (Agency)./algotally clients
scheduleRuns a business or market report every week or month./algotally schedule Acme Plumbing weekly
planThe steps to raise a business's AI visibility, from one of its reports./algotally plan Acme Plumbing
accountYour plan, reports used and left, markets, and what the plan includes./algotally account

How each app shows them:

  • Claude Code lists them in the / menu as /algotally:<command> (MCP), for example /algotally:report. As you type an argument, cities ("Jamest" → "Jamestown, NY"), trades (including specialties like "Transmission · Auto repair"), your markets and your businesses are suggested. To connect: claude mcp add --transport http algotally https://algotally.com/mcp, then type /algotally.
  • Cursor lists them when you type / in the chat.
  • Claude.ai and ChatGPT have no command menu for connected apps. Type /algotally (or "algotally help") as a message: the assistant calls list_commands and shows the list. Then type /algotally report Acme Plumbing and it runs that command.
  • Claude Code plugin (coming soon). The same commands as skills, /algotally:<command>, with the server set up for you:

`` /plugin marketplace add Algotally/algotally-plugin /plugin install algotally@algotally ``

Skills for Claude Code

The workflow skills use Latest tools.

The commands above and the workflow skills come as Claude Code skills: one folder each, with a SKILL.md that gives the steps. The workflow skills do a task of several steps in order, and check each result before the next step:

SkillWhat it does
onboard-clientSet up a new client from start to end: roster, market, first report, competitors, schedule, share link.
monthly-reviewThe monthly review of every client: who needs a look, this month against last, the next steps.
fix-my-listingFix what AI gets wrong or misses about a business: wrong facts, missing listings, reviews.
weekly-checkThe weekly check-in, with a closer look at the business that moved most.
reading-the-numbersHow to read and quote Algotally numbers: rates, ranges, windows, trend labels, what not to say.

To install:

  1. Connect Algotally to Claude Code with an API key (section 2).
  2. Download algotally-skills.zip and unzip it.
  3. Copy the folders in skills/ to ~/.claude/skills/ (every project) or .claude/skills/ (one project), then start a new Claude Code session.
Plain HTTP (REST API)Every route under /api/v1/platform, with the same key.

4. Plain HTTP, if you'd rather script it

The data routes accept either the key or a session token, so a shell script or a custom GPT action works the same way. The exceptions are creating and revoking keys, which need the owner's session, and adding, changing or removing seats, which need the owner or an admin seat signed in (403, code: "owner_only", otherwise).

curl -X POST -H "Authorization: Bearer si_live_YOUR_KEY" -H "Content-Type: application/json" -d '{"business_name":"Acme Plumbing","industry":"plumbing","city":"Houston"}' https://algotally.com/api/v1/platform/reports

All bodies are JSON. Everything is under /api/v1/platform.

# Signing in (no credential needed)
GET  /plans                       # tiers, prices, quotas and features  → { plans: [...] }
GET  /markets/catalog             # markets already measured (the signup picker) → { markets: [{ industry, city, state }] }
POST /signup   { email, tier?, industry?, city?, state?, utm_source?, utm_medium?, utm_campaign?, referrer? }
               # { message, email_on, sign_in_url? } — the same reply whatever happened, so it says nothing about
               # which addresses have accounts. A new address gets a link to confirm it; an address
               # that already has an account gets a link to choose a new password instead.
               # A new account starts a 14-day trial of the tier chosen (default starter), with 3
               # reports. The utm_* fields and referrer record where a signup came from. While
               # sign-ups are closed (GET /plans says signup_open) nothing is created. sign_in_url only
               # while sign-in emails are off, and only for an account this request created.
               # One person gets at most 10 emailed links (sign-up, reset, invite) a day; past that
               # the reply is the same and nothing is sent.
POST /login    { email, password }  # → { session_token, account, purpose: "password", needs_password: false }
               # 401 invalid_credentials for every failure; 429 locked after 10 wrong passwords
               # in 15 minutes from one IP, or 100 in a day from every IP (a reset link still works).
POST /password/forgot { email }     # { message, email_on } — a link to choose a new password, if the address has an account
POST /verify   { token }            # redeem an emailed link → { session_token, account, purpose, needs_password }
               # purpose: "verify" (new account), "reset", "invite" (a team seat) or "signin" (older links).
               # GET /verify?token= only redirects to the app's verify page.
POST /verify-code                   # 410: sign-in codes are retired
# Session only
POST /password { new_password, current_password? }
               # current_password isn't needed when there's no password yet, or within 30 minutes of
               # an emailed link. 10-128 characters, not the address, not in a known breach. Ends
               # your other sessions. Replacing a password (a reset or a change, not a first one) also
               # ends your connected AI apps (MCP OAuth grants) and unlinks your Google sign-in; API keys
               # keep working. Then → { ok, replaced: true, sessions_ended, connected_apps_ended,
               # google_unlinked, api_keys } (api_keys: the owner's active keys to review; [] for a seat).
               # A first password → { ok: true }.
POST /invite/decline                # a seat turns its invite down (before accepting): the seat is removed
               # Until a seat accepts (chooses its password), its invite link's session works only for
               # GET /account (invite_pending: true), POST /password, POST /invite/decline and the two
               # logouts; anything else answers 401.
POST /logout                      # ends this session
POST /logout-all                  # a seat: ends its own sessions → { ok, sessions_ended }. The owner: ends
                                  # everything → every session on the account, every API key, every connected
                                  # AI app (MCP grant) and every Google link → { ok, sessions_ended,
                                  # api_keys_revoked, connected_apps_ended, google_unlinked }

# Account
GET   /account                    # tier, access, trial_paused, quota, features, trial_ends_at, digest_enabled,
                                  # prepared_by, is_owner, role, member_email, nearby_cities_allowed,
                                  # addons { market_price, market_max, white_label_price, white_label },
                                  # password_set, invite_pending (a seat not yet accepted), email_on
PATCH /account   { prepared_by?: string | null, account_type?: owner|freelancer|agency }
                                  # default "Prepared by" on share links (Growth); the app's wording

# Markets
GET  /markets                     # { count, markets, removed_markets, swaps, over_cap }
POST /markets    { industry, city, state?, confirm_new?, dry_run? }
                 # → { action, market, matched_from, seed, markets, count }; 201 when added.
                 # action: already_held | granted | seeded | building | would_grant | would_seed.
                 # state is required for a market nobody covers yet.
POST /markets/remove  { industry, city, dry_run? }
POST /markets/swap    { remove: { industry, city, state? }, add: { industry, city, state?, confirm_new? }, dry_run? }
POST /markets/keep    { markets: [{ industry, city }, …] }
POST /markets/nearby  { market: { industry, city, state? }, city, confirm_new?, dry_run? }
                 # Growth and Agency (not during a trial): a nearby city within about 40 miles of
                 # the market's city, measured at up to 22 answers a week. → { action, distance_miles, … };
                 # distance_miles is null only when the market's own city can't be placed. Further
                 # away: 400 (dry_run: action would_fail with the reason). A name the Census places
                 # list can't place in the state ("North Dallas", "Fakeville"): 400 code unknown_place
                 # with suggestions (dry_run: would_fail with reason and suggestions).
POST /markets/nearby/remove  { market: { industry, city, state? }, city, dry_run? }

# Reports (each run spends one report)
POST /reports          { business_name, industry, city, state?, business_url? }
                       # → the report plus report_run_id, reports_used_this_period, reports_allowed_per_period
GET  /free-rerun       # ?kind=business|market &industry= &city= [&state=] [&business_name= &business_url=]
                       # would running it now reopen the last run for free? Spends nothing.
                       # → { free: true, report_run_id, run_at } | { free: false, last_run } (null when none)
GET  /reports          # ?limit= (default 20, max 100) &before_id= &include_result=1
                       # → { count, total, reports, next_before_id }; newest first, next_before_id is
                       #   null on the last page. Each row: id, business_name, business_url, industry,
                       #   city, state, run_at, run_by, and summary { named_in, answers, mention_rate,
                       #   rank }: the headline as saved (null on some runs from before 2026-11-07).
                       #   CHANGED 2026-11-07: rows no longer carry result_json and site_health_json
                       #   unless you pass ?include_result=1 (then as JSON strings, as before). For a
                       #   report's figures as they read now, use GET /reports/:id.
GET  /reports/:id      # reopen one stored business report (free), gated for your plan now. Read
                       # as of now: headline, rank, weeks, engines, sites, evidence and fact check
                       # are rebuilt from the stored answers (meta.as_of), the numbers this-week and
                       # share links show; meta.run_at is when it was first run, and snapshot
                       # { run_at, named_in, answers, mention_rate, rank, rank_of, window_label, text }
                       # what it said then. fact_check is the latest check as it stands now (dismissed
                       # and stale claims out), with schedule { weekly, last_checked_at, next_check_on,
                       # text } and dismissed_claims. ?snapshot=1: the report exactly as saved
GET  /reports/:id/live # the report's trend read live (uses no report; the stored report doesn't change)
                       # → { report_run_id, report_run_at, report_through, held, business_name, live }
                       #   live { named, headline, change, change_line, weeks, since_report } is null when
                       #   the market isn't held now; 404 if no such report
POST /market-reports   { industry, city, state? }
GET  /market-reports   # { count, reports: [{ id, industry, city, run_at }] }, newest 200
GET  /market-reports/:id

# Share links and digest
POST   /reports/:id/share          { prepared_by?, days? }   # → 201 { id, url, expires_at }
                                   # prepared_by is Growth and up: on Starter the link is made
                                   # without it, with a `note` saying so
POST   /market-reports/:id/share   { prepared_by?, days? }

# Scheduled reports (every plan)
GET    /report-schedules  # scheduled business and market reports → { email_on, schedules }; filters:
                          # ?kind=business|market, client_id, business_name, industry, city, state
POST   /report-schedules  { kind: business|market, frequency: weekly|monthly, day, notify?, active?,
                          #   business: business_name + industry, city, state? (or client_id), business_url?
                          #   market: markets: "all" | [{ industry, city, state? }] (up to 25) }
                          # → 201 + the schedule. First run: the next matching day after today. Each run
                          # spends one report per business or market (free when nothing is new) and lands in
                          # /reports or /market-reports; out of reports or read-only, that run is skipped with
                          # last_status: skipped and the reason in last_error. Up to 50 per account. Owner or admin
GET    /report-schedules/:id
PATCH  /report-schedules/:id  { frequency?, day?, active?, notify?, business_url?, markets? }   # pausing
                          # (active: false) and notify: false work on a read-only account. Owner or admin
DELETE /report-schedules/:id  # reports it ran stay. Owner or admin
POST   /reports/:id/plan/share     { prepared_by?, days? }   # Agency: white-label plan link
GET    /shares                     # { shares }
DELETE /shares/:id
GET    /digest/preview             # { digest } — null when there's nothing to report
GET    /this-week                  # free "This week" card: { current_week, account_type, businesses, not_shown? },
                                   # each followed business's latest week, headline, trend and next step
                                   # With the live view on (switch ui.live_view): live_view: true, and each
                                   # business has live: { window_label: "last 7 days", answers, named_in,
                                   # enough_answers, mention_rate, mention_rate_range, rate_line, range_line,
                                   # change: { verdict: up|down|no_clear_change, label }, today: { answers,
                                   # named_in, text }, engines: [...], trend: [28 days], updated_at, updated_text }.
                                   # A 7-day period is the last 7 full days plus today so far, in US Central days.
                                   # Under 30 answers (in total, or for one AI tool): no rate, "Too few answers yet".
                                   # Up or Down only when the change from the 7 days before clears the noise test.
                                   # Report rates keep their window_label ("last 4 weeks, since …"). Off: no live fields.
GET    /markets/:id/live           # live view (switch on): { market_id, market, today_answers, week_answers,
GET    /markets/live?industry=&city=&state=   # enough_answers, updated_at, updated_text, businesses: the followed
                                   # businesses' live figures }; &business= adds business: that one business's.
                                   # 404 with the switch off or a market you don't hold. Every plan.
GET    /live/followed              # live view (switch on): { businesses: [{ business_name, industry, city, state,
                                   # source }] } — the businesses you follow, for the business page. 404 off.
GET    /clients/attention          # Agency: { clients, summary: { clients, comparable, first_reading, text } }
GET    /method-changes             # { upcoming, recent, note, freeze }: planned changes, plus recent ones your markets' answers show (negative ids); freeze { until, quarter, text, short } while the method freeze holds, else null
POST   /digest   { enabled: boolean }
POST   /question-suggestions   { industry, city, state?, question }   # suggest a question for a market you hold
                                   # (any tier) → 201 { ok, note }; it goes to review, never run for one account.
                                   # 409 already asked or waiting; 429 the daily or waiting-for-review limit

# Watchlist (Growth): up to 10 businesses with live weekly figures
GET    /watchlist                  # { businesses: [{ id, business_name, market, named, latest_week, week_line, … }] }
POST   /watchlist   { business_name, industry, city, state? }   # in one of your active markets
                                   # → 201 { id, named, matched_as?, warning?, did_you_mean? }; 409 full or already on it
DELETE /watchlist/:id              # 404 if it isn't on your watchlist

# Business facts, rates, outcomes
PUT  /facts    { business_name, industry, city, website_url?, phone?, address?, services?, service_area?,
                 hours?, booking_url?, prices?: [{ service, price }], faqs?: [{ question, answer }],
                 price_range?, year_founded?, other_facts? }
               # fields left out keep their value; "" clears one, year_founded: null clears it.
               # prices (up to 50) and faqs (up to 30) replace the saved lists; [] clears them.
               # price_range, year_founded and other_facts are Growth.
GET  /facts?business_name=&industry=&city=
POST /facts/check   { business_name, industry, city }   # 5 model checks per business per day; also re-run weekly on its own
                    # (paid, non-test accounts); the response adds schedule: "Checked weekly · last Oct 12 · next Oct 19"
POST /facts/dismiss { business_name, industry, city, state?, claim, field? }   # "that's right too": hides one contradiction everywhere (404 if the latest check has no such claim);
                    # it stays hidden when a later check rewords the same value (same field, same address/phone/year…)
DELETE /facts/dismiss { business_name, industry, city, state?, claim, field? }   # undo a dismissal → { undone: true } (404 if nothing was dismissed under those words)
GET  /facts/dismissed?business_name=&industry=&city=&state=   # { dismissed: [{ field, claim, dismissed_at }] }, newest first
                    # DELETE /facts also clears the business's dismissals in that market
GET  /facts/from-site?business_name=&industry=&city=&state=[&url=][&refresh=1]   # every tier: reads the business's
                    # own site (url, else the fact sheet's website, else the latest report's) → { url, status, pages,
                    # draft, claims, unconfirmed, cached }: a fact-sheet draft to confirm (nothing is saved) and claims
                    # the facts don't confirm. Cached 7 days per site; 400 code no_website; 429 on too many fresh reads
GET  /fact-flags[?business_name=&industry=&city=&state=]   # open closure and wrong-fact flags for the businesses
                    # you follow, or one → { businesses, checked, pending }
GET|PUT /rates      { rates: [{ service, amount | null }] }   # GET adds services and disclaimer
POST   /outcomes    { business_name, industry, city, action, host?, note?, done_on? }   # Growth → 201 { id }; the same change again (any spelling of the business) → 409 { code: "duplicate", duplicate_of }
GET    /outcomes    # { count, outcomes }
PATCH  /outcomes/:id   { client_visible: boolean }   # Growth: show or hide it on client share links → { id, client_visible }
DELETE /outcomes/:id   # also puts the plan step it ticked back to todo
GET    /leads?business_name=&industry=&city=&state=   # Growth AI leads log (all filters optional) → { count, entries }
POST   /leads   { business_name, industry, city, state?, month: "YYYY-MM", ai_leads, revenue?, note? }
                # Growth → 201 the entry; one per business and month: sending a month again replaces it
DELETE /leads/:id      # → { deleted, id }; works on a read-only account too
GET    /reports/:id/leads   # that report's business: { entries, beside_trend } (the log beside its monthly mention rates)
GET|PUT|DELETE /competitors   { business_name, industry, city, state?, competitors?, show_names? }   # Growth head-to-head list (GET and DELETE: query params; state only when the city is held in more than one)
                # GET → { competitors, show_names, updated_at }; PUT replaces the list (up to 3 names)
GET    /reports/:id/head-to-head   # Growth: the report's head-to-head as of when it ran, with its saved competitors
                # → { competitors, show_names, updated_at, head_to_head }
GET    /first-party/imports?business_name=&industry=&city=&state=   # Growth (filters optional) → { count, imports }
POST   /first-party/imports   { business_name, industry, city, state?, csv, filename?, date_from?, date_to? }
                # Growth: one Bing Webmaster Tools AI CSV export (csv is the file's text;
                # date_from/date_to for files that carry no dates; the file up to 2 MB) → 201 the import
DELETE /first-party/imports/:id   # → { deleted, id }; works on a read-only account too
PUT    /first-party/share   { business_name, industry, city, state?, show_on_links: boolean }   # Growth → { show_on_links }
GET    /reports/:id/first-party   # Growth → { imports, summary, show_on_links, how_to, expected_files }
GET    /reports/:id/service-gaps  # Growth "what AI thinks you do": { business_name, services, named_for, gaps,
                # unlisted, listed_services, … } from stored answers against the fact sheet; no AI call, cached a day
POST   /merge-requests   { industry, city, state?, from_name, into_name }   # "these are the same business":
                         # counted as one for your account at once (reports, watchlist, this-week,
                         # live trends, the digest) and checked by hand for the shared data → 201
GET    /merge-requests   # { merges }: your own
DELETE /merge-requests   { industry, city, state?, from_name }   # undo one (and withdraw its request)

# Business tools: :id is a report_run_id from the last 60 days; none use report quota
GET   /reports/:id/tools/outreach-kit   # { drafts, pricing }; ?drafts=0 read only, ?refresh=1 rewrite
GET   /reports/:id/tools/listing-kit
GET   /reports/:id/tools/review-kit     # { sites, ask_on, templates, rules, yelp_note, note }
GET   /reports/:id/tools/leads-kit      # every plan, no AI call: { analytics, form, calls, wording, log, note }
GET   /reports/:id/tools/fix-package
GET   /reports/:id/tools/pitches        # ?drafts=0, ?host=chron.com, &refresh=1
GET   /reports/:id/tools/correction-kit # Growth; ?drafts=0, ?refresh=1
GET   /reports/:id/tools/attribute-gap  # Agency
GET   /reports/:id/plan                 # items[].tail + tail { count, text }: the collapsed "other sites AI cites" group
PATCH /reports/:id/plan/:item_key       { status: todo|done|skipped }
GET   /reports/:id/download             # one report's toolkit as a zip
POST  /reports/download                 { report_run_ids: [..up to 50] } → zip, or 202 { job_id, status: 'queued', poll } when built in the background
GET   /reports/download/jobs            # the account's last 10 background zips, newest first: id, status (queued|ready|failed|expired), reports, created_at, ready_at, expires_at, filename, error (2026-11-07)
GET   /reports/download/jobs/:id        # one background zip: job_id, status (queued|ready|failed|expired), filename, error. A built zip past its 24 hours reads expired (was failed before 2026-11-07)
GET   /reports/download/jobs/:id/file   # a ready zip's file, for 24 hours after it's built
GET   /reports/download/preflight?ids=1,2  # up to 10 ids: each report's drafts before a download: outreach written|stale|missing, pitches { written, open } (2026-11-07)
GET   /downloads/:token                 # a download_reports link; the token is the credential. Opens 3 times, then 404

# API keys
POST   /api-keys   { label?, mcp_version? }   # owner session only → 201 with the key, once (mcp_version: latest unless classic)
GET    /api-keys                # { count, keys: [{ id, label, key_prefix, created_at, last_used_at, mcp_version, member_id }] }
PATCH  /api-keys/:id   { mcp_version }   # signed in: owner and admin any key, a member its own, a viewer none → the key
DELETE /api-keys/:id            # owner session only
POST   /api-keys/revoke-all     # owner session only: every active key stops working → { revoked }

# Growth and up
GET    /engines?business_name=&industry=&city=     # per-engine breakdown over the headline window (`engine_breakdown`)

# Agency tier
GET    /evidence?business_name=&industry=&city=&limit=   # the AI answers behind the numbers
GET    /export?industry=&city=&dataset=businesses|sites&format=csv|json   # free: no report quota
GET    /export?dataset=weekly&format=csv|json[&industry=&city=&state=]   # see "Weekly export" below
GET    /insights          # pooled "what works", your own logged changes (own_outcomes), site signals
POST   /market-requests   { industry, city, state }
GET    /market-requests   # your own requests → { requests: [{ industry, city, state, requested_at, status: live|waiting|declined }] }
GET    /clients           # { clients }
POST   /clients           { business_name, industry, city, business_url?, notes?, status? }
                          # → { id, business_url, website_prefilled }: with no business_url, the site
                          #   the market's data has as the business's own is filled in
POST   /clients/prefill-websites   # fills business_url for roster entries without one → { filled, still_missing }
PATCH  /clients/:id       { status?: active|paused|churned|prospect, business_name?, notes?, business_url? }
DELETE /clients/:id
GET    /clients/export    # the roster as a CSV file, with each entry's current standing (free)
GET    /clients/schedules # scheduled client report emails → { email_on, schedules }
PUT    /clients/:id/schedule   { frequency: weekly|monthly, day, recipients, rerun?, note?, reply_to?, active? }
                          # day 1-7 (Mon-Sun) weekly or 1-31 monthly; recipients up to 5 emails; rerun runs a
                          # new report before each send (1 report each). → the schedule. Owner or admin
PATCH  /clients/:id/schedule   { active: boolean }   # pause or resume → { ok, active }; 404 if none. Owner or admin
DELETE /clients/:id/schedule   # 404 if none. Owner or admin
POST   /clients/:id/schedule/test   { note?, month_note? }   # the email as the client would get it, from the latest
                          # report on file (never runs one), to your own sign-in email → { sent: true, to } or
                          # { sent: false, reason, to, preview }. Owner or admin; 429 when sent too often
GET    /clients/status        # monitoring: where each active client stands (free)
POST   /clients/bulk-report   # queues one report per active client (202 + the job); include, client_ids,
                              # missing_only, skip_not_named narrow it. One job at a time: a second
                              # POST while one runs returns that one (200, already_running: true)
GET    /clients/bulk-jobs     # { jobs }: the latest 5
GET    /clients/bulk-jobs/:id # { status: queued|running|done, total, done, failed, skipped, remaining,
                              #   progress_text, items: [{ client_id, status, report_run_id, error }] }
GET|PUT|DELETE /clients/autorun   { day: 1-31, active?, include_not_named? }   # monthly auto-run
                              # → { autorun: { day, active, include_not_named, last_run_month, last_job_id,
                              #   next_run_on } } (null when none); PUT and DELETE: owner or admin
GET|PUT /clients/report-notes ?month=YYYY-MM | { month, client_id? (none: the default), note }
                              # white-label (Agency, or Growth's add-on). GET → { month, default_note,
                              #   last_month_default, clients: [{ client_id, note, last_month_note }] }; PUT: owner or admin
GET    /clients/period-review?from=&to=[&format=csv]   # actions → rate change; default (no from): the most recent
                              # readable period, the latest weeks measured the same way split in two (at most 13
                              # during), and `covers` says which weeks. Same rules as the trend (comparable
                              # weeks, 10+ answers a side), else "Can't tell yet (n=…)"; first_readable_on says
                              # when the period (or the default view) can first be read
POST   /reports/:id/monthly/share   # the client's monthly report as a white-label link
GET    /reports/:id/quarterly ?quarter=2026-Q3 | ?this_from=&this_to=&last_from=&last_to= [&note=draft]
                              # the client's quarterly review (Agency only; Growth's white-label add-on
                              # gets 402: it keeps the monthly report). { review, text, html }: this
                              # quarter vs last like for like, rank, engines, work done, next steps. Free.
POST   /reports/:id/quarterly/share  { quarter? | this_from, this_to, last_from, last_to; days? }
                              # the review as a white-label link (kind "quarterly"); the periods are
                              # fixed on the link (default: the latest quarter as of today)
GET|PUT /clients/quarter-notes ?quarter=2026-Q4 | { quarter, client_id? (none: the default), note }
                              # Agency only. GET → { quarter, default_note, last_quarter_default,
                              #   clients: [{ client_id, note, last_quarter_note }] }
POST   /clients/outreach-kits # outreach drafts for prospects (or client_ids), up to 10 new per call
POST   /clients/site-check    # check active clients' websites now
GET|PUT /branding         { display_name, logo_url (https), accent_color (#rrggbb) }
                          # PUT changes only the fields sent; null or "" clears one
                          # white-label (Agency, or Growth's add-on); PUT: owner or admin
POST   /branding/logo     # the image as the body (Content-Type image/…) or a multipart "file" field: PNG, JPEG
                          # or WebP up to 512 KB (413; 415 for SVG or another type), set as logo_url → the branding.
                          # Owner or admin; 429 after a few uploads a minute
GET    /custom-domain     # Agency: share links on your own domain → { configured, cname_target, domain, notify_requested }
POST   /custom-domain     { hostname }   # one per account → 201 the same view. Owner or admin
POST   /custom-domain/check   # ask Cloudflare for its current state, and look up the TXT record → the view. Owner or admin
                          # A domain is served only once the account's own TXT record is found: name
                          # _algotally-verify.<host>, value in domain.records ("Proves the domain is yours.").
                          # status: pending | pending_verification (CNAME fine, TXT missing; not served) | active | failed
POST   /custom-domain/notify  # while custom domains aren't switched on: the account's email goes on the waitlist
DELETE /custom-domain     # → the view; 404 if none. Owner or admin.
                          # 503 code not_set_up when the server has no custom domains; 502 if Cloudflare fails
GET    /members           # { members }
POST   /members { email, role?: admin|member|viewer }   DELETE /members/:id   # owner or an admin seat, signed in
                          # (not an API key), else 403 owner_only. POST → 201 the seat, plus invite_sent
                          # while sign-in emails are on (the invite was emailed), or invite_url and
                          # invite_expires_at while they're off
POST   /members/:id/invite   # the invite again. Email on: emailed → 200 { email, invite_sent, retry_after_seconds? }
                          # (retry_after_seconds when one went in the last minute). Email off: a new
                          # single-use, 7-day link → 201 { email, invite_url, invite_expires_at }. Owner or admin seat, signed in
PATCH  /members/:id       { role: admin|member|viewer }   # → { ok }; you can't change your own role (400).
                          # Owner or admin seat, signed in

# AI app connections (session only: a person signed in, not an API key → 403 session_only;
# 503 oauth_not_configured when sign-in for AI apps isn't set up)
GET    /oauth/consent?handle=   # the consent page's details → { handle, clientName, clientDomain, redirectHost,
                          # redirectIsLoopback, scope }; 404 consent_expired; 409 consent_other_browser
POST   /oauth/approve     { handle, approve: boolean, scope?: [...] }   # the consent page's decision → { redirect_to };
                          # a viewer seat can grant read access only. 400 with a code when the consent can't be used
GET    /oauth/grants      # → { configured, apps: [{ grant_id, client, client_id, scope, created_at, seat, … }] };
                          # the owner and admin seats see every seat's apps, other seats their own
POST   /oauth/grants/revoke   { grant_id }   # disconnect one of those apps → { ok }; 404 if not one you can see

Weekly export (Agency, export). GET /export?dataset=weekly returns one row per business × ISO week × AI engine over the last 13 weeks, for one market (industry, city, state) or, with those left out, every market on the account. It's built for Looker Studio, Sheets or a warehouse: zero rows are kept, so you can sum named_in and answers and divide.

ColumnMeaning
industry, city, state, marketThe market; market in words ("Plumbing in Houston, TX").
businessThe business as AI names it (merged spellings counted together).
week, week_startISO week ("2026-W41") and its Monday (YYYY-MM-DD).
engine, engine_labelopenai/perplexity/anthropic, and "ChatGPT"/"Perplexity"/"Claude".
answersAnswers that engine gave in the market that week: the denominator.
named_in, rateAnswers naming the business, and named_in / answers.
partialThe week is still filling up. Leave it out of week-on-week comparisons.
models_changed, questions_changedThe AI models or our questions changed that week: a data break.
is_client, client_idThe business is on your client roster or watchlist (matched the way reports match names); client_id is its roster id, null for a watchlist-only business.
rate_low, rate_highThe 95% likely range of rate (0–1); null under 5 answers, where a rate says little.

format=json returns { dataset, weeks, markets, rows } with the same row fields. MCP: export_weekly.

Trials while billing isn't live. A trial doesn't end until billing opens: GET /account has trial_paused: true and access: "trial" even past trial_ends_at. Once billing opens, trial_paused is false and trial_ends_at is the real end, at least a week after billing opened.

Billing. Once Stripe billing is on, GET /account has billing: { stripe: true, subscribed }, and the account's owner (signed in, not with an API key) can POST /billing/checkout { tier, extra_markets?, white_label? } to subscribe, POST /billing/upgrade to change plan (Stripe's plan change page with a subscription, Checkout without), and POST /billing/portal for the card, invoices and canceling. Each answers { url } to open in a browser. While billing is off they answer 404. With a subscription, POST /account/cancel answers 400 and points at the Portal. With a billing anchor, the report quota resets on your billing day, not the 1st.

Past due. A payment that fails makes the plan past_due (access: "past_due", with past_due_since): everything works for 7 days while the card is retried. After that it's access: "past_due_read_only", read-only like the states below, and at 21 days the plan is canceled. Your markets, share links and custom domain stay through all of it.

Read-only accounts. When a trial has ended (access: "trial_expired"), a payment has been past due for 7 days ("past_due_read_only") or a plan is canceled (access: "canceled"), you can still sign in, read everything and change settings: account, facts, digest off, markets/keep, revoking share links and keys, deleting outcomes and removing seats. Anything that spends answers 402 with code: "plan_inactive": running reports, adding or swapping markets, writing AI drafts (the tool GETs unless ?drafts=0), downloads, exports, share links and the other writes.

Errors come back as { "error": "…" }, sometimes with a code or a hint for scripts:

  • 400: a missing or malformed field, an emailed link that's invalid, expired or already used, a password that doesn't meet the rules (code: "password_too_short", "password_breached", …), or code: "state_required" when a city is in more than one of your states (the body lists states; resend with state).
  • 401: no credential, or a bad, revoked or expired one.
  • 402: report quota used up (code: "report_quota"), a feature your tier doesn't include ("feature_locked"), more markets than your plan allows ("market_quota"), no market swaps left this month ("swap_limit"), or "plan_inactive" (read-only account; the body also has access). The message says where to write to upgrade while billing isn't live.
  • 403: that market isn't one of your active markets (with a hint), code: "owner_only" for key and seat management, or code: "signup_closed" (new accounts aren't being taken yet).
  • 404: no such report, share, client, outcome, key or fact sheet on your account.
  • 409: already 5 active API keys, or a market name close to one already covered (the body lists suggestions; resend with confirm_new: true to add it as typed).
  • 410: the report is more than 60 days old (or older than the tools), so its tools are closed. Run a new one.
  • 422: a new market's first answers named no businesses, so nothing was added; or the writing model declined to write a draft.
  • 429: code: "rate_limited" (too many sign-up or sign-in attempts; wait a minute), code: "signup_cap" (the day's limit on new accounts), 5 fact checks for that business today, a draft already rewritten 3 times (or rewriting paused for the month), or the day's limit on building new markets (5 per account).
  • 500: something went wrong on our side. Try again in a minute.
  • 502: the writing model failed or wrote something unusable. Try again; nothing was used up.

Latest tools and their REST routes

The tools marked Latest call the same routes as the app, with the same plan, seat and connection rules:

ToolRoute
check_free_rerunGET /free-rerun
check_report_sitePOST /reports/:id/site-check
set_prepared_byPATCH /account
list_market_catalogGET /markets/catalog
list_market_requestsGET /market-requests
merge_businesses / list_business_merges / undo_business_mergePOST / GET / DELETE /merge-requests
suggest_question / list_question_suggestionsPOST / GET /question-suggestions
move_to_watchingPOST /followed/:id/watch
get_share_trendGET /home/trend
list_removal_noticesGET /removal-notices
hide_businessPOST / DELETE /hidden-businesses
set_first_party_sharingPUT /first-party/share
update_outcomePATCH /outcomes/:id
delete_business_factsDELETE /facts
dismiss_fact_flag / list_dismissed_flagsPOST /facts/dismiss / GET /facts/dismissed
prefill_client_websitesPOST /clients/prefill-websites
get_client_autorun / set_client_autorun / delete_client_autorunGET / PUT / DELETE /clients/autorun
get_report_notes / set_report_noteGET / PUT /clients/report-notes
get_quarter_notes / set_quarter_noteGET / PUT /clients/quarter-notes
list_client_schedulesGET /clients/schedules
set_client_schedule / delete_client_schedulePUT / DELETE /clients/:id/schedule
send_test_client_reportPOST /clients/:id/schedule/test
get_custom_domain / add_custom_domain / remove_custom_domainGET / POST / DELETE /custom-domain
check_custom_domainPOST /custom-domain/check
Keep in mindLimits, errors and other notes.

Keep in mind

  • The published limits for plans, reports (fair use), the API, the MCP server and the free check are on algotally.com/limits. Past a limit a minute, a REST call answers 429 with code: "rate_limited" and a Retry-After header.
  • Each API key gets 30 requests a minute, for the REST API and the MCP server together. A connection that signs in from ChatGPT or Claude.ai gets 30 a minute per person on the account. Past that, the answer is 429 with code: "rate_limited" and Retry-After: 60.
  • A key is a credential for your account. Treat it like a password; revoke it if it leaks. Canceling an account revokes all its keys.
  • Reports generated with a key are yours to deliver to your clients. Bulk-pulling the underlying data to build a separate database isn't allowed — see the Terms of Service.
  • Algotally never contacts businesses on your behalf. It gives you the data and writes drafts; sending them is yours, from your own email, and so is following CAN-SPAM and other outreach laws (fill in the mailing address and opt-out placeholders in every email).
  • Market rates in the outreach kit are published figures for reference. Algotally doesn't suggest what you should charge.

Put Algotally inside your assistant.

Start with 1 market and 3 businesses free for 14 days and no card, or check one business free right now.