# vaaya.ai

> vaaya.ai is a paid API for AI agents from vaaya.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

## Facts

- Endpoint: POST https://vaaya.ai/api/run/perplexity/search
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-run-perplexity-search-2ac6be05
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2B8pdwADWxMdyFztDTLnK

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-run-perplexity-search-2ac6be05 -d '<json body>'
```

## How this service works

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 …

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-run-perplexity-search-2ac6be05/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vaaya.ai](https://www.zero.xyz/host/vaaya.ai/llms.txt)
