Skip to content
Gridlode
Docs · Reference

Google AI Mode

GET /v1/search/google/ai-mode6 credits / requestcache 60 min

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.

Query parameters

q
string · required
Question or search query to ask Google AI Mode.
gl
string
Country to ask from, e.g. us, gb, in. AI Mode is not available everywhere.
Default: "us"
hl
string
Answer language, e.g. en.
Default: "en"
location
string
Ask as if from this place, e.g. 'Austin,Texas,United States'.
Default: null
device
string
Desktop or mobile.
Default: "desktop"
Allowed: desktop, mobile
max_age
integer
Accept a cached answer up to this many seconds old, billed at 50%.

Response data fields

    Example

    curl "https://api.gridlode.com/v1/search/google/ai-mode?q=what%20is%20the%20best%20way%20to%20learn%20python" \
      -H "Authorization: Bearer $GRIDLODE_KEY"

    Try it without code on the Google AI Mode API page.