# Tavily Search

> Tavily Search is a paid API for AI agents from Tavily at tavily.mpp.paywithlocus.com, paid per call via MPP, $0.09 (basic) / $0.16 (advanced) (dynamic), status unknown (last checked 2026-10-10).

Performs AI-optimized web search with optional AI-generated answers, image results, and domain filtering

## Facts

- Endpoint: POST https://tavily.mpp.paywithlocus.com/tavily/search?utm_source=zero.xyz
- Price: $0.09 (basic) / $0.16 (advanced) (dynamic)
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: Tavily
- Docs: https://docs.tavily.com
- Website: https://tavily.com
- Tags: ai-search, web-search, extraction, crawling, search, web
- Canonical page: https://www.zero.xyz/c/tavily-search-23570190
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rn_qm48pD7hNlX2u36XUy

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 tavily-search-23570190 -d '<json body>'
```

Example prompt: Search the web for the latest news about OpenAI's new model releases from the past 3 days, use advanced search depth, include an AI-generated answer, and limit to 8 results from the US.

## When to prefer this

Use Tavily Search when you need AI-optimized web search results with optional AI-synthesized answers, domain filtering, recency filtering, or news-specific search. Prefer this over generic search APIs when the agent needs structured, LLM-friendly output with source URLs and optional raw content for downstream processing.

## Known failure modes

- Empty query string returns validation error
- Invalid topic value (not 'general' or 'news') may return error or default behavior
- Invalid country code may return no country-filtered results
- Overly restrictive domain inclusion yields zero results
- Rate limiting or quota exhaustion returns 429 or payment-related error
- Invalid search_depth value may fall back to basic

## How this service works

Execute a web search query optimized for AI agents. Returns relevant results with optional AI-generated answer.

## Output

Returns a list of web search results (title, URL, snippet, and optionally raw HTML), an optional AI-generated answer synthesizing the results, and optionally related images — all filtered and ranked according to the query parameters provided.

## Example request

```json
{
 "query": "test"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "days": {
   "type": "number",
   "description": "Only return results from the last N days"
  },
  "query": {
   "type": "string",
   "description": "Search query"
  },
  "topic": {
   "type": "string",
   "description": "Topic category: 'general' (default) or 'news'"
  },
  "country": {
   "type": "string",
   "description": "Country code for search results (e.g. \"us\", \"gb\")"
  },
  "max_results": {
   "type": "number",
   "description": "Maximum number of results (default 5)"
  },
  "search_depth": {
   "type": "string",
   "description": "Search depth: 'basic' (default) or 'advanced'"
  },
  "include_answer": {
   "anyOf": [
    {
     "type": "boolean"
    },
    {
     "type": "string"
    }
   ],
   "description": "Include AI-generated answer: true, false, or 'advanced'"
  },
  "include_images": {
   "type": "boolean",
   "description": "Include related images in results"
  },
  "exclude_domains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Exclude results from these domains"
  },
  "include_domains": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Only include results from these domains"
  },
  "include_raw_content": {
   "type": "boolean",
   "description": "Include raw HTML content in results"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tavily-search-23570190/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tavily.mpp.paywithlocus.com](https://www.zero.xyz/host/tavily.mpp.paywithlocus.com/llms.txt)
