GEO-自定义页面-详细
接口信息
- 接口地址:
{your-site-url}/api/skill/geo/page-info - 基础 URL:
{your-site-url}需替换为你自己的独立站 URL 地址,如https://your-domain.com/apimanager666 - 请求方式:
GET - 说明: 获取单个自定义页面的 GEO 数据详情。
认证
请求头中需要携带 skill-access-token:
| Header | 值 |
|---|---|
skill-access-token |
{your-skill-access-token} (请替换为你自己的 token) |
请求参数
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
page_id |
int | 是 | 自定义页面 ID |
language_code |
string | 否 | GEO 语言代码,缺省为 en |
请求示例
cURL
curl --location --request GET '{your-site-url}/api/skill/geo/page-info?page_id=892' \
--header 'skill-access-token: {your-skill-access-token}' \
--header 'Content-Type: application/json' \
--data-raw ''
返回结果
code 为 200 表示调用成功;code 不为 200 表示调用失败。
成功响应
{
"code": 200,
"data": {
"id": 3,
"shop_id": 359,
"page_id": 892,
"language_code": "en",
"summary": "Our outdoor camping collection brings together practical and reliable camping products for outdoor adventures.",
"semantic_content": "This collection is designed for outdoor enthusiasts, campers, hikers, families, and travelers who need practical equipment for camping and outdoor activities.",
"page_type": "collection",
"topic": "Outdoor Camping Products",
"category_path": ["Sports & Outdoors", "Outdoor Recreation", "Camping & Hiking", "Camping Equipment"],
"key_topics": ["camping equipment", "outdoor camping"],
"key_facts": ["The collection covers multiple categories of camping equipment."],
"benefits": ["Provides a convenient way to discover different types of camping equipment."],
"applications": ["camping", "hiking"],
"target_users": ["campers", "hikers"],
"user_questions": ["What camping equipment do I need?"],
"solution_scenarios": ["Preparing equipment for a weekend camping trip"],
"search_terms": ["camping equipment", "outdoor camping gear"],
"entities": ["Camping", "Hiking"],
"related_topics": ["hiking gear", "outdoor recreation"],
"faq": [{"question": "What types of products are included in this collection?", "answer": "The collection includes camping equipment for shelter, sleeping, lighting, cooking, storage."}],
"related_products": [{"product_id": 1001, "relationship": "camping tent"}],
"related_collections": [{"collection_id": 201, "relationship": "related"}],
"commercial_info": {"business_model": ["B2C", "B2B"]},
"geo_score": "92.50",
"source_content_hash": "8b7f4e1d7e8b4d6c9a7f2e5c1d3b6a8f4e9c2d7b5a1f6e8c3d9b4a7e2f5c8d1",
"created_at": "2026-08-19 16:52:42",
"updated_at": "2026-08-20 00:01:29"
},
"message": "success"
}
返回字段说明
返回字段即页面 GEO 数据字段,完整字段说明见 GEO-自定义页面-保存。
| 字段 | 类型 | 说明 |
|---|---|---|
code |
int | 状态码,200 表示成功 |
message |
string | 执行结果的文字描述 |
data |
object | 页面 GEO 数据 |
data.id |
int | GEO 数据 ID(主键) |
data.page_id |
int | 自定义页面 ID |
data.language_code |
string | GEO 语言代码 |
data.geo_score |
number | GEO 数据完整度评分(0-100) |
data.source_content_hash |
string | 生成 GEO 时页面源数据的内容 hash |
data.created_at |
string | 创建时间 |
data.updated_at |
string | 更新时间 |
注意事项
page_id为必填,缺失时接口返回错误该页面的 GEO 数据不存在时返回
data为nullpage_id缺失时返回错误码100304001(page id is empty)