Generative Engine Optimization

Get monthly AI mention history · GEO API

POST/geo/mentions/history
$$$min $0.50

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.

Using ChatGPT, Claude Code or another client? See the setup steps

Request
curl -X POST https://api.unifapi.com/geo/mentions/history \
  -H "Authorization: Bearer $UNIFAPI_KEY" \
  -H "Content-Type: application/json"

Parameters

X-Unifapi-Max-Creditsheader
Optional maximum credit budget for this request. The gateway validates the required reservation before collection and rejects a lower cap without charging. Unused reserved credits are released after settlement. Omit to use your available balance.
The parameter for this GEO operation. Use the URL-visible slug or id described in the docs.
The parameter for this GEO operation. Use the URL-visible slug or id described in the docs.
Overview

This operation is part of the GEO API in the generative engine optimization category. It uses the same Bearer token, request tracing, error model, and billing envelope as every UnifAPI endpoint, so agents can switch between platforms without custom per-vendor glue code.

Use it when a workflow needs GEO public data but should still keep one API key, one account balance, and one predictable JSON contract across social, live public-data sources.

Common agent workflows

  • Fetch canonical public GEO content for summarization, ranking, monitoring, or enrichment.
  • Attach engagement, author, media, and source metadata to an agent workflow.
  • Give an AI agent a stable GEO data source without building a per-platform integration.
  • Normalize GEO responses into the same UnifAPI envelope used across the catalog.
Response shape

Unified envelope, platform-native fields

  • Lookup responses return one canonical object in `data` with stable identifiers, source URLs where available, and platform-specific metadata normalized into predictable JSON.
  • The operation has a 500 credits ($0.50) minimum charge, so `billing.records_charged` can be higher than the visible records returned.
  • A not-found or invalid-input condition uses the unified UnifAPI error shape, so callers do not need special handling for each source platform.

Response status codes

200400401402404429500502503

Billing

This operation charges 1 credit per billable record, with a 500 credits ($0.50) operation minimum. Public responses include billing metadata with credits charged, records charged, and remaining workspace balance. Incorrect Credit deductions caused by platform failures can be restored as billing corrections.

Errors and retries

Authentication, validation, rate-limit, not-found, and provider errors use the unified UnifAPI error format. Agents should log `request_id`, retry only retryable failures, and treat invalid API keys, disabled keys, and expired keys as the same public `unauthorized` error type.

Response fields

Fields in the data object

A successful Get monthly AI mention history call returns one data object with these fields.

measurementstring
enginestring
locationstring
languagestring
date_fromstring
date_tostring
resultsobject[]
Related endpoints

More GEO operations

Combine endpoints from the same platform, then join the results with other UnifAPI categories without changing authentication or response parsing.

POST/geo/mentions/delta

Get changes in AI mentions and search volume

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.

POST/geo/mentions/new-lost

Get new and lost AI mentions and search volume

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.

POST/geo/mentions/aggregated-metrics

Aggregate LLM mention metrics by dimension

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

POST/geo/mentions/cross-aggregated-metrics

Compare LLM mentions across labeled groups

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

POST/geo/mentions/top-domains

List domains most cited in LLM answers

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

POST/geo/mentions/top-pages

List pages most cited in LLM answers

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