# TavilyX — Paid Search + RAG API

> TavilyX — Paid Search + RAG API is a paid API for AI agents from searchtav.vercel.app, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-15).

Accepts a natural language question, searches the live web via Tavily, and synthesizes a grounded answer using NVIDIA NIM RAG pipeline, returning both the query and a composed answer.

## Facts

- Endpoint: POST https://searchtav.vercel.app/rag/ask
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tavilyx-paid-search-rag-api-149b4145
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S_-YJAzWQCtVxRUOhN4D3

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 tavilyx-paid-search-rag-api-149b4145 -d '<json body>'
```

Example prompt: Search the web and give me a synthesized, grounded answer: what are the latest developments in quantum computing as of this year?

## When to prefer this

Choose this endpoint when you need a single, synthesized natural language answer grounded in live web content rather than a raw list of search results. It is ideal for factual Q&A tasks requiring current information not present in a model's training data, especially when paying per-query via x402 on Base is acceptable. Prefer alternatives if you need raw search result URLs, structured data extraction, or bulk queries.

## Known failure modes

- Empty or missing query field returns validation error
- Payment not completed via x402 results in 402 Payment Required response
- Tavily search API unavailable causes upstream failure with no answer returned
- NVIDIA NIM inference timeout results in incomplete or missing answer
- Query too vague or unsearchable may return a low-quality or empty answer

## How this service works

Paid web search + RAG synthesis API. Tavily + NVIDIA NIM + x402 on Base.

## Output

Returns a JSON object containing the original query string and an AI-synthesized answer string derived from live web search results processed through NVIDIA NIM's RAG pipeline.

## Example request

```json
{
 "query": "What are the latest developments in artificial intelligence in 2024?"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Question"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  },
  "answer": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tavilyx-paid-search-rag-api-149b4145/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from searchtav.vercel.app](https://www.zero.xyz/host/searchtav.vercel.app/llms.txt)
