Perplexity — web search over Perplexity's own retrieval index, the one behind its answer e
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 …
10000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-15
updated
Provider
vaaya.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x7c655d3d3944Bd27994dD81A036C3aFB19806C40",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 360
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"max_results": 5,
"query": "x402 payment protocol"
},
"bodyType": "json",
"method": "POST",
"pathParams": {},
"type": "http"
},
"output": {
"example": {
"charged_cents": 1,
"data": {},
"ok": true
},
"type": "json"
}
},
"routeTemplate": ":var1",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"country": {
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"max_results": {
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"max_tokens_per_page": {
"maximum": 4096,
"minimum": 64,
"type": "integer"
},
"query": {
"maxLength": 4000,
"minLength": 1,
"type": "string"
},
"search_domain_filter": {
"items": {
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"search_recency_filter": {
"enum": [
"hour",
"day",
"week",
"month",
"year"
],
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"pathParams": {
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://vaaya.ai/api/run/perplexity/search" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://vaaya.ai/api/run/perplexity/search");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://vaaya.ai/api/run/perplexity/search")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1015.json, and this resource appears in /discovery/resources and /discovery/search.