Unif API Docs

Get changes in AI mentions and search volume

Query historical indexed-corpus metrics 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.

Pricing — $$$ · min $1.00

Minimum 1000 credits ($1.00) per call. Records returned above the minimum bill 10 credit ($0.001) each.

POST
/geo/mentions/delta

Authorization

bearerAuth
AuthorizationBearer <token>

UnifAPI API key. Provider credentials are managed by UnifAPI.

In: header

Header Parameters

X-Unifapi-Max-Credits?string

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.

Match^\d+$
Unifapi-Version?"2026-07-01"

Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md

Default"2026-07-01"

Value in

  • "2026-07-01"
Idempotency-Key?string

Client-supplied unique key that makes a write request safe to retry. If a request with the same key was already processed, the original response is replayed (with Idempotency-Replayed: true) instead of executing — and billing — again. Send a fresh UUID per logical operation. Best-effort with a 24h window.

Lengthlength <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/geo/mentions/delta" \  -H "Content-Type: application/json" \  -d '{    "target": [      {}    ],    "date_from": "2019-08-24",    "date_to": "2019-08-24"  }'
{  "request_id": "string",  "data": {    "measurement": "indexed_corpus",    "engine": "chatgpt",    "location": "string",    "language": "string",    "date_from": "string",    "date_to": "string",    "group_range": "day",    "results": [      {        "date": "string",        "delta_mentions": 0,        "delta_ai_search_volume": 0      }    ]  },  "billing": {    "credits_charged": 0,    "records_charged": 0,    "balance_remaining": 0,    "truncated_due_to_balance": true  }}