Skip to content
Gridlode
Launching soonSearch engines6 credits / request

Google AI Mode API

The answer Google AI Mode gives to a question, as text (Markdown), with every source it cites (title, link, site), plus any products and videos it shows. Use it to track whether and how your brand or pages are cited in Google's AI answers. AI Mode is not available in every country or language. Results come from a licensed results feed; failed requests are never charged.

GEThttps://api.gridlode.com/v1/search/google/ai-mode
This engine is built and switches on as soon as our licensed results feed is connected. Join early access through the contact form and we'll email you on launch day.

Parameters

NameTypeDescription
qrequiredstringQuestion or search query to ask Google AI Mode.
glstringCountry to ask from, e.g. us, gb, in. AI Mode is not available everywhere.
Default: "us"
hlstringAnswer language, e.g. en.
Default: "en"
locationstringAsk as if from this place, e.g. 'Austin,Texas,United States'.
Default: null
devicestringDesktop or mobile.
Default: "desktop"
One of: desktop, mobile
max_ageintegerAccept a cached answer up to this many seconds old, billed at 50%. Default 0 (always fresh).

Response fields

    Code

    curl "https://api.gridlode.com/v1/search/google/ai-mode?q=what%20is%20the%20best%20way%20to%20learn%20python" \
      -H "Authorization: Bearer $GRIDLODE_KEY"
    6 credits per request
    One credit is $0.001 on the smallest pack, from $0.0003 on enterprise plans.
    Half price for cached data
    Cached for up to 1 h. Pass max_age to use it.
    Failed requests are free
    Blocks, timeouts and target errors never cost credits.

    Market reference: SerpApi Google AI Mode $15 → $7.50 per 1k; SearchAPI $4 per 1k.

    Questions

    How much does the Google AI Mode API cost?

    6 credits per request. One credit costs $0.001 on the smallest pack and as little as $0.0003 on enterprise plans. Cached answers cost half and failed calls are free.

    Search engines
    All 23 in Search engines · 15 live
    Soon

    Google Search

    One Google results page for any query, country, language, city-level location and device

    3 credits / pageDocs
    Live

    Google Autocomplete

    The keyword suggestions Google shows while someone types, for any partial query, language and country

    1 credit / requestTry freeDocs