
ChatGPT、Gemini 和 Google 现已支持中国大陆
在 CHATGPT、GEMINI 和 GOOGLE 任务中将 country 设为 CN 或 HK,即可获得中国大陆和香港用户看到的回答。

GEMINI 结果现在包含 Gemini 在回答中展示的商品卡片和地点。
shoppingCards:Gemini 展示的商品卡片,包含名称、位置、价格、商店、评分、评价数、缩略图,以及指向 Google 商品页的 productLink。inlineProducts:回答正文中带链接的商品,包含名称、位置和 productLink。map:询问地点时 Gemini 推荐的地点,包含地址、坐标、电话、网站、Google 地图链接、评分和类别。当你问 Gemini 买什么、去哪里时,答案有很大一部分在正文之外:一排带价格的商品卡片,或地图上的一串地点。现在这些内容会作为结构化字段出现在 text 旁边,并按 Gemini 展示的顺序排列,通过 position 就能知道哪个商品或地点排在最前。
price 的格式为 {value, currency, raw},方便比较各商店的价格。每个地点都带有 placeId、包含 address、latitude 和 longitude 的 location,以及包含评分、评价数和来源的 reviews。商品卡片的名称也保留在 text 中,因此按回答正文统计提及次数的结果保持一致。
在 Authorization 请求头中带上 API 密钥发送请求。
curl -X POST https://api.querying.ai/v1/async/task \
-H "Authorization: Bearer $QUERYING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"taskType": "GEMINI",
"payload": {
"prompt": "Best ramen near me",
"country": "US",
"location": "East Village, New York"
}
}'taskTypestring必填CHATGPT 或 GOOGLE。payload.promptstring必填payload.countrystringUS、KR、JP。默认 US。payload.locationstringcountry 内的地点,例如车站、街区或街道地址,最多 200 个字符。引擎会按身处该地点的用户作答。适用于 CHATGPT、GEMINI、GOOGLE、AIMODE 和 GOOGLE_SERP。payload.include.markdownbooleantrue 会附带 markdown:保留标题、列表、表格和链接的回答。完成的任务如下所示,已截取部分内容。
{
"success": true,
"task": {
"id": "685aad4a-3191-4215-9d2a-93ada8376185",
"taskType": "GEMINI",
"status": "COMPLETED",
"createdAt": "2026-10-02T15:51:49.105Z"
},
"credits": { "creditsToCharge": 1, "creditsCharged": 1 },
"response": {
"text": "**[IPPUDO NY](https://maps.google.com/?cid=13390953617500975094)** · ★ 4.4 (5,519) · Restaurant · 65 4th Ave, New York, NY 10003\n…",
"map": [
{
"position": 4,
"name": "IPPUDO NY",
"category": "Restaurant",
"location": {
"address": "65 4th Ave, New York, NY 10003",
"latitude": 40.730948,
"longitude": -73.990287
},
"reviews": [
{ "count": 5519, "rating": 4.4, "providerName": "Google" }
],
"phoneNumber": "+1 212-388-0088",
"url": "https://www.ippudous.com/east-village",
"mapsUrl": "https://maps.google.com/?cid=13390953617500975094"
}
],
"location": {
"name": "East Village, Manhattan Community Board 3, Manhattan, New York County, New York, 10003, United States",
"query": "East Village, New York",
"latitude": 40.72927,
"longitude": -73.98736,
"precision": "neighbourhood"
}
}
}response.maparrayresponse.shoppingCardsarrayresponse.inlineProductsarrayposition 和 productLink。response.locationobjectquery、name、latitude、longitude 和 precision。请求会立即返回 status 为 QUEUED 的任务。用 GET /v1/async/task/{id} 轮询,直到 status 变为 COMPLETED 或 FAILED;或者加上 webhook.url,在服务器上接收同样的 task、credits 和 response。任务结束后,结果保留 24 小时供查询。
curl https://api.querying.ai/v1/async/task/$TASK_ID \
-H "Authorization: Bearer $QUERYING_API_KEY"价格保持每个完成的任务 1 个积分,商品和地点均包含在内。

在 CHATGPT、GEMINI 和 GOOGLE 任务中将 country 设为 CN 或 HK,即可获得中国大陆和香港用户看到的回答。

在 GOOGLE、AIMODE 和 GOOGLE_SERP 任务中设置 payload.location,即可获得身处该地点的用户看到的 AI Overview、AI Mode 回答和搜索结果。
通过邮件接收产品更新。