Docs
Every tool is available two ways: over MCP at https://mentionthing.com/mcp (OAuth 2.1 with dynamic client registration, or an API key as the bearer token), and over REST at https://mentionthing.com/api/v1/<tool> with an API key.
Quick start
KEY=aeo_live_... # from https://mentionthing.com/api_keys
# 1. A brand and its competitors
curl -X POST https://mentionthing.com/api/v1/create_brand -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"name":"Acme","domains":["acme.com"],"competitors":[{"name":"Globex","domains":["globex.com"]}]}'
# 2. Prompts to track, and which engines answer them
curl -X POST https://mentionthing.com/api/v1/create_prompt_set -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
-d '{"brand_id":1,"name":"Buying questions","engines":["chatgpt_web","google_ai_overview"],"samples":3,
"prompts":["best project management tool for agencies","acme vs globex"]}'
# 3. See the cost, then run
curl "https://mentionthing.com/api/v1/estimate_run?prompt_set_id=1" -H "Authorization: Bearer $KEY"
curl -X POST https://mentionthing.com/api/v1/run_now -H "Authorization: Bearer $KEY" -d '{"prompt_set_id":1,"max_cost_usd":1}'
# 4. Read the results
curl "https://mentionthing.com/api/v1/visibility_summary?brand_id=1" -H "Authorization: Bearer $KEY"
How it works
- Sampling. Answers vary, so each prompt is asked
samplestimes per engine per run. Metrics are rates over those answers. - Extraction is deterministic: every name, alias and domain of the brand and its competitors, matched as whole words in any case; the order they first appear in; and every cited URL. No LLM reads your answers on our side; your agent reads them with
answers. - Metrics: mention rate, average position among tracked names (1 = first), first place rate, own-site citation rate, share of voice, top cited domains, your own pages cited, and the change since the previous run.
- Engines:
chatgpt_web(ChatGPT (as users see it)),gemini_web(Gemini (as users see it)),google_ai_overview(Google AI Overviews),google_ai_mode(Google AI Mode),chatgpt_api(GPT via the OpenAI API),claude_api(Claude via the Anthropic API),gemini_api(Gemini via the Google API),perplexity_api(Perplexity (Sonar API)). - Costs come out of prepaid credits: DataForSEO's price plus 30% (or 10% of it as a platform fee with your own DataForSEO key). Runs check the estimate against your credit and monthly cap before starting.
Tools
GET /api/v1/tools returns each tool's JSON Schema. Read-only tools also accept GET with query parameters.
list_engines GET or POST
The answer engines that can be tracked, how each is collected (source), and the estimated cost per answer.
list_brands GET or POST
The account's brands, each with its aliases, domains, competitors and prompt sets.
create_brand POST
Start tracking a brand: its name, aliases and domains, and optionally its competitors. Answers are searched for every name, alias and domain (whole words, any case).
name(required): The brand's name.aliases: Other names it goes by (product names, abbreviations).domains: Its websites, e.g. acme.com.competitors: Competitors to compare against.
update_brand POST
Change a brand's name, aliases or domains (lists replace the old ones). Stored answers are searched again for the new names, so history stays comparable.
brand_id(required): The brand.name: New name.aliases: Other names it goes by (product names, abbreviations).domains: Its websites, e.g. acme.com.
add_competitor POST
Add a competitor to a brand. Its mentions and citations count towards share of voice; stored answers are searched for it too.
brand_id(required): The brand.name(required): The competitor's name.aliases: Other names it goes by (product names, abbreviations).domains: Its websites, e.g. acme.com.
update_competitor POST
Change a competitor's name, aliases or domains (lists replace the old ones).
competitor_id(required): The competitor.name: New name.aliases: Other names it goes by (product names, abbreviations).domains: Its websites, e.g. acme.com.
remove_competitor POST
Stop tracking a competitor. Its past mentions are dropped from share of voice.
competitor_id(required): The competitor.
list_prompt_sets GET or POST
Prompt sets (groups of prompts tracked together, with their engines, samples, location and schedule).
brand_id: Only this brand's.
create_prompt_set POST
Create a group of prompts to track for a brand: which engines answer them, how many times each prompt is asked per engine per run (samples, default 3, since answers vary), and the location and language. Schedules start off; use set_schedule after checking the cost.
brand_id(required): The brand.name(required): e.g. "Buying questions".engines: Engines to ask. chatgpt_web: ChatGPT (as users see it); gemini_web: Gemini (as users see it); google_ai_overview: Google AI Overviews; google_ai_mode: Google AI Mode; chatgpt_api: GPT via the OpenAI API; claude_api: Claude via the Anthropic API; gemini_api: Gemini via the Google API; perplexity_api: Perplexity (Sonar API).samples: Times each prompt is asked per engine per run (1-10). Default 3.location_code: DataForSEO location code. Default 2840 (United States); 2826 is the UK.language_code: Language, e.g. en. Default en.cadence: How often a schedule would run. Default weekly.prompts: Prompts to track, as people would type them (up to 500 characters).
update_prompt_set POST
Change a prompt set's name, engines, samples, location or language. Applies to runs started after.
prompt_set_id(required): The prompt set.name: New name.engines: Engines to ask. chatgpt_web: ChatGPT (as users see it); gemini_web: Gemini (as users see it); google_ai_overview: Google AI Overviews; google_ai_mode: Google AI Mode; chatgpt_api: GPT via the OpenAI API; claude_api: Claude via the Anthropic API; gemini_api: Gemini via the Google API; perplexity_api: Perplexity (Sonar API).samples: Samples per prompt per engine.location_code: DataForSEO location code.language_code: Language.
list_tracked_prompts GET or POST
The prompts in a prompt set.
prompt_set_id(required): The prompt set.include_inactive: Include paused prompts.
add_tracked_prompts POST
Add prompts to a prompt set, as people would type them into ChatGPT or Google. Duplicates are skipped.
prompt_set_id(required): The prompt set.prompts(required): Prompt texts, or objects from suggest_prompts.
update_tracked_prompt POST
Reword a prompt, or pause it (active: false) to stop asking it. Past answers keep the wording they were asked with.
tracked_prompt_id(required): The prompt.text: New wording.active: false pauses it.
suggest_prompts POST
Prompts people actually ask AI assistants about a topic, with AI search volume where known (from DataForSEO's LLM Mentions data). Costs a fraction of a cent. Add the good ones with add_tracked_prompts.
topic(required): A seed topic or category, e.g. "project management software".brand_id: The brand, to leave out prompts that already name it.location_code: DataForSEO location code. Default 2840.language_code: Default en.limit: How many, default 20.
estimate_run GET or POST
What one run of a prompt set would cost (prompts × engines × samples × each engine's price), and per month on its schedule's cadence, against the account's available credit.
prompt_set_id(required): The prompt set.engines: Engines to ask. chatgpt_web: ChatGPT (as users see it); gemini_web: Gemini (as users see it); google_ai_overview: Google AI Overviews; google_ai_mode: Google AI Mode; chatgpt_api: GPT via the OpenAI API; claude_api: Claude via the Anthropic API; gemini_api: Gemini via the Google API; perplexity_api: Perplexity (Sonar API).samples: Override samples.
run_now POST
Ask every active prompt in a prompt set of each engine, samples times, now. Checks the estimate against the account's credit and monthly cap first. Answers arrive over minutes (ChatGPT and Gemini as users see them can take up to 45): check with run_status, not in a tight loop.
prompt_set_id(required): The prompt set.engines: Engines to ask. chatgpt_web: ChatGPT (as users see it); gemini_web: Gemini (as users see it); google_ai_overview: Google AI Overviews; google_ai_mode: Google AI Mode; chatgpt_api: GPT via the OpenAI API; claude_api: Claude via the Anthropic API; gemini_api: Gemini via the Google API; perplexity_api: Perplexity (Sonar API).samples: Override samples for this run.max_cost_usd: Refuse to start if the estimate is above this.
run_status GET or POST
A run's progress: answers collected, failed and still waiting, and what it has cost so far.
run_id(required): The run.
list_runs GET or POST
Recent runs, newest first.
brand_id: Only this brand's.prompt_set_id: Only this prompt set's.limit: Default 10.
set_schedule POST
Turn a prompt set's schedule on or off. Turning it on returns the cost per run and per month first and only takes effect with confirm: true, after the user has seen the cost. A schedule pauses itself if the account runs out of credit or reaches its monthly cap.
prompt_set_id(required): The prompt set.enabled(required): On or off.cadence: How often. Default: the set's (weekly).confirm: true to turn it on, once the user has agreed to the estimated cost.
visibility_summary GET or POST
How visible a brand is in AI answers: mention rate, average position among the tracked names, first place rate and own-site citation rate, overall, per engine and per prompt (weakest first), with the change since the previous cycle. Default window: the latest run of each prompt set.
brand_id(required): The brand.prompt_set_id: Only this prompt set. Default: all of the brand's.engine: Only this engine. Default: all.run_id: Just this run (and compare with the run before it).from: Start date (YYYY-MM-DD) of a date window, instead of the latest run.to: End date (YYYY-MM-DD) of a date window. Default today.
share_of_voice GET or POST
The brand's and each competitor's share of mentions of the tracked names in AI answers, how many answers name each, and their average position, with the change since the previous cycle.
brand_id(required): The brand.prompt_set_id: Only this prompt set. Default: all of the brand's.engine: Only this engine. Default: all.run_id: Just this run (and compare with the run before it).from: Start date (YYYY-MM-DD) of a date window, instead of the latest run.to: End date (YYYY-MM-DD) of a date window. Default today.
citations GET or POST
The sources AI answers cite: the most cited domains (flagged when they're the brand's or a competitor's), which of the brand's own pages get cited, and used_not_named: the brand's pages answers use as a source without naming the brand (who they recommend instead, the pages cited alongside, whether the page ranks the brand itself). Those are the closest misses.
brand_id(required): The brand.prompt_set_id: Only this prompt set. Default: all of the brand's.engine: Only this engine. Default: all.run_id: Just this run (and compare with the run before it).from: Start date (YYYY-MM-DD) of a date window, instead of the latest run.to: End date (YYYY-MM-DD) of a date window. Default today.limit: Domains to list, default 25.
answers GET or POST
Stored answers with their text and what was extracted (who was named, in what order, what was cited). Use it to judge sentiment or how the brand is described; filter to keep it short.
brand_id(required): The brand.prompt_set_id: Only this prompt set.run_id: Only this run.engine: Only this engine.tracked_prompt_id: Only answers to this prompt.mentioned: true: only answers naming the brand; false: only answers that don't.competitor_id: Only answers naming this competitor.cited_domain: Only answers citing this domain.from: Completed on or after (YYYY-MM-DD).to: Completed on or before (YYYY-MM-DD).include_text: Include the answer text. Default true.limit: Default 10.offset: For paging.
changes_since GET or POST
What changed in a brand's AI visibility: the latest cycle compared with the last run before a date (since), or with the run before it. Mention rate, position, citation rate, share of voice, and newly cited domains.
brand_id(required): The brand.since: A date (YYYY-MM-DD). Default: compare with the previous run.prompt_set_id: Only this prompt set.engine: Only this engine.
briefing GET or POST
The AI guide's latest briefing for a brand, as on its Overview: headline, where it stands, which products the engines recommend instead, a goal, and the next three steps (each with why, how and the page it's about). Written after each run; its next steps are added to the to-do list (list_todos). refresh_briefing asks for a new one.
brand_id(required): The brand.
refresh_briefing POST
Ask the guide for a fresh briefing from the latest answers (about $0.10 of credit). It takes about a minute; read it with briefing.
brand_id(required): The brand.
ai_traffic GET or POST
The visits AI assistants (ChatGPT, Perplexity, Claude, Gemini…) sent the brand's site in the last 30 days, from its connected analytics: total and share of all visits, by assistant, the pages they landed on, countries, devices and visitors per day. The ground truth to compare the mention rate with.
brand_id(required): The brand.
ai_agents GET or POST
Which AI agents request the brand's pages, from the forwarder on its site: live fetches for people's questions (ChatGPT-User, Claude-User, Perplexity-User: the closest signal to real citations), AI search crawls (OAI-SearchBot, PerplexityBot…: what can be found), training crawls, and Google/Bing. By kind, bot and page (with AI visitors from analytics and tracked questions per page), errors served to AI agents, pages crawled but never fetched, and live fetches per day.
brand_id(required): The brand.days: The last N days (default 30).
opportunities GET or POST
What the pages AI answers cite suggest doing. actions: the distinct things to do (one pitch per site, one page to improve or write per subject), ranked by how many tracked questions each covers. listings: others' pages that could add the brand (round-ups, comparisons, reviews, directories, communities), with which tracked names each carries. content_gaps: competitors' cited pages, each checked against the brand's sitemap: missing (no such page), not_cited (the brand has one, uncited for these questions), cited, or unknown. other_products: other companies' home and product pages (products to track, not places to get listed). read_page gives a page's full text; site_pages lists the brand's own pages.
brand_id(required): The brand.days: Answers from the last N days (default 30).limit: Items per list, default 20.
site_pages GET or POST
The pages in the brand's sitemap, with each page's language versions (hreflang, or a language folder like /fr/), the AI visitors each got in the last 30 days and the tracked questions that lead to it. Check here before suggesting a page or a translation: it may already exist. refresh: true reads the sitemap again (up to a minute).
brand_id(required): The brand.refresh: Read the sitemap again now.path_contains: Only pages whose path contains this, e.g. /make/.
read_page GET or POST
The title, headings and text of a page that the account's AI answers cite, or of one of its brands' own pages: to see what a round-up or a competitor's page covers before writing a better one, or to check a page of your own. Read once and kept; read again after two weeks.
url(required): The page's address, as listed by opportunities or citations.
what_ai_says GET or POST
What the engines say: the sentences in recent answers that name the brand (most repeated first), and what they credit each competitor with ("X is best for…") where the brand isn't named. Use it to find facts to correct and the strengths competitors are known for.
brand_id(required): The brand.days: Answers from the last N days (default 30).
site_check POST
Whether AI crawlers can read the brand's site: robots.txt rules for each AI and search crawler, the home page (readable without JavaScript, title, description, structured data), sitemap, llms.txt and Bing indexing, each with a fix when something's wrong. refresh: true checks again now (a few seconds).
brand_id(required): The brand.refresh: Check again now instead of returning the last check.
list_todos GET or POST
The brand's to-do list (things decided on to get mentioned more), in the order to do them: the guide's steps first, best first. Each has a category saying who does it: content (write or improve pages on your own site), outreach (get mentioned on other sites), site (technical fixes so ai can read your site), other (everything else). A writing or blog agent takes category content, status todo, and follows each one's agent_prompt: what to change and why, what ChatGPT is asked, who it recommends instead and the pages it reads instead. When the change is published, update_todo marks it done. Outreach to-dos carry the drafted email (to, subject, body, other addresses); draft_outreach_email asks for one. Done items show their impact: the mention rate before and after, for the questions whose answers cite the item's page (or all).
brand_id(required): The brand.status: Only these. Default: all.category: Only these. Default: all.
add_todo POST
Put something on the brand's to-do list, such as a step from the briefing or a page from opportunities.
brand_id(required): The brand.kind(required): get_listed: Get mentioned on a page; create_page: Write a page; fix_fact: Correct what AI says; site_fix: Fix the site; other: Othertitle(required): What to do, starting with a verb.url: The page it's about (http…), if any.notes: Why, and how.
draft_outreach_email POST
For an outreach to-do: find who to email at the page's site and draft the email asking to be mentioned there, in the background (about a minute). list_todos shows it under outreach when ready. Uses a little credit. redraft: true replaces an existing draft.
todo_id(required): The outreach to-do.redraft: Replace an existing draft.
update_todo POST
Mark a to-do done (from a date, so later runs can be compared with earlier ones), dismiss it (the guide won't suggest it again; say why in notes), reopen it, or change its title, page or notes.
todo_id(required): The to-do.status:done_on: YYYY-MM-DD it was done. Default today when marking done.title: New title.url: New page address.notes: New notes.
balance GET or POST
The account's credit: balance, what running runs may still spend, what's available, spend this month against the monthly cap, and whether auto top-up is on.
usage GET or POST
What the account has spent, by day, engine and run, over a date range (default this month).
from: Start date (YYYY-MM-DD). Default: the 1st of this month.to: End date. Default today.