
ChatGPT answers drop to 1 credit
A ChatGPT answer costs half as many credits, and every plan includes more credits each month.

Set payload.location on CHATGPT and GEMINI tasks to get the answer a user at that place sees.
location in every located result: the coordinates the answer was asked from.Questions like “a good dentist nearby” or “where to eat lunch” depend on where the user is. ChatGPT and Gemini answer them for the user’s location, so the same prompt brings different clinics in Gangnam and in Busan. Set payload.location to a point inside the task’s country, and querying.ai asks the engine as a user standing there.
Send the point as latitude and longitude in decimal degrees, as in the request below. Map apps show these numbers for any spot you pick, and the Playground finds them for a place name. Each result carries the same point back as location.
Location works on CHATGPT, GEMINI, GOOGLE, AIMODE and GOOGLE_SERP tasks. The API checks the engine the moment you submit and returns LOCATION_UNSUPPORTED for any other engine, so every task that runs answers for the place you chose.
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": "CHATGPT",
"payload": {
"prompt": "Best coffee shops near me for working on a laptop",
"country": "US",
"location": { "latitude": 40.72288, "longitude": -73.99875 }
}
}'taskTypestringRequiredCHATGPT or GOOGLE.payload.promptstringRequiredpayload.countrystringUS, KR or JP. Default US.payload.locationobjectcountry, as latitude (-90 to 90) and longitude (-180 to 180) in decimal degrees, such as {"latitude": 37.4979, "longitude": 127.0276}. 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": "e5aba119-a26e-4f82-a965-35c9234a428b",
"taskType": "CHATGPT",
"status": "COMPLETED",
"createdAt": "2026-10-02T15:41:03.858Z"
},
"credits": { "creditsToCharge": 2, "creditsCharged": 2 },
"response": {
"text": "Here are several **nearby cafés that look particularly suitable for laptop work**, based on current local listings and work-friendly details:\n\n- The Lost Draft — **0.2 km away**. Laptop-friendly, with Wi-Fi, comfortable seating, and larger tables.\n…",
"sources": [
{
"position": 1,
"url": "https://awifiplace.com/cities/new-york",
"label": "Best Coffee Shops to Work in New York (2026) | 103 Cafes with WiFi",
"attribution": "A Wifi.Place"
}
],
"searchQueries": [
"best coffee shops for laptop work near me wifi outlets"
],
"location": { "latitude": 40.72288, "longitude": -73.99875 }
}
}task.statusstringQUEUED, PROCESSING, then COMPLETED with the answer or FAILED with error.credits.creditsChargedintegerresponse.textstringresponse.locationobjectlatitude and longitude.response.sourcesarrayposition, url and label.response.searchQueriesarrayThe 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.A located task costs the same as any other task on its engine: 2 credits for ChatGPT and 1 credit for Gemini, per completed task.

A ChatGPT answer costs half as many credits, and every plan includes more credits each month.
See which model answers logged-out ChatGPT, when the default changed and what each model’s answers carry, on a public page and an open API.
Get new product updates in your inbox.