
Now supporting mainland China on ChatGPT, Gemini and Google
Set country to CN or HK on CHATGPT, GEMINI and GOOGLE tasks to get the answers users in mainland China and Hong Kong see.

Set payload.location on GOOGLE, AIMODE and GOOGLE_SERP tasks to get the AI Overview, AI Mode answer and search results a user at that place sees.
GOOGLE, AIMODE and GOOGLE_SERP tasks take payload.location and return the AI Overview, AI Mode answer and search results Google shows a user at the place you name: a station, a district or a street address.location in every located result, the same object ChatGPT and Gemini return: the place applied, its coordinates and the kind of place it matched.GEMINI tasks take a location in every country Gemini serves, now including Germany, the United Kingdom and Iran.Google answers for the precise location a phone or browser shares with it, so “flu shot near me” lists clinics around that point. For a located task, querying.ai shares the coordinates of your place the same way before the search runs, and Google answers as it does for a user standing there. The task’s country sets the market and the language of the results, and payload.location sets the point inside it.
In testing, AI Mode named the requested place in all 50 located answers, across eight Korean cities and ten places in the United States, Japan, Germany and the United Kingdom. AI Overviews reflected the place in all 18 located answers, and Gemini answered for the requested city in every completed answer from Germany and the United Kingdom.
Write the place the way people there write it, up to 200 characters, inside the task’s country. AI Mode, AI Overviews and search results all record it as location, with query, name, latitude, longitude and precision.
Send the request with your API key in the Authorization header.
curl -X POST https://api.querying.ai/v1/async/task \
-H "Authorization: Bearer $QUERYING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"taskType": "AIMODE",
"payload": {
"query": "where can I get a flu shot near me",
"country": "HK",
"location": "旺角"
}
}'taskTypestringRequiredCHATGPT or GOOGLE.payload.querystringRequiredpayload.countrystringUS, KR or JP. Default US.payload.locationstringcountry, such as a station, district or street address, up to 200 characters. The engine answers as a user standing there. For CHATGPT, GEMINI, GOOGLE, AIMODE and GOOGLE_SERP.webhook.urlstringidempotencyKeystringA finished task looks like this, trimmed for length.
{
"success": true,
"task": {
"id": "22ae7f29-df83-425a-b614-606c50c81502",
"taskType": "AIMODE",
"status": "COMPLETED",
"createdAt": "2026-10-03T17:54:37.189Z"
},
"credits": { "creditsToCharge": 2, "creditsCharged": 2 },
"response": {
"markdown": "In the **Yau Tsim Mong District** and across Hong Kong, you can get your seasonal influenza vaccination (flu shot) through private medical clinics, private group medical practices, or subsidized public channels…\n\nHere are a few options located right in your area:\n\n- **Private Medical Groups & Clinics:**\n - **Local Private General Practice Clinics:** Many neighborhood private clinics across Yau Ma Tei, Tsim Sha Tsui, and Mong Kok offer walk-in or appointment-based flu jabs.\n…",
"sources": [
{
"position": 1,
"url": "https://www.chp.gov.hk/en/features/18630.html",
"label": "CHP Government Vaccination Programme"
}
],
"location": {
"name": "旺角, 亞皆老街, 旺角, 油尖旺區, 九龍, 香港, 中国",
"query": "旺角",
"latitude": 22.31931,
"longitude": 114.16981,
"precision": "railway"
}
}
}task.statusstringQUEUED, PROCESSING, then COMPLETED with the answer or FAILED with error.credits.creditsChargedintegerresponse.textstringresponse.markdownstringresponse.sourcesarrayposition, url and label.response.locationobjectquery, name, latitude, longitude and precision.The request returns the task right away with status QUEUED. Poll GET /v1/async/task/{id} until status is COMPLETED or FAILED, or add webhook.url and the finished task arrives at your server with the same task, credits and response. Results stay available for 24 hours after a task finishes.
curl https://api.querying.ai/v1/async/task/$TASK_ID \
-H "Authorization: Bearer $QUERYING_API_KEY"LOCATION_UNSUPPORTEDHTTP 422payload.location works on CHATGPT, GEMINI, GOOGLE, AIMODE and GOOGLE_SERP. Other engines return this code when you submit.LOCATION_NOT_FOUNDHTTP 422payload.location is unknown inside country. Add the district or city and send again.LOCATION_LOOKUP_UNAVAILABLEHTTP 503A located task costs the same as any other task on its engine, per completed task: 2 credits for AI Mode and AI Overviews, 1 credit for search results and 1 credit for Gemini.

Set country to CN or HK on CHATGPT, GEMINI and GOOGLE tasks to get the answers users in mainland China and Hong Kong see.

Set payload.location on CHATGPT and GEMINI tasks to get the answer a user at that place sees.
Get new product updates in your inbox.