AI Visibility Tracking API
The AI Visibility Tracking API is the endpoint behind generative engine optimization (GEO) tracking: it returns every brand, company and person an AI answer names. Each one comes with its position in the answer, its mention count, a sentiment score from -1 to +1 and a stance, from chosen to criticized. One task is one prompt on one model in one market: ChatGPT, Gemini, Google AI Mode, AI Overviews, Copilot, Grok, Rufus or Alexa for Shopping.
ChatGPT
Gemini
Google AI Mode
AI Overviews
Microsoft Copilot
Grok
Rufus
Alexa for Shopping
Updated
Playground
One task returns 5 entities, in the order ChatGPT named them
The AI Visibility Tracking API returns result.entities[] once a task completes. Pick a model and a market: the request changes, and the sample result shows who that answer named. In this ChatGPT sample, Loopwork comes first with 4 mentions, a sentiment of 0.72 and the stance chosen, while Atlaskit is named fifth and criticized, at -0.35.
POST/v1/tasks·GET/v1/tasks/{taskId}
model
# 1. create the task curl -X POST https://api.apiforgeo.com/v1/tasks \ -H "Authorization: Bearer $API_FOR_GEO_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "best project management tool for creative agencies", "model": "chatgpt", "country": "US", "language": "en" }' # 2. read it once completed curl https://api.apiforgeo.com/v1/tasks/task_0193f2a7c1d84e6f9b2a5c7d3e1f4a00 \ -H "Authorization: Bearer $API_FOR_GEO_KEY"
import os, requests API = "https://api.apiforgeo.com/v1" H = {"Authorization": f"Bearer {os.environ['API_FOR_GEO_KEY']}"} # 1. create the task requests.post(f"{API}/tasks", headers=H, json={ "prompt": "best project management tool for creative agencies", "model": "chatgpt", "country": "US", "language": "en" }, timeout=30) # 2. read it once completed r = requests.get(f"{API}/tasks/task_0193f2a7c1d84e6f9b2a5c7d3e1f4a00", headers=H, timeout=30) print(r.json())
const API = "https://api.apiforgeo.com/v1"; const auth = { Authorization: `Bearer ${process.env.API_FOR_GEO_KEY}` }; const post = (path, body) => fetch(API + path, { method: "POST", headers: { ...auth, "Content-Type": "application/json" }, body: JSON.stringify(body) }).then((r) => r.json()); const get = (path) => fetch(API + path, { headers: auth }).then((r) => r.json()); // 1. create the task await post("/tasks", { "prompt": "best project management tool for creative agencies", "model": "chatgpt", "country": "US", "language": "en" }); // 2. read it once completed console.log(await get("/tasks/task_0193f2a7c1d84e6f9b2a5c7d3e1f4a00"));
| Entity | Type | Position | Mentions | Sentiment | Stance |
|---|---|---|---|---|---|
| Loopwork | brand | 1 | 4 | 0.72 | chosen |
| Cadence | brand | 2 | 3 | 0.48 | described |
| Northbeam | brand | 3 | 2 | 0.31 | described |
| Fieldnote | brand | 4 | 1 | 0.12 | named |
| Atlaskit | company | 5 | 1 | -0.35 | criticized |
{
"id": "task_0193f2a7c1d84e6f9b2a5c7d3e1f4a00",
"status": "completed",
"prompt": "best project management tool for creative agencies",
"model": "chatgpt",
"country": "US",
"language": "en",
"completedAt": "2026-11-02T06:00:16Z",
"resultExpiresAt": "2026-11-09T06:00:16Z",
"result": {
"entities": [
{
"id": "ent_7a41c09e2b5d4f8a9c3e1b6d0f2a8c45",
"type": "brand",
"name": "Loopwork",
"position": 1,
"mentions": 4,
"sentiment": 0.72,
"stance": "chosen"
},
{
"id": "ent_2c9e5b1a7f3d4e60b8a2c4d6e1f9a3b7",
"type": "brand",
"name": "Cadence",
"position": 2,
"mentions": 3,
"sentiment": 0.48,
"stance": "described"
},
{
"id": "ent_5f0b3d8e1a6c4b2f9e7d0a3c5b8e1f64",
"type": "brand",
"name": "Northbeam",
"position": 3,
"mentions": 2,
"sentiment": 0.31,
"stance": "described"
},
{
"id": "ent_8d2a6f4c0e9b4a1d7c5f3e8b2a6d0c19",
"type": "brand",
"name": "Fieldnote",
"position": 4,
"mentions": 1,
"sentiment": 0.12,
"stance": "named"
},
{
"id": "ent_1e7c3a9f5b2d4c8e0a6f4b1d9c3e7a52",
"type": "company",
"name": "Atlaskit",
"position": 5,
"mentions": 1,
"sentiment": -0.35,
"stance": "criticized"
}
]
}
} | Field | Type | Description |
|---|---|---|
result.entities[].id | string | The same entity has the same id in every task of your workspace. |
result.entities[].name | string | The entity's name. |
result.entities[].type | string | brand · company · person · other. |
result.entities[].position | integer | null | Its rank in the answer, 1 for the first named. |
result.entities[].mentions | integer | How many times the answer names it. |
result.entities[].sentiment | number | null | From -1 (negative) to +1 (positive). |
result.entities[].stance | enum | null | How the answer treats it: chosen · described · named · dismissed · criticized. |
The entities are one layer of the AI visibility API: the same task also returns the cited sources, the fan-out searches and the product cards.
Competitors
On Grok, Cadence takes position 1 and Loopwork falls to 4
The AI Visibility Tracking API returns every brand an answer names, competitors included, with no list to configure. The same prompt on Grok puts Cadence first, chosen with a sentiment of 0.55, and Loopwork fourth, dismissed at -0.18. Each entity keeps its id from task to task, so you can follow a competitor across models, markets and weeks.
GET/v1/tasks/{taskId}
curl https://api.apiforgeo.com/v1/tasks/task_0193f2a7c1d84e6f9b2a5c7d3e1f4a05 \ -H "Authorization: Bearer $API_FOR_GEO_KEY"
import os, requests API = "https://api.apiforgeo.com/v1" H = {"Authorization": f"Bearer {os.environ['API_FOR_GEO_KEY']}"} r = requests.get(f"{API}/tasks/task_0193f2a7c1d84e6f9b2a5c7d3e1f4a05", headers=H, timeout=30) print(r.json())
const API = "https://api.apiforgeo.com/v1"; const auth = { Authorization: `Bearer ${process.env.API_FOR_GEO_KEY}` }; const get = (path) => fetch(API + path, { headers: auth }).then((r) => r.json()); console.log(await get("/tasks/task_0193f2a7c1d84e6f9b2a5c7d3e1f4a05"));
200 OK
{
"id": "task_0193f2a7c1d84e6f9b2a5c7d3e1f4a05",
"status": "completed",
"prompt": "best project management tool for creative agencies",
"model": "grok",
"country": "US",
"language": "en",
"completedAt": "2026-11-02T06:00:16Z",
"resultExpiresAt": "2026-11-09T06:00:16Z",
"result": {
"entities": [
{
"id": "ent_2c9e5b1a7f3d4e60b8a2c4d6e1f9a3b7",
"type": "brand",
"name": "Cadence",
"position": 1,
"mentions": 3,
"sentiment": 0.55,
"stance": "chosen"
},
{
"id": "ent_5f0b3d8e1a6c4b2f9e7d0a3c5b8e1f64",
"type": "brand",
"name": "Northbeam",
"position": 2,
"mentions": 2,
"sentiment": 0.26,
"stance": "described"
},
{
"id": "ent_1e7c3a9f5b2d4c8e0a6f4b1d9c3e7a52",
"type": "company",
"name": "Atlaskit",
"position": 3,
"mentions": 1,
"sentiment": 0.1,
"stance": "named"
},
{
"id": "ent_7a41c09e2b5d4f8a9c3e1b6d0f2a8c45",
"type": "brand",
"name": "Loopwork",
"position": 4,
"mentions": 1,
"sentiment": -0.18,
"stance": "dismissed"
}
]
}
} | Field | Type | Description |
|---|---|---|
result.entities[].id | string | The same entity has the same id in every task of your workspace. |
result.entities[].position | integer | null | Its rank in the answer, 1 for the first named. |
result.entities[].sentiment | number | null | From -1 (negative) to +1 (positive). |
result.entities[].stance | enum | null | How the answer treats it: chosen · described · named · dismissed · criticized. |
Across tasks
Over 30 tasks, Loopwork is named in 68.4% of ChatGPT answers
The AI Visibility Tracking API returns the entities of each task. Mention rate, share of voice and average position across tasks are computed on your side today, from the results you stored, and the API will return them soon. Over 30 ChatGPT tasks in the US in this sample, Loopwork is named in 68.4% of answers, holds 24.1% of all mentions and averages position 1.8.
// tasks: the completed tasks you stored for one prompt, model and market const named = tasks.flatMap((t) => t.result.entities); const allMentions = named.reduce((sum, e) => sum + e.mentions, 0); function visibility(entityId) { const own = named.filter((e) => e.id === entityId); return { mentionRate: own.length / tasks.length, shareOfVoice: own.reduce((sum, e) => sum + e.mentions, 0) / allMentions, avgPosition: own.reduce((sum, e) => sum + e.position, 0) / own.length, }; }
| Entity | Mention rate | Share of voice | Average position |
|---|---|---|---|
| Loopwork | 24.1% | 1.8 | |
| Cadence | 19.6% | 2.4 | |
| Northbeam | 14.2% | 3.1 | |
| Fieldnote | 11.8% | 3.6 | |
| Atlaskit | 8.4% | 4.2 |
Coming soon: Aggregated visibility. Mention rate, share of voice, average position and trends computed across your tasks.
Get started
Four setup steps lead to the first entity list
The AI Visibility Tracking API needs no project and no brand list. Sign in to the dashboard, create a key, send POST /v1/tasks with a prompt, a model, a country and a language, then read the entities once the task completes. A test key returns a free sample result in about 15 seconds, so your code works before you spend.
-
Step 1
Sign in
Sign in to the dashboard with an email link or Google. The first sign-in creates your workspace.
-
Step 2
Create a key
Create an API key in the dashboard. A test key runs in the free sandbox; a live key spends the balance.
-
Step 3
Create a task
Send POST /v1/tasks with a prompt, a model, a country and a language. One task is one answer.
-
Step 4
Read the result
Poll GET /v1/tasks/{taskId}, or pass a webhookUrl and get task.completed. Keep what you need within 7 days.
Comparison
An AI scraping API returns none of these 4 entity layers
The AI Visibility Tracking API gives each brand a stable id, a position in the answer and a sentiment score in every task result. An AI scraping API returns the answer text and leaves those steps to build for each engine. A GEO dashboard tool computes them but keeps them in its interface. Share of voice across tasks is coming soon here; today you compute it from your results.
4 of the 15 capabilities on the full comparison
| Capability | API for GEO | AI scraping API | GEO dashboard tool | In-house build |
|---|---|---|---|---|
| Brands with stable ids across answers | Yes | No | Yes, closed | Build it |
| Position of each brand in the answer | Yes | No | Yes, closed | Build it |
| Sentiment per brand per response | Yes | No | Partly | LLM cost + eval |
| Share of voice | Coming soon | No | Yes, closed | Build it |
Use cases
The AI Visibility Tracking API feeds 3 deliverables, one per audience
The AI Visibility Tracking API is used three ways in the site's integration patterns: platforms embed a visibility module, agencies build monthly client tables, and brands watch for competitors overtaking them on the prompts that matter. Each pattern stores the entities of each task and computes its figures on its own side. Each card opens the full pattern, with the endpoints it combines.
A visibility module in your product
Run your customers' prompts as tasks and store result.entities[]. Your product computes the mention rate and its trend from what it stored, and the payload carries no API for GEO branding.
Read the pattern → AgenciesMonthly client tables, generated
Label each task with the client in metadata, store the results, and build the month's table on your side. Reading a task is free, so a re-read within 7 days costs nothing.
Read the pattern → E-commerce & brandsAn alert when a rival moves ahead
Compare each brand's position across this week's tasks and last week's, and flag the prompts where a competitor now comes first. The product category goes in metadata, so each alert names it.
Read the pattern →Pricing
AI Visibility Tracking API pricing runs from $0.013 to $0.007 per task
The AI Visibility Tracking API is billed per task: one prompt on one model in one country and language, with every layer included. Reading a task is free, so polling and re-reads cost nothing. A failed task is refunded in full. The tier follows the month's volume, with no commitment needed to reach it, and your balance never expires.
Price per task, set by the month's total volume. 200 prompts × 3 models × 30 runs = 18,000 tasks a month, $234 at $0.013
FAQ
AI visibility data, answered
What does one task return?
The AI Visibility Tracking API returns result.entities[] once the task completes: one object per brand, company or person the answer names. Each carries a stable id, its name and type, its position (1 for the first named), its mention count, a sentiment from -1 to +1 and a stance such as chosen or criticized. The same result also holds the answer, its sources and its fan-out searches.
Does the API compute mention rate and share of voice?
Not yet: Aggregated visibility is coming soon. Today each task returns its own entities, and you compute the figures across tasks. Mention rate is the tasks that name a brand divided by all tasks. Share of voice is the brand's mentions divided by all mentions. Stable entity ids make these sums safe across models, markets and weeks.
Can I track competitors I don't configure?
The AI Visibility Tracking API has no brand list to configure. An answer names whoever it names, and the API returns all of them, so a new rival shows up in result.entities[] the first time an engine names it. Two names of one brand are two entities today: alias merging, which counts them as one, is coming soon.
How long can I read a result?
The AI Visibility Tracking API keeps a completed task's result readable for 7 days, until its resultExpiresAt. After that the task stays but its result is null: the API does not store results for you. Store the entities you need when the task.completed webhook arrives. Reads within the 7 days are free, so a dashboard can read as often as it needs.
Can I resell visibility data?
The AI Visibility Tracking API allows resale and white-label use. The result carries no API for GEO branding, and metadata can label each task with your end customer, so a platform or an agency can show the figures as its own metrics, at a price it sets. Entity ids stay stable inside your workspace, so every customer's history adds up.
Related GEO APIs
AI Model Comparison API →
Run the same prompt on each of the 8 engines and compare who each one names.
APIPrompt Tracking API →
Run the prompts you monitor as labelled tasks, on your own schedule.
APIFan-Out API →
See the web searches the model ran before it named those brands.
Same topic: AI visibility checker · How to measure AI visibility guide