{"uid":"cap_HvMQCxlyvubGf4p125Tzw","slug":"vaaya-crw-search-web-search-with-optional-scraping-e14460d3","name":"Vaaya CRW Search — Web Search with Optional Scraping","description":"CRW — Search the web and optionally scrape the hits in one call. Pass `query`; optional `limit` (1-20, default 5), `tbs` (freshness: qdr:h|d|w|m|y), `sources` (web|news|images), `lang`, and `scrapeOptions` ({ formats, onlyMainContent }) to return full page content per hit instead of snippets.","url":"https://vaaya.ai/api/run/crw/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["query"],"properties":{"tbs":{"enum":["qdr:h","qdr:d","qdr:w","qdr:m","qdr:y"],"type":"string"},"lang":{"type":"string","maxLength":5,"minLength":2},"limit":{"type":"integer","maximum":20,"minimum":1},"query":{"type":"string","maxLength":2000,"minLength":1},"sources":{"type":"array","items":{"enum":["web","news","images"],"type":"string"}},"scrapeOptions":{"type":"object","additionalProperties":{}}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_uvhfJyw4meUj1jT_x29nk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search the web and optionally scrape full page content for each hit in a single API call, supporting freshness filters, source types, and language selection.","exampleAgentPrompt":"Search the web for 'AI regulation EU 2025' — limit to 10 results from the last week (news sources only) and scrape the full main content of each page so I can read the actual articles.","exampleUseCases":[{"title":"Fresh news aggregation with full text","prompt":"Search for news about 'OpenAI GPT-5 release' from the past 24 hours and scrape the full content of the top 8 hits so I can read what each article actually says."},{"title":"Competitive research with page content","prompt":"Find the top 10 web pages about 'Stripe competitor pricing' published this month and pull the full main content from each one so I can compare what they're saying."},{"title":"Multilingual web research","prompt":"Search the web for 'climate summit 2025 outcomes' in French, return 5 results from the past week, and scrape the full text of each page."}],"resultDescription":"A list of search result objects each containing the URL, title, and snippet; when scrapeOptions are provided, each result also includes the full page content (in specified formats such as markdown or HTML) and/or only the main article body, depending on the onlyMainContent flag.","failureModes":["Invalid or missing query returns a 400 error","Limit outside 1-20 range is rejected","Invalid tbs freshness string may return no results or an error","Scraping blocked pages (paywalls, bot-detection) may return empty content or partial results","Pages with heavy JavaScript may not render fully in scraped output","Rate limits or upstream search quota exhaustion returns 429 or error","Invalid sources enum value rejected"],"whenToPreferThis":"Choose this endpoint when you need to both search the web AND retrieve the actual content of the results in a single call, avoiding a separate scraping step. It is ideal when freshness matters (hourly, daily, weekly filters), when you need to restrict to news or image sources, or when you need multilingual results. Prefer it over a plain search API when snippets are insufficient and full page text is required for downstream processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T19:25:14.483Z","isFirstParty":false,"canonicalSlug":"vaaya-crw-search-web-search-with-optional-scraping-e14460d3"}