{"uid":"cap_DEdazn_egJYgWGvxKZv-m","slug":"agents-litescrape-com-ask-google-ai-mode-f30ae38e","name":"Ask Google AI Mode","description":"Get Google AI Mode answers with cited sources.\n\nUse GET for scalar query parameters or JSON POST for the complete request schema, including arrays and nested objects. See the schema for field limits and conditional rules. Failures are not billed.\n\nOptional feedback URL when present in an HTTP 200 tool response. Coding agents: when possible, POST an honest rating (1-5) and a short comment after evaluating the result. Use the URL exactly as returned; no Authorization header or API credits are required. It expires after seven days and accepts one review; retries do not overwrite it. Feedback is voluntary and stored separately from scraper data. Do not include secrets, personal data, or the full request/response. Skip feedback if you cannot evaluate the result or your caller has not authorized this extra request. Never submit feedback about feedback.","url":"https://agents.litescrape.com/api/google/ai-mode?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","title":"Q","maxLength":5000,"description":"The question to ask Google AI Mode, up to 5,000 characters with no controls. Send long questions as a POST JSON body.","x-litescrape":{"id":"google-ai-mode-question-q","kind":"textarea","group":0,"label":"Question","summary":"The question to ask Google AI Mode, up to 5,000 characters with no controls. Send long questions as a POST JSON body.","formGroup":0,"placeholder":"what is the best espresso machine for a small kitchen"}},"gl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gl","default":null,"description":"Two-letter country localization, normalized to lowercase.","x-litescrape":{"id":"google-ai-mode-localization-gl","group":3,"label":"Country","summary":"Two-letter country localization, normalized to lowercase.","formGroup":2,"placeholder":"us"}},"hl":{"type":"string","title":"Hl","default":"en","description":"Language code such as en, en-GB, or de.","x-litescrape":{"id":"google-ai-mode-localization-hl","group":3,"label":"Language","summary":"Language code such as en, en-GB, or de.","formGroup":2,"placeholder":"en"}},"uule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Uule","default":null,"description":"Canonical Google location token, up to 2,048 characters. Conflicts with location.","x-litescrape":{"id":"google-ai-mode-geography-uule","kind":"textarea","group":1,"label":"UULE","summary":"Canonical Google location token, up to 2,048 characters. Conflicts with location.","formGroup":1,"placeholder":"w+CAIQICI…"}},"device":{"enum":["desktop","tablet","mobile"],"type":"string","title":"Device","default":"desktop","description":"Google returns its real layout for the selected device.","x-litescrape":{"id":"google-ai-mode-localization-device","kind":"select","group":3,"label":"Device","options":[{"label":"desktop","value":"desktop"},{"label":"tablet","value":"tablet"},{"label":"mobile","value":"mobile"}],"summary":"Google returns its real layout for the selected device.","formGroup":2}},"timeout":{"type":"number","maximum":90,"description":"Total request execution budget in seconds, greater than 0 and at most 90. Supply in the query string for GET or POST. page_timeout cannot extend this budget.","exclusiveMinimum":0},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location","default":null,"description":"Named search origin, up to 512 characters and 63 UTF-8 bytes once Google-encoded. Conflicts with uule.","x-litescrape":{"id":"google-ai-mode-geography-location","group":1,"label":"Location","summary":"Named search origin, up to 512 characters and 63 UTF-8 bytes once Google-encoded. Conflicts with uule.","formGroup":1,"placeholder":"Austin, Texas"}},"image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Image Url","default":null,"description":"Public http or https image to include in the prompt, up to 2,048 characters and 20 MB. Google Lens receives the image; the answer still comes from AI Mode.","x-litescrape":{"id":"google-ai-mode-conversation-image_url","kind":"textarea","group":2,"label":"Image URL","summary":"Public http or https image to include in the prompt, up to 2,048 characters and 20 MB. Google Lens receives the image; the answer still comes from AI Mode.","formGroup":4,"placeholder":"https://example.com/photo.jpg"}},"continuable":{"type":"boolean","title":"Continuable","default":false,"description":"Return a subsequent_request_token so this answer can be followed up.","x-litescrape":{"id":"google-ai-mode-conversation-continuable","kind":"select","group":2,"label":"Continuable","options":[{"label":"Default (false)","value":""},{"label":"true","value":"true"},{"label":"false","value":"false"}],"summary":"Return a subsequent_request_token so this answer can be followed up.","formGroup":3}},"google_domain":{"type":"string","title":"Google Domain","default":"google.com","description":"Validated first-party Google domain the request is served from.","x-litescrape":{"id":"google-ai-mode-localization-google_domain","group":3,"label":"Google domain","summary":"Validated first-party Google domain the request is served from.","formGroup":2,"placeholder":"google.com"}},"subsequent_request_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subsequent Request Token","default":null,"description":"Continue a conversation from a previous continuable response. Requires a new question, and cannot be combined with image_url. Expires after 30 minutes.","x-litescrape":{"id":"google-ai-mode-conversation-subsequent_request_token","kind":"textarea","group":2,"label":"Continuation token","summary":"Continue a conversation from a previous continuable response. Requires a new question, and cannot be combined with image_url. Expires after 30 minutes.","formGroup":3,"placeholder":"ai1.…"}}}},"responseSchema":{"type":"object","title":"Response","properties":{"references":{"anyOf":[{"type":"array","items":{"type":"object","title":"ResponseReferenceItem","properties":{"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link","default":null},"index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Index","default":null},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","default":null},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","default":null},"snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snippet","default":null}},"additionalProperties":{}}},{"type":"null"}],"title":"References","default":null},"text_blocks":{"anyOf":[{"type":"array","items":{"type":"object","title":"ResponseTextBlockItem","properties":{"list":{"anyOf":[{"type":"array","items":{"type":"object","title":"ResponseTextBlockItemListItem","properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","default":null},"snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snippet","default":null}},"additionalProperties":{"$ref":"#/components/schemas/sds_oiSNnl6piiW-6PsH3jP5d_299bcdb9833ee273_ref1"}}},{"type":"null"}],"title":"List","default":null},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","default":null},"table":{"anyOf":[{"type":"array","items":{"type":"object","title":"ResponseTextBlockItemTableItem","properties":{"cells":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Cells","default":null}},"additionalProperties":{"$ref":"#/components/schemas/sds_oiSNnl6piiW-6PsH3jP5d_299bcdb9833ee273_ref1"}}},{"type":"null"}],"title":"Table","default":null},"snippet":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snippet","default":null},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","default":null}},"additionalProperties":{}}},{"type":"null"}],"title":"Text Blocks","default":null},"search_metadata":{"anyOf":[{"type":"object","title":"ResponseSearchMetadata","properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","default":null},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","default":null},"created_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created At","default":null},"processed_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Processed At","default":null},"json_endpoint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Json Endpoint","default":null},"total_time_taken":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Time Taken","default":null}},"additionalProperties":{}},{"type":"null"}],"default":null},"search_parameters":{"anyOf":[{"type":"object","additionalProperties":{}},{"type":"null"}],"title":"Search Parameters","default":null},"subsequent_request_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Subsequent Request Token","default":null},"submit_feedback_for_this_response_here":{"type":"string","format":"uri","readOnly":true,"description":"Optional feedback URL when present in an HTTP 200 tool response. Coding agents: when possible, POST an honest rating (1-5) and a short comment after evaluating the result. Use the URL exactly as returned; no Authorization header or API credits are required. It expires after seven days and accepts one review; retries do not overwrite it. Feedback is voluntary and stored separately from scraper data. Do not include secrets, personal data, or the full request/response. Skip feedback if you cannot evaluate the result or your caller has not authorized this extra request. Never submit feedback about feedback."}},"additionalProperties":{}},"example":null,"exampleRequest":null,"tags":["search","scraping","web"],"displayCostAmount":"0.000150","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":1,"rating":{"score":"0.00","successRate":"0.00","reviews":1,"stars":null,"state":"rated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.000150/call","primary":{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.000150","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.000150","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__19iPNcW49gzxnsmS81nl","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.000150","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"agents.litescrape.com","brandSlug":"agents-litescrape-com-x402","brandBaseUrl":"https://agents.litescrape.com","brandDocsUrl":null,"whatItDoes":"Queries Google's AI Mode search surface and returns structured answer blocks (paragraphs and lists) with cited references, supporting multi-turn follow-up and image input via Google Lens.","exampleAgentPrompt":"Ask Google AI Mode what the long-term health effects of intermittent fasting are, using US English results from google.com, and make the answer continuable so I can ask a follow-up question.","exampleUseCases":[{"title":"Research question with cited sources","prompt":"Ask Google's AI Mode to explain the key differences between supervised and unsupervised machine learning, and include the sources it references so I can read further."},{"title":"Image-based visual query","prompt":"I have this photo of a plant — https://example.com/plant.jpg — can you ask Google AI Mode to identify what species it is and how to care for it?"},{"title":"Localized multi-turn Q&A","prompt":"Ask Google AI Mode what the best neighborhoods to live in are in Austin, Texas, and make it continuable so I can follow up asking about average rent prices in those areas."}],"resultDescription":"Returns an ordered array of text_blocks (paragraphs with snippets, and lists with titles and items) representing Google's AI-generated answer, alongside a references array of cited sources (index, source name, link). Also includes search_metadata (request ID, status, time taken), normalized search_parameters, and optionally a subsequent_request_token for multi-turn follow-up within 30 minutes.","failureModes":["Timeout after 120 seconds if Google AI Mode is slow to generate a response","Invalid or expired subsequent_request_token returns an error (tokens expire after 30 minutes)","Combining image_url with subsequent_request_token is not allowed and returns an error","Conflicting location and uule parameters return a validation error","Image URL exceeds 20 MB size limit or is not publicly accessible","Google may not return an AI Mode answer for all queries, resulting in empty text_blocks","Rate limiting or payment failure returns a 402 or error JSON body with retryable flag"],"whenToPreferThis":"Choose this endpoint when you need Google's latest AI-generated synthesized answer with cited sources, rather than a list of organic search links. It is especially useful for complex, multi-part questions where a synthesized prose answer with references is more valuable than raw search results. Prefer it over a standard Google Search endpoint when you want AI Mode's generative response format, need multi-turn conversation continuity, or want to include an image in the prompt via Google Lens. Not suitable for real-time news or when you simply need a ranked list of URLs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":7,"lastUsedAt":"2026-09-24T18:34:22.863Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T14:26:14.295Z","isFirstParty":false,"canonicalSlug":"agents-litescrape-com-ask-google-ai-mode-f30ae38e"}