产品线 · SERP API|已上线
SERP API:以结构化 JSON 获取 Google 搜索结果。
Google 自然搜索结果,附带真实落地页 URL,排名最多覆盖 10 页,支持国家、语言及城市定向。异步任务,实时查看进度。
●真实落地页 URL · 前 10 至前 100 名 · 按页计费
POST /v1/tasks · google_serp
// 1. Create a task
POST https://api.floweno.com/v1/tasks
X-API-Key: flw_live_…
{
"type": "google_serp",
"q": "emergency plumber",
"depth": 10,
"gl": "GB",
"hl": "en",
"location": "Manchester,England,United Kingdom"
}
// 2. Long-poll until done
GET https://api.floweno.com/v1/tasks/{task_id}?wait=60
{
"task_id": "803e64c4-3013-4a47-a229-6080199e4330",
"type": "google_serp",
"status": "done",
"units": 1,
"cost_micro": 500,
"charged": true,
"result": {
"schema_version": "1",
"keyword": "emergency plumber",
"gl": "GB",
"hl": "en",
"pages_requested": 1,
"pages_fetched": 1,
"stop_reason": "depth_reached",
"items": [
{
"type": "organic",
"rank_group": 1,
"rank_absolute": 1,
"page": 1,
"domain": "www.britishgas.co.uk",
"title": "…",
"url": "https://www.britishgas.co.uk/plumbing/services.html",
"url_resolved": true,
"google_url": "https://www.google.com/goto?url=…",
"breadcrumb": "…",
"description": "…"
}
]
}
}页面按限定速率逐页抓取,因此深度越大耗时越长:前 100 名可能需要 10–15 分钟。可使用 ?wait= 轮询并查看进度。
自然结果附带真实 URL
每条自然结果均包含排名、标题、描述、面包屑及真实落地页 URL。Google 现已将目标 URL 隐藏在 /goto 链接之后,我们会为您自动解析。
国家、语言与城市
gl 和 hl 分别设置国家与语言;location 按 Google Ads 名称定向到城市或地区,可通过 GET /v1/serp/locations 自动补全。
前 10 至前 100 名
depth 取值 10 到 100,步长为 10。同一任务的所有页面来自同一会话,确保跨页排名一致。
按实际抓取页数计费
每 1,000 个 Google 结果页(每页 10 条)US$0.50。我们预扣 depth/10 页的费用,仅按实际返回的页数扣费;失败任务不收费。