# GEO API — UnifAPI

> AI answer visibility, LLM mentions, AI search volume. Collect live Google AI Mode, ChatGPT and Gemini answers with cited sources, search AI mentions, and estimate AI search demand.

- Category: Generative Engine Optimization
- API base URL: https://api.unifapi.com
- Auth: `Authorization: Bearer <UnifAPI API key>` (OAuth recommended for MCP clients)
- MCP server: https://mcp.unifapi.com
- Developer docs: https://docs.unifapi.com/api/geo
- OpenAPI spec: https://unifapi.com/openapi.json
- HTML page: https://unifapi.com/apis/geo
- Full catalog: https://unifapi.com/apis.md

## Agent workflows

- Measure generative-engine visibility: fetch live AI Mode answers with cited sources so an agent can see whether a brand or domain is referenced in AI search.
- Track LLM mentions across ChatGPT and AI search engines and pull AI keyword search volume to quantify how a topic surfaces in AI answers.
- Pair AI-answer visibility with classic SEO records in the same envelope so an agent reports both organic rank and generative-engine citation in one pass.

## Endpoints (11)

Every endpoint returns the UnifAPI JSON envelope (`request_id`, `data`, `pagination` on lists, `billing`) and bills max(records × credits per record, minimum) in credits.

### Collect a live ChatGPT or Gemini web answer

`POST /geo/answers`

Execute one custom prompt against the ChatGPT or Gemini web interface. Returns answer evidence, cited sources, and separate brand-name/domain observations. This is a single unpersonalized sample; repeated runs may differ. 30 credits ($0.03) per successful response, including no-answer results. Credits are reserved before collection; errors are not charged. May take up to 120 seconds. Gemini does not support force_web_search. Use a client timeout of at least 150 seconds. No conversation history or recommendation rank is inferred.

- Price: 30 credits per record, minimum 30 credits ($0.03) per call
- Details: https://unifapi.com/apis/geo/answers/post
- Docs: https://docs.unifapi.com/api/geo/answers/post

### Get AI search volume for keywords

`POST /geo/keywords/search-volume`

Look up generative-AI search volume and monthly trend for up to 1000 keywords in a location and language.

- Price: 1 credit per record, minimum 50 credits ($0.05) per call
- Details: https://unifapi.com/apis/geo/keywords/search-volume/post
- Docs: https://docs.unifapi.com/api/geo/keywords/search-volume/post

### Aggregate LLM mention metrics by dimension

`POST /geo/mentions/aggregated-metrics`

Aggregate LLM mentions of a domain or keyword across platform, location, language, source/search-result domains, and brand entities.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/geo/mentions/aggregated-metrics/post
- Docs: https://docs.unifapi.com/api/geo/mentions/aggregated-metrics/post

### Compare LLM mentions across labeled groups

`POST /geo/mentions/cross-aggregated-metrics`

Aggregate and compare LLM mention metrics across several labeled target groups for side-by-side share-of-voice analysis.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/geo/mentions/cross-aggregated-metrics/post
- Docs: https://docs.unifapi.com/api/geo/mentions/cross-aggregated-metrics/post

### Get changes in AI mentions and search volume

`POST /geo/mentions/delta`

Return the net change in AI mentions and estimated AI search volume for a keyword or domain per time bucket (day, week, month or year) — how much each bucket gained or lost against the one before — from the indexed corpus for Google AI Overviews or US-English ChatGPT. This is not a replay of your custom prompt panel. Corpus coverage can change; estimated AI search volume is not observed traffic. Date windows start on 2025-08-01 and span at most 366 days. Costs 10 credits per returned time bucket, minimum 1,000 credits ($1). The maximum credits are reserved before collection; unused credits are released. Failed requests are not charged. Allow at least 150 seconds for the response.

- Price: 10 credits per record, minimum 1,000 credits ($1.00) per call
- Details: https://unifapi.com/apis/geo/mentions/delta/post
- Docs: https://docs.unifapi.com/api/geo/mentions/delta/post

### Get monthly AI mention history

`POST /geo/mentions/history`

Return a monthly time series of AI mention counts and estimated AI search volume for a keyword or domain, from the indexed corpus for Google AI Overviews or US-English ChatGPT. This is not a replay of your custom prompt panel. Corpus coverage can change; estimated AI search volume is not observed traffic. Date windows start on 2025-08-01 and span at most 366 days. Monthly history costs a minimum of 500 credits ($0.50). The maximum credits are reserved before collection; unused credits are released. Failed requests are not charged. Allow at least 150 seconds for the response.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/geo/mentions/history/post
- Docs: https://docs.unifapi.com/api/geo/mentions/history/post

### Get new and lost AI mentions and search volume

`POST /geo/mentions/new-lost`

Return newly appearing and disappearing AI mentions for a keyword or domain per time bucket (day, week, month or year) — new and lost mention counts, each with its estimated AI search volume — from the indexed corpus for Google AI Overviews or US-English ChatGPT. This is not a replay of your custom prompt panel. Corpus coverage can change; estimated AI search volume is not observed traffic. Date windows start on 2025-08-01 and span at most 366 days. Costs 10 credits per returned time bucket, minimum 1,000 credits ($1). The maximum credits are reserved before collection; unused credits are released. Failed requests are not charged. Allow at least 150 seconds for the response.

- Price: 10 credits per record, minimum 1,000 credits ($1.00) per call
- Details: https://unifapi.com/apis/geo/mentions/new-lost/post
- Docs: https://docs.unifapi.com/api/geo/mentions/new-lost/post

### Search LLM mentions of a domain or keyword

`POST /geo/mentions/search`

Search an indexed corpus of ChatGPT or Google AI Overview answers. This does not execute a custom prompt. Includes answer text, sources and estimated AI search volume. Costs 10 credits per returned record, minimum 1,000 credits ($1). Reserves credits for limit (default 100) before collection and releases unused credits; no balance truncation. Failed requests are not charged.

- Price: 10 credits per record, minimum 1,000 credits ($1.00) per call
- Details: https://unifapi.com/apis/geo/mentions/search/post
- Docs: https://docs.unifapi.com/api/geo/mentions/search/post

### List domains most cited in LLM answers

`POST /geo/mentions/top-domains`

Rank the domains most frequently cited as sources in LLM answers for a target domain or keyword, with per-dimension breakdowns.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/geo/mentions/top-domains/post
- Docs: https://docs.unifapi.com/api/geo/mentions/top-domains/post

### List pages most cited in LLM answers

`POST /geo/mentions/top-pages`

Rank the pages most frequently cited as sources in LLM answers for a target domain or keyword, with per-dimension breakdowns.

- Price: 1 credit per record, minimum 500 credits ($0.50) per call
- Details: https://unifapi.com/apis/geo/mentions/top-pages/post
- Docs: https://docs.unifapi.com/api/geo/mentions/top-pages/post

### Search AI Mode generative results

`POST /geo/serp`

Run one live AI Mode search for generative answer evidence, cited sources, and target-domain visibility.

- Price: 1 credit per record, minimum 10 credits ($0.01) per call
- Details: https://unifapi.com/apis/geo/serp/post
- Docs: https://docs.unifapi.com/api/geo/serp/post

## Guides

- [Free Google AI Overview checker](https://unifapi.com/tools/ai-overview-checker) — Try the GEO surface live: does a query trigger an AI answer, and which sources get cited?
- [Google AI Overviews — glossary](https://unifapi.com/glossary/google-ai-overviews) — How Overviews work, how often they trigger, what they do to clicks, and how citation works.
- [Generative engine optimization (GEO) — glossary](https://unifapi.com/glossary/generative-engine-optimization) — The evidence-backed tactics for earning AI citations, and how to measure them.
- [AI visibility — glossary](https://unifapi.com/glossary/ai-visibility) — The metric this API measures: share of AI answers that mention or cite you.
- [AI Visibility Agent GEO workflows](https://unifapi.com/blog/ai-visibility-agent-geo-workflows) — Measure answer-engine citations, LLM mentions, brand visibility, and prompt gaps.
- [SEO, GEO, and Browser visibility stack](https://unifapi.com/blog/seo-geo-browser-visibility-stack) — Pair generative-engine evidence with classic SEO and rendered-page inspection.
- [The Agent First architecture](https://unifapi.com/blog/agent-first-architecture-agents-skills-apis) — How Agents, Skills, MCP, and live API records fit into one public-data stack.

## Related APIs

- [SEO API](https://unifapi.com/apis/seo/index.md) — Keyword volume, SERP checks, backlinks, domain rank
- [Google Ads API](https://unifapi.com/apis/google-ads/index.md) — Ads Transparency Center: advertisers and ads
- [Browser API](https://unifapi.com/apis/browser/index.md) — Markdown, HTML, screenshots, links
- [News API](https://unifapi.com/apis/news/index.md) — Articles, top stories, publishers
