# Tavily Answer Search

> Tavily searches the web for your question and returns a short answer with the pages it used, each with a relevance score.

- Type: SandBase tool
- Category: Search & web data
- Price: $0.008 per run, billed to your SandBase account
- Page: https://www.sandbase.ai/tools/research/tavily-search

## How it works

1. **Ask a question and pick a topic** Type a question in Question, up to 200 characters, such as What changed in the EU AI Act this year? Choose a Topic: General, News or Finance. News and Finance point the search at those kinds of sources, which helps for recent events and market questions.
2. **Send tavily/search with an answer** SandBase sends your question as query with your topic to tavily/search, turns include_answer on, fixes max_results at 8 and search_depth at basic. One request per question, billed to your SandBase account at $0.008 (Tavily's pay-as-you-go rate for a basic search).
3. **Check the answer against its sources** The page shows Tavily's short answer, then up to 8 source pages with title, link and relevance score, plus a results count and source domain count. Open the sources before relying on the answer. The full tavily/search JSON is under Raw API response.

## What people use it for

- **Writers**: Get a sourced starting point for a topic.
- **Analysts**: Check the latest news on a question.
- **Developers**: See what an agent search step returns.

## Tavily data with an API

```bash
curl -X POST https://api.sandbase.ai/v1/api/tavily/search \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "What changed in the EU AI Act this year?",
  "topic": "news",
  "include_answer": true,
  "max_results": 8,
  "search_depth": "basic"
}'
```

- [tavily/search API](https://www.sandbase.ai/apis/tavily/search)
- [All Tavily APIs](https://www.sandbase.ai/apis/tavily)

## FAQ

### Is the Tavily Answer Search answer written by AI?

Yes. Tavily writes a short answer from the results it found; check the listed sources before relying on it.

### What do News and Finance change in Tavily Answer Search?

They point Tavily Answer Search at news or finance sources, which helps for recent events and market questions.

### How many sources does Tavily Answer Search list?

Up to 8. Tavily Answer Search fixes max_results at 8 and uses basic search depth.

### What is the relevance score in Tavily Answer Search?

The relevance score is Tavily's rating of how well each page matches your question. Tavily Answer Search shows it beside every source.

### Is Tavily Answer Search free on tavily/search?

No. Each tavily/search run is billed to your SandBase account from the first call, at Tavily's own pay-as-you-go rate: $0.008 for a basic search, which this tool uses. It is not part of the daily free data-API allowance. The current price is on the page and in sandbase inspect. Pricing: https://www.sandbase.ai/pricing

### Can I get Tavily answers from the tavily/search API?

Yes. Send POST /v1/api/tavily/search with a SandBase API key, with query, topic, include_answer, max_results and search_depth. Tavily Answer Search shows the request example.
