{"uid":"cap_bZC58knuaUsTII2U5VAKO","slug":"openweb-ninja-realtime-web-search-ai-mode-b9b859c9","name":"OpenWeb Ninja Realtime Web Search — AI Mode","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/realtime-web-search/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","required":["status","request_id","parameters","data"],"properties":{"data":{"type":"object","required":["reply_parts","reference_links"],"properties":{"reply_parts":{"type":"array","items":{"type":"object","required":["type"],"properties":{"list":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"title":{"type":"string","nullable":true}}},"nullable":true},"text":{"type":"string","nullable":true},"type":{"type":"string"},"images":{"type":"array","items":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"label":{"type":"string","nullable":true},"width":{"type":"integer","nullable":true},"height":{"type":"integer","nullable":true}}},"nullable":true},"ordered":{"type":"boolean","nullable":true}}}},"session_token":{"type":"string","nullable":true},"reference_links":{"type":"array","items":{"type":"object","required":["title","link"],"properties":{"date":{"type":"string","nullable":true},"link":{"type":"string"},"title":{"type":"string"},"source":{"type":"string","nullable":true},"favicon":{"type":"string","nullable":true},"snippet":{"type":"string","nullable":true}}}}}},"status":{"type":"string"},"parameters":{"type":"object","properties":{"gl":{"type":"string"},"hl":{"type":"string"},"tbs":{"type":"string","nullable":true},"prompt":{"type":"string"},"session_token":{"type":"string","nullable":true}}},"request_id":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_olpNZ8x0zrPQvLX_s7o5d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a natural-language prompt through an AI-powered real-time web search and returns a structured reply with text, lists, images, and reference links","exampleAgentPrompt":"Search the web right now for 'best practices for deploying LLMs in production 2025' and give me a structured AI-generated summary with sources — use English results from the US.","exampleUseCases":[{"title":"Real-time competitive research briefing","prompt":"Search the web for the latest news and announcements about OpenAI's GPT-5 and give me an AI summary with links to the sources — pull results in English from the US."},{"title":"Current event fact-check with citations","prompt":"I need a quick AI-generated answer with references: what is the current status of the US Federal Reserve's interest rate policy as of today?"},{"title":"Product research before purchase","prompt":"Search the web for reviews and comparisons of the Sony WH-1000XM6 headphones and give me a structured summary with key points and links to the reviews."}],"resultDescription":"A structured JSON object containing reply_parts (text blocks, ordered/unordered lists, and images), a list of reference_links (title, URL, source, snippet, date, favicon), request metadata including echo'd parameters, a status string, and an optional session_token for follow-up queries.","failureModes":["Missing required 'prompt' query parameter returns a validation error","Payment not provided or rejected over x402 results in HTTP 402 with payment instructions","Invalid gl/hl locale codes may return unexpected or empty results","Session token expiry may require starting a new session for follow-up queries","Rate limits or upstream search provider outages may cause 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a real-time, AI-synthesized answer to a natural language query with structured output (reply parts + reference links) and no account or API key — especially when you want Google AI-mode-style summarization at $0.003 per call payable via USDC over x402. Prefer it over raw SERP endpoints when you want a pre-synthesized answer rather than a list of raw search results, and over LLM-only endpoints when you need live, cited web data rather than training-data knowledge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:58:56.868Z","isFirstParty":false}