vaaya / tools / perplexity

Perplexity for AI agents

Perplexity is available to your agents through Vaaya, alongside hundreds of other tools, over one connection. The retrieval index behind the answer engine. You never create a Perplexity account, hold its API key, or carry its subscription: Vaaya meters each call and rolls it into one bill.

npx @vaaya/mcp install

Every search engine ranks by relevance. Very few tell you when the page was last touched, and for a whole class of agent questions that is the only thing that matters. What does this API cost today. Is this endpoint still in beta. What did the changelog say this week. Perplexity's search endpoint returns, for every hit, a publication date and a last-updated date, and lets you filter to pages from the last hour. It is the index behind Perplexity's own answer engine, exposed as a plain search.

What Perplexity does well

Two dates per hit. date and last_updated come back on every result. An agent can rank by freshness itself, or discard anything untouched since a cutoff, without fetching the page.

Recency filter to the hour. search_recency_filter accepts hour, day, week, month, or year. For breaking questions, hour is the setting no other engine in the network offers.

The answer engine's index. The retrieval index is the one Perplexity's product uses, tuned for questions rather than keyword matching.

Scoped results. A search_domain_filter of up to ten domains, a country code, and a max_tokens_per_page control on how much snippet text comes back.

Actions and prices through Vaaya

Action What it does Price
perplexity/search Ranked results with snippets, date and last_updated per hit; recency, domain, and country filters; 1 to 10 results 1¢ per call

Priced before the call, billed only on success, under max_cost_cents.

A real call

{
  "service": "perplexity",
  "action": "search",
  "params": {
    "query": "Stripe MPP stablecoin minimum charge",
    "search_recency_filter": "week",
    "search_domain_filter": ["docs.stripe.com", "stripe.com"],
    "max_results": 5
  },
  "max_cost_cents": 1
}

Five results from Stripe's own domains touched in the last week, each with its dates, for a cent. A ceiling of zero is refused before the call runs.

When to pick Perplexity, and when not to

Pick Perplexity when freshness decides the answer: prices, statuses, changelogs, availability, anything a stale page would get wrong. Pick it as the corroborating source when Exa's semantic result looks right but might be old.

Pick Exa for descriptive queries where recall matters and for sweeps beyond ten results. Pick Tavily or Linkup when you want the answer written. Pick Brave for an independent keyword index or news with source and age. Pick Valyu for the paper itself.

Gotchas

Results cap at ten per call; this is a precision tool, not a sweep tool. The recency filter applies to the index's view of freshness; corroborate a critical date by reading the page. Perplexity's answer product (Sonar) is not what this calls; this is the search index, priced flat, and the agent writes its own answer from it.

Perplexity's documentation is at docs.perplexity.ai. The search recipe is at /recipes/search-scrape.

Questions

What is the Perplexity Search API?

Direct access to the retrieval index behind Perplexity's answer engine. It returns ranked results with snippets, and each result carries both a publication date and a last-updated date, with an optional recency filter of hour, day, week, month, or year and a domain filter of up to ten sites.

How much does a Perplexity search cost through Vaaya?

One cent per call, up to ten results. Priced before the call and billed only on success, under the maximum cost the agent states.

When is Perplexity the right search for an agent?

When how recent a page is decides the answer. A pricing page, a changelog, a status, or anything where a stale evergreen result would mislead. The per-hit dates and the hour-level recency filter are what the other engines do not offer.

The facts

Category

Web search & scraping

Access

Vaaya MCP, or HTTP with one Vaaya API key

Calls available

1 capability on Vaaya: Deep research

Billing

Per call, priced before it runs and charged only on success. Vaaya settles with Perplexity; you are billed the catalog price, which includes Vaaya’s margin

Data sent upstream

Only the parameters of the call your agent makes. Results are returned to you and recorded in your history

Credentials

Held server-side by Vaaya; your agent never receives a Perplexity key

Provider terms

Perplexity’s own terms apply to the underlying service, published at perplexity.ai

Relationship

Perplexity is available through Vaaya. Vaaya holds the account and settles the usage; this page does not imply a partnership or endorsement by Perplexity.

How your agents use it

01

Connect Vaaya

One install wires Vaaya into your agent as an MCP server. Perplexity comes with it, no separate signup.

02

Describe the outcome

Your agent says what it needs in plain language. Vaaya routes it to Perplexity and returns the result.

03

Pay per call

Metered to the call and capped by your max. Every call on one bill. Failed calls are not billed.

Give your agents Perplexity.

Install Vaaya and your agent reaches Perplexity, and hundreds more tools, through one integration.

npx @vaaya/mcp install