跳转到主要内容
POST
Daily visibility metrics by platform / total / topic

授权

Authorization
string
header
必填

API key from Settings → Developer → API keys (prefix geom_). Each key is bound to one brand.

请求体

application/json
start_utc_date
string
必填

First UTC record-day key (YYYY-MM-DD; = business day − 1). Passed to the report as start_date.

Pattern: ^\d{4}-\d{2}-\d{2}$
end_utc_date
string
必填

Last UTC record-day key, inclusive (YYYY-MM-DD). Passed to the report as end_date. At most 366 days.

Pattern: ^\d{4}-\d{2}-\d{2}$
breakdown
enum<string>
默认值:platform

One row per day × platform / per day / per day × topic.

可用选项:
platform,
total,
topic
platform
enum<string>
默认值:all

AI platform, or "all".

可用选项:
all,
chatgpt,
gemini,
perplexity,
google_ai,
google_ai_overview
topic_ids
string[]

Restrict to these topic ids (1–50). "_none" = prompts without a topic.

Required array length: 1 - 50 elements
Required string length: 1 - 64
country
string

ISO-2 country code of the prompts (e.g. US). Must be a country the brand has prompts in.

Required string length: 1 - 8
compare_previous
boolean
默认值:false

Also return the previous equal-length window (previous / delta on every row and total).

响应

The analytics report. data follows AnalyticsReport when meta.schema_conformant is true.

data
object
必填

The analytics report. null only when meta.schema_conformant is false and the report output could not be mapped.

meta
object
必填