ChangelogNew

Get conversational answers from Google AI Mode

Google AI Mode
A Google AI Mode answer on wireless earbuds next to its JSON result

Ask Google AI Mode a question from the market you choose and receive its conversational answer with the pages it cites.

What you get

  • text: the full AI Mode answer, usually longer and more detailed than an AI Overview.
  • sources: the pages the answer cites, with URL and title.
  • A task type of its own, AIMODE, so AI Mode and AI Overviews are measured as separate surfaces.

How it works

AI Mode is Google’s conversational search: a question gets a full written answer with links to the pages behind it. Each task asks your query in AI Mode from the country you set and returns the answer and its sources as people in that market see them.

AI Mode answers comparison and recommendation questions in depth and names the brands it recommends. Track it next to AI Overviews to see how the same query plays out on both surfaces.

Where it helps

  • Track the recommendation and comparison queries where AI Mode names brands.
  • Compare the pages AI Mode cites with those in AI Overviews for the same query.

Send a request

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": "best robot vacuum for pet hair",
      "country": "US"
    }
  }'

Request fields

taskTypestringRequired
The engine to run, such as CHATGPT or GOOGLE.
payload.querystringRequired
The search query, written the way a user types it into the search box.
payload.countrystring
Two-letter country code of the market to ask from, such as US, KR or JP. Default US.
webhook.urlstring
An HTTPS address on your server. The finished task is posted there the moment it completes.
idempotencyKeystring
Your own ID for the request. Each key creates one task per account, so a retried send stays a single task.

Response

A finished task looks like this, trimmed for length.

JSON
{
  "success": true,
  "task": {
    "id": "937d9eb6-4b33-49fd-b164-df8e2911b964",
    "taskType": "AIMODE",
    "status": "COMPLETED",
    "createdAt": "2026-10-02T17:16:57.384Z"
  },
  "credits": { "creditsToCharge": 2, "creditsCharged": 2 },
  "response": {
    "markdown": "The **Dreame X50 Ultra** is the overall **best robot vacuum for pet hair**, offering a massive **20,000Pa of suction** and an anti-tangle dual-brush system specifically designed to prevent pet hair wrap.\n\nWhen shopping for a pet hair-focused robot vacuum, comparing suction power, brush design, and price helps identify the right model for your home and budget.\n\n| Model | Key Pet Hair Features | Approx. Price | Best For |\n| --- | --- | --- | --- |\n| **Dreame X50 Ultra** | 20,000Pa suction, Detangling DuoBrush | ~$900 | Heavy shedding & thick carpets |\n| **Roborock Saros Z70** | 5-axis mechanical arm, ultra-thin 7.98 cm body | ~$1,000 | Moving pet toys & low furniture |\n…",
    "shoppingCards": [
      {
        "position": 1,
        "title": "Dreame X50 Ultra",
        "price": { "raw": "$899.99", "value": 899.99, "currency": "$" },
        "store": "Dreametech",
        "rating": 4.5,
        "reviews": "538"
      }
    ],
    "inlineProducts": [
      {
        "position": 1,
        "title": "Dreame X50 Ultra",
        "productLink": "https://www.google.com/search?ibp=oshop&prds=pvt:hg,…"
      }
    ]
  }
}
task.statusstring
QUEUED, PROCESSING, then COMPLETED with the answer or FAILED with error.
credits.creditsChargedinteger
Credits charged for the finished task. A failed task charges 0.
response.textstring
The answer as plain text.
response.markdownstring
The answer with its headings, lists and tables, in every result.
response.sourcesarray
The pages the answer cites, in the engine’s order, each with position, url and label.
response.shoppingCardsarray
Product cards shown with the answer: title, price, store, rating and product link.
response.inlineProductsarray
Product names linked inside the answer’s sentences, with position and productLink.

Receive the result

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"

Pricing

Each completed AI Mode task uses 2 credits.

More updates

Stay in the loop

Get new product updates in your inbox.

RSS feed