{"uid":"cap_DEdazn_egJYgWGvxKZv-m","slug":"agents-litescrape-com-ask-google-ai-mode-f30ae38e","name":"Ask Google AI Mode","description":"Returns the answer Google generates on its AI Mode surface as ordered text_blocks (paragraphs and lists) together with the references it cited (index, source, link). Answers are generated per request, so the same question will not return identical prose twice. Set continuable to receive a subsequent_request_token, then send it with a new question to follow up within 30 minutes; image_url adds a public image to the prompt via Google Lens. Allow up to 120 seconds for a response. One call is one request.","url":"https://agents.litescrape.com/api/google/ai-mode","method":"GET","headers":{},"bodySchema":{"type":"object","required":["q"],"properties":{"q":{"type":"string","maxLength":2048,"description":"The question to ask."},"gl":{"type":"string","maxLength":2,"minLength":2,"description":"Two-letter country code for result localization, lowercase."},"hl":{"type":"string","default":"en","description":"Interface and result language code, such as en, en-GB, or de."},"uule":{"type":"string","maxLength":2048,"description":"Pre-encoded Google location token. Conflicts with location."},"device":{"enum":["desktop","tablet","mobile"],"type":"string","default":"desktop","description":"Device layout Google renders."},"location":{"type":"string","maxLength":512,"description":"Human-readable search origin, such as Austin, Texas. Conflicts with uule."},"image_url":{"type":"string","format":"uri","maxLength":2048,"description":"Public http or https image, up to 20 MB, to include in the prompt."},"continuable":{"type":"boolean","default":false,"description":"Return a subsequent_request_token so this answer can be followed up."},"google_domain":{"type":"string","default":"google.com","description":"Google domain to query, such as google.com or google.co.uk."},"subsequent_request_token":{"type":"string","description":"Token from a previous continuable answer. Requires a new q; cannot be combined with image_url. Expires after 30 minutes."}}},"responseSchema":{"type":"object","properties":{"pagination":{"type":"object","description":"Present when more results exist: next (a ready-made URL for the next page) or next_page_token."},"references":{"type":"array","items":{"type":"object"},"description":"Sources the answer cited: index, source, link."},"text_blocks":{"type":"array","items":{"type":"object"},"description":"Ordered answer blocks: paragraphs (snippet) and lists (list items with title and snippet)."},"search_metadata":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"total_time_taken":{"type":"number"}}},"search_parameters":{"type":"object","description":"The request parameters as normalized by the API."},"subsequent_request_token":{"type":"string","description":"Present when continuable was set; send it with the next question within 30 minutes."}},"description":"Successful responses carry request metadata, the normalized parameters, and the result groups available for the operation. Optional groups are omitted when the source does not provide them. Errors are a JSON body with error, error_code, status_code, request_id, retryable, and the echoed search_parameters."},"example":null,"exampleRequest":null,"tags":[],"displayCostAmount":"0.000150","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"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-mpp","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":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-18T17:29:14.626Z","isFirstParty":false}