{"uid":"cap_Rvk0W-_tEap-7B-qeefSK","slug":"openwebninja-google-ai-mode-search-512dfa8d","name":"OpenWebNinja Google AI Mode Search","description":"40+ public web-data, SERP, e-commerce, real-estate, finance and AI-search APIs, payable per call over x402 (USDC on Base, Polygon, Arbitrum). No account or API key required. Most endpoints $0.003; AI-model endpoints $0.005.","url":"https://x402.openwebninja.com/google-ai-mode/ai-mode","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"gl":{"type":"string","default":"us"},"hl":{"type":"string","default":"en"},"prompt":{"type":"string"},"session_token":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","properties":{"session_token":{"type":"string","description":"Token used to maintain session context for follow-up interactions"}}},"status":{"type":"string","description":"The status of the API response"},"parameters":{"type":"object","properties":{"gl":{"type":"string","description":"Geolocation/country code used for localization"},"hl":{"type":"string","description":"Language code used for localization"},"prompt":{"type":"string","description":"The input prompt provided by the user"}}},"request_id":{"type":"string","description":"A unique identifier for the API request"}}}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NHTZnUF2NAnGZf1KH9mMR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Queries Google's AI Mode search experience with a prompt and returns AI-generated answers with session continuity support","exampleAgentPrompt":"Search Google AI Mode for 'what are the best practices for training large language models in 2025' in English for the US region and give me the AI-generated answer.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing an AI-generated answer to the prompt, a session token for follow-up queries, a unique request ID, and echoed parameters including the prompt, language code (hl), and geolocation code (gl).","failureModes":["Missing required 'prompt' query parameter returns a validation error","Invalid or expired session_token may break conversation continuity","Unsupported method type (POST, PUT) returns a method-not-allowed error","Rate limiting or payment failure returns a 402 Payment Required error","Google AI Mode service unavailability causes upstream errors"],"whenToPreferThis":"Use this endpoint when you need to access Google's AI Mode search experience programmatically — especially when you want AI-synthesized answers rather than raw search result links, need session continuity for multi-turn research conversations, or require localized results by country and language code. Prefer this over generic web scraping or standard search APIs when the user specifically wants Google's AI-generated overview-style answers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:58.402Z","isFirstParty":false}