{"uid":"cap_2B8pdwADWxMdyFztDTLnK","slug":"vaaya-perplexity-web-search-2ac6be05","name":"Vaaya Perplexity Web Search","description":"Perplexity — web search over Perplexity's own retrieval index, the one behind its answer engine, returning ranked results with snippets plus `date` and `last_updated` per hit. Pass `query`; optional `max_results` (1-10), `search_recency_filter` (hour|day|week|month|year), `country` (ISO-2), `max_tokens_per_page` (trim the excerpt), `search_domain_filter` (array of domains to include, or `-domain.com` to exclude). The freshness signal is the differentiator — results carry when the page was last …","url":"https://vaaya.ai/api/run/perplexity/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":{"query":{"type":"string","maxLength":4000,"minLength":1},"country":{"type":"string","maxLength":2,"minLength":2},"max_results":{"type":"integer","maximum":10,"minimum":1},"max_tokens_per_page":{"type":"integer","maximum":4096,"minimum":64},"search_domain_filter":{"type":"array","items":{"type":"string"},"maxItems":10},"search_recency_filter":{"enum":["hour","day","week","month","year"],"type":"string"}},"additionalProperties":false},"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_g-R946kjCAdJqkqV78OPP","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":"Searches the web via Perplexity's retrieval index, returning ranked results with snippets, publish dates, and freshness signals","exampleAgentPrompt":"Search Perplexity for the latest news about OpenAI's new model releases from the past week, showing up to 5 results, and only include pages from techcrunch.com and theverge.com.","exampleUseCases":[{"title":"Breaking news monitoring for research","prompt":"Search for the latest news about the Federal Reserve interest rate decision from the past day — I want up to 10 results with freshness dates so I can see which coverage is most recent."},{"title":"Competitive intelligence with domain filtering","prompt":"Find recent articles about Anthropic's new product announcements from the past month, but only return results from reputable tech outlets — exclude reddit.com and exclude results older than a month."},{"title":"Country-specific market research","prompt":"Search for recent news about electric vehicle adoption trends in Germany, filter to results from the past week, and give me up to 8 results in German market context."}],"resultDescription":"Returns a ranked list of up to 10 web search results from Perplexity's retrieval index, each containing the page title, URL, a text snippet/excerpt, a publication date, and a last_updated timestamp indicating when the page was last crawled or modified. Results can be filtered by recency, country, and domain.","failureModes":["Empty query string returns validation error","max_results outside 1-10 range rejected","Invalid ISO-2 country code returns error","search_domain_filter array exceeds 10 items rejected","max_tokens_per_page outside 64-4096 range rejected","Very niche queries may return zero results","Payment failure (insufficient USDC balance) returns 402","Network timeout for slow Perplexity index responses"],"whenToPreferThis":"Choose this endpoint when freshness is critical — the date and last_updated fields per result make it ideal for monitoring recent developments, news tracking, and time-sensitive research. Prefer it over generic web search APIs when you need Perplexity's answer-engine-quality retrieval index with built-in recency filtering (hour/day/week/month/year). Use when you need domain allowlisting or blocklisting. Best for agents that need to know not just what's out there, but when it was published or updated.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T06:57:21.951Z","isFirstParty":false,"canonicalSlug":"vaaya-perplexity-web-search-2ac6be05"}