概览页数据
说明:本节 10 个接口为 pb 版对外 OpenAPI(路径 /geo/api/*),鉴权使用平台申请的 X-API-Key(sk- 前缀),Key 须具备所查询品牌 / 团队的读权限。全部为 POST 请求。
接口 1~9 共用 GeoApiInsightRequest,均要求 brand_id、begin_date、end_date;接口 10 使用 GeoApiInsightTeamRequest,要求 team_id。日期格式为 YYYY-MM-DD。返回数据由品牌实时统计得出,无数据时对应数组为空、total=0。
GeoApiInsightRequest 请求字段(接口 1~9 共用):
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
brand_id | string | 品牌 ID,不能为 0 | 是 |
begin_date | string | 开始日期,YYYY-MM-DD | 是 |
end_date | string | 结束日期,YYYY-MM-DD | 是 |
title_ids | string 数组 | 分组(标题)ID 列表 | 否 |
platforms | string 数组 | 大模型平台列表 | 否 |
tag_ids | string 数组 | 标签 ID 列表 | 否 |
competitor_ids | string 数组 | 竞品品牌 ID 列表 | 否 |
prompt_ids | string 数组 | 提问 ID 列表 | 否 |
child_brand_ids | string 数组 | 子品牌 ID 列表 | 否 |
page | int | 页码,须 ≥ 0 | 否 |
page_size | int | 每页条数,须 ≥ 0 | 否 |
domain | string | 域名筛选,须为合法域名格式 | 否 |
is_mine | bool | 是否仅统计自有来源 | 否 |
keyword | string | 关键词筛选 | 否 |
source_group | int | 官方来源分组 | 否 |
GeoApiInsightTeamRequest 请求字段(接口 10):
| 入参 | 类型 | 含义 | 是否必填 |
|---|---|---|---|
team_id | string | 团队 ID,不能为 0 | 是 |
接口 1~9 通用请求示例(以接口 1 为例,其余接口按需增删上表中的可选字段):
{
"brand_id": "2062493060792594432",
"begin_date": "2026-01-01",
"end_date": "2026-12-31"
}公共响应字段:每个接口的响应均含 code(int,0 表示成功)、msg(string,返回消息)、data(本次查询数据,结构见各接口)。
获取概览指标
- 请求方法:POST
- 请求路径:
/geo/api/base/dashboard
说明:返回曝光、评分、平均排名及首推 / Top3 提及 / 官网引用三项指标,附环比波动与样本量。使用 brand_id、begin_date、end_date、title_ids、platforms、tag_ids。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.exposure | object | 曝光:value、fluctuation、sample_count、mention_count |
data.score | object | 评分:value、fluctuation、sample_count |
data.avg_rank | object | 平均排名:value、fluctuation、sample_count、previous_value |
data.first_recommend | object | 首推率:value、fluctuation、sample_count |
data.top3_mention | object | Top3 提及率:value、fluctuation、sample_count |
data.official_citation | object | 官网引用率:value、fluctuation、sample_count |
data.overview_metrics | string 数组 | 概览指标名称列表 |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"exposure": {"value": 35.24, "fluctuation": 2.13, "sample_count": 4518, "mention_count": 1592},
"score": {"value": 26.18, "fluctuation": 1.05, "sample_count": 4518},
"avg_rank": {"value": 4.84, "fluctuation": -0.31, "sample_count": 4518, "previous_value": 5.15},
"first_recommend": {"value": 12.4, "fluctuation": 0.8, "sample_count": 4518},
"top3_mention": {"value": 28.7, "fluctuation": 1.2, "sample_count": 4518},
"official_citation": {"value": 8.3, "fluctuation": -0.4, "sample_count": 4518},
"overview_metrics": ["exposure", "score", "avg_rank"]
}
}获取监控用户提问
- 请求方法:POST
- 请求路径:
/geo/api/prompt/trends
说明:返回提问总数、逐日提问数与环比。使用 brand_id、begin_date、end_date、title_ids、tag_ids。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.prompt_count | int | 提问总数 |
data.fluctuation | int | 环比波动 |
data.prompt_trends | object 数组 | 逐日趋势:date(string)、prompt_count(int) |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"prompt_count": 1,
"fluctuation": 0,
"prompt_trends": [
{"date": "2026-12-01", "prompt_count": 1}
]
}
}获取品牌提及率趋势
- 请求方法:POST
- 请求路径:
/geo/api/exposure/trends
说明:返回本品牌、竞品、子品牌三组逐日曝光数据。使用 brand_id、begin_date、end_date 及 title_ids、competitor_ids、platforms、tag_ids、prompt_ids、child_brand_ids。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.brand_statistics | object 数组 | 本品牌逐日:date、name、exposure、avg_rank、task_count、first_recommend、top3_mention、official_citation |
data.competitor_statistics | object 数组 | 竞品:competitor_id、name、statistics(逐日对象数组) |
data.child_brand_statistics | object 数组 | 子品牌:brand_id、brand_name、statistics(逐日对象数组) |
其中逐日对象 statistics 字段:date、exposure、avg_rank、task_count、first_recommend、top3_mention、official_citation。
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"brand_statistics": [
{"date": "2026-12-01", "name": "雅诗兰黛", "exposure": 35.24, "avg_rank": 4.84, "task_count": 12, "first_recommend": 12.4, "top3_mention": 28.7, "official_citation": 8.3}
],
"competitor_statistics": [
{"competitor_id": "123", "name": "欧莱雅", "statistics": [{"date": "2026-12-01", "exposure": 18.6, "avg_rank": 7.2, "task_count": 8, "first_recommend": 5.1, "top3_mention": 14.2, "official_citation": 3.6}]}
],
"child_brand_statistics": []
}
}获取曝光效果分数趋势
- 请求方法:POST
- 请求路径:
/geo/api/score/trends
说明:返回本品牌、竞品、子品牌逐日曝光效果分数。使用 brand_id、begin_date、end_date 及 title_ids、competitor_ids、platforms、tag_ids、prompt_ids。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.brand_statistics | object 数组 | 本品牌逐日:name、date、score、task_count |
data.competitor_statistics | object 数组 | 竞品:competitor_id、name、statistics(date、score、task_count) |
data.child_statistics | object 数组 | 子品牌:brand_id、brand_name、statistics(name、date、score、task_count) |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"brand_statistics": [
{"name": "雅诗兰黛", "date": "2026-12-01", "score": 26.18, "task_count": 12}
],
"competitor_statistics": [
{"competitor_id": "123", "name": "欧莱雅", "statistics": [{"date": "2026-12-01", "score": 16, "task_count": 8}]}
],
"child_statistics": []
}
}获取品牌与竞品提及率对比
- 请求方法:POST
- 请求路径:
/geo/api/exposure/rank
说明:返回本品牌、子品牌、竞品的曝光对比排名,data 为数组,含环比与各项比率。使用 brand_id、begin_date、end_date 及 title_ids、competitor_ids、platforms、tag_ids、prompt_ids。
响应参数(data 数组元素):
| 返回值 | 类型 | 含义 |
|---|---|---|
brand_id / brand_name | string / string | 品牌 ID / 名称 |
competitor_id / competitor_name | string / string | 竞品 ID / 名称(本品牌为 0 / 空) |
brand_type | string | 品牌类型:SELF / CHILD / COMPETITOR |
exposure / previous_exposure / fluctuation | double | 曝光、上期曝光、环比 |
avg_rank | object | 平均排名:value、fluctuation、sample_count、previous_value |
first_recommend / top3_mention / official_citation | double | 首推率 / Top3 提及率 / 官网引用率 |
previous_first_recommend / previous_top3_mention / previous_official_citation | double | 上期对应比率 |
first_recommend_fluctuation / top3_mention_fluctuation / official_citation_fluctuation | double | 对应比率环比 |
sample_count | int | 样本量 |
has_previous / avg_rank_has_previous / has_website | bool | 是否有上期数据 / 排名上期数据 / 官网 |
响应示例:
{
"code": 0,
"msg": "success",
"data": [
{"brand_id": "2062493060792594432", "brand_name": "雅诗兰黛", "competitor_id": "0", "competitor_name": "", "brand_type": "GEO_API_INSIGHT_BRAND_RANK_TYPE_SELF", "exposure": 35.24, "previous_exposure": 33.11, "fluctuation": 2.13, "avg_rank": {"value": 4.84, "fluctuation": -0.31, "sample_count": 4518, "previous_value": 5.15}, "first_recommend": 12.4, "top3_mention": 28.7, "official_citation": 8.3, "sample_count": 4518, "has_previous": true, "avg_rank_has_previous": true, "has_website": true},
{"competitor_id": "123", "competitor_name": "欧莱雅", "brand_type": "GEO_API_INSIGHT_BRAND_RANK_TYPE_COMPETITOR", "exposure": 18.6, "sample_count": 0, "has_previous": false}
]
}获取品牌与竞品曝光效果分数对比
- 请求方法:POST
- 请求路径:
/geo/api/score/rank
说明:返回本品牌、子品牌、竞品的曝光效果分数对比,data 为数组。使用 brand_id、begin_date、end_date 及 title_ids、competitor_ids、platforms、tag_ids、prompt_ids。
响应参数(data 数组元素):
| 返回值 | 类型 | 含义 |
|---|---|---|
brand_id / brand_name / brand_type | string / string / string | 品牌 ID / 名称 / 类型 |
competitor_id / competitor_name | string / string | 竞品 ID / 名称 |
score / previous_score / fluctuation | double | 分数、上期分数、环比 |
sample_count | int | 样本量 |
has_previous | bool | 是否有上期数据 |
响应示例:
{
"code": 0,
"msg": "success",
"data": [
{"brand_id": "2062493060792594432", "brand_name": "雅诗兰黛", "brand_type": "GEO_API_INSIGHT_BRAND_RANK_TYPE_SELF", "score": 26.18, "previous_score": 25.13, "fluctuation": 1.05, "sample_count": 4518, "has_previous": true},
{"competitor_id": "123", "competitor_name": "欧莱雅", "brand_type": "GEO_API_INSIGHT_BRAND_RANK_TYPE_COMPETITOR", "score": 16, "has_previous": false}
]
}获取分组指标
- 请求方法:POST
- 请求路径:
/geo/api/title/rank
说明:按分组(标题)返回曝光、评分、平均排名三组排名。使用 brand_id、begin_date、end_date 及 title_ids、platforms、tag_ids。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.exposure | object 数组 | 曝光排名:title_id、title_name、exposure、fluctuation |
data.score | object 数组 | 评分排名:title_id、title_name、score、fluctuation |
data.avg_rank | object 数组 | 平均排名:title_id、title_name、avg_rank、fluctuation |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"exposure": [{"title_id": "1001", "title_name": "送礼推荐", "exposure": 21.5, "fluctuation": 1.8}],
"score": [{"title_id": "1001", "title_name": "送礼推荐", "score": 24.3, "fluctuation": 0.9}],
"avg_rank": [{"title_id": "1002", "title_name": "护肤品推荐", "avg_rank": 5.12, "fluctuation": -0.4}]
}
}获取引用域名排行
- 请求方法:POST
- 请求路径:
/geo/api/domain/rank
说明:返回被引用域名排行,含排名变化与自有 / 官方来源占比。使用 brand_id、begin_date、end_date 及 prompt_ids、platforms、title_ids、page、page_size、tag_ids、domain、keyword、is_mine、source_group。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.reference_count | object 数组 | 域名排行,字段见下表 |
data.total | int | 域名总数 |
data.official_share | double | 官方来源占比 |
reference_count 元素字段:
| 返回值 | 类型 | 含义 |
|---|---|---|
domain / display_name / icon_url | string | 域名 / 展示名 / 图标地址 |
count / previous_count / count_change | int | 引用数 / 上期引用数 / 变化量 |
is_own | bool | 是否自有域名 |
mine_article_share / mine_citation_share | double | 自有文章占比 / 自有引用占比 |
current_rank / previous_rank / rank_change | int | 当前排名 / 上期排名 / 排名变化 |
rank_change_status | string | 排名变化状态 |
owner_kind | string | 归属类型 |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"reference_count": [
{"domain": "douyin.com", "display_name": "抖音", "count": 15998, "current_rank": 1, "previous_rank": 1, "rank_change": 0, "is_own": false, "owner_kind": "third_party"},
{"domain": "baijiahao.baidu.com", "display_name": "百家号", "count": 2162, "current_rank": 2, "previous_rank": 3, "rank_change": 1, "rank_change_status": "up", "is_own": false, "owner_kind": "third_party"}
],
"total": 1987,
"official_share": 0.12
}
}获取引用文章排行
- 请求方法:POST
- 请求路径:
/geo/api/article/rank
说明:返回被引用文章排行,含来源、域名与排名。使用字段同接口 8。
响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data.reference_count | object 数组 | 文章排行,字段见下表 |
data.total | int | 文章总数 |
data.official_share | double | 官方来源占比 |
reference_count 元素字段:
| 返回值 | 类型 | 含义 |
|---|---|---|
article / url / domain / icon_url | string | 文章标题 / 链接 / 域名 / 图标地址 |
article_id | string | 文章 ID |
count / source / current_rank | int | 引用数 / 来源类型 / 当前排名 |
owner_kind | string | 归属类型 |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"reference_count": [
{"article": "雅诗兰黛小棕瓶测评", "url": "https://jd.com/...", "domain": "jd.com", "article_id": "0", "count": 3210, "source": 1, "current_rank": 1, "owner_kind": "third_party"},
{"article": "护肤推荐", "url": "https://quark.cn/...", "domain": "quark.cn", "count": 1880, "source": 2, "current_rank": 2, "owner_kind": "third_party"}
],
"total": 16326,
"official_share": 0.08
}
}获取可筛选的大模型平台
- 请求方法:POST
- 请求路径:
/geo/api/team/get/filter_platforms
说明:返回团队可用的大模型平台枚举,data 为「平台标识 → 展示名」映射。仅使用 team_id。
请求示例:
{
"team_id": "2013225757668540416"
}响应参数:
| 返回值 | 类型 | 含义 |
|---|---|---|
data | object | 平台标识到展示名的映射 |
响应示例:
{
"code": 0,
"msg": "success",
"data": {
"DEEPSEEK": "DeepSeek",
"DOUBAO": "豆包",
"GOOGLE_AI_MODE": "Google AI",
"KIMI": "Kimi",
"QIANWEN": "通义千问",
"XIAOHONGSHU": "小红书",
"YIYAN": "元宝",
"YUANBAO": "元宝"
}
}