Web search for agents
Beyond Tavily? Test the other search APIs on one key.
Run Exa, Firecrawl and Tavily search with the same SandBase key and balance, send the same query to each, and keep the one whose results your agent uses best.
curl --fail-with-body \
-X POST "https://api.sandbase.ai/v1/api/exa/search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "model context protocol explained",
"numResults": 3,
"type": "auto"
}'Ran 2026-11-24 (UTC): returned 3 results with title and URL. Page text and highlights only come back when you set contents.
Schema & pricing- One API keyAcross data APIs and AI models
- One balanceUsage billed through SandBase
- Inspect before you runPublic schemas and endpoint prices
Three search APIs, one request format.
Each endpoint has its own price and Playground. Failed calls are not charged.
Search by meaning, not keywords
Ask in natural language and get ranked pages, with optional highlights or text, domain filters, categories and date ranges. $0.0105 per call.
- results[].title
- results[].url
- results[].publishedDate (when known)
Search and get page content in one call
Run a web search and read the matching text, useful when the agent would scrape the top results anyway. $0.015 per call.
- data.web[].url
- data.web[].title
- data.web[].description
Keep Tavily, drop the separate account
The same Tavily search with depth, topic and domain filters and an optional generated answer, billed from your SandBase balance. $0.008 basic, $0.016 advanced.
- results[].content
- results[].score
- answer when include_answer is true
When to switch, and when to stay on Tavily.
Prices checked 2026-11-24 (UTC). SandBase does not make Tavily cheaper: its Tavily prices match Tavily pay as you go.
Read the quickstart Coming from Exa instead? Compare Exa alternatives- You only use Tavily and stay within its free credits
- Stay on Tavily. It gives 1,000 free credits a month with no card, and a basic search is 1 credit.
- Your volume is steady and high
- A Tavily plan is cheaper. Plans run from $0.0075 down to $0.005 per credit, against $0.008 on pay as you go and on SandBase.
- You want to compare search engines on your own queries
- Use SandBase. One key reaches Exa, Firecrawl and Tavily, so you can replay the same queries against each and compare results and cost per answer.
- Search, page extraction and a model on one bill
- Use SandBase. The same balance pays for search, extraction, other data APIs and OpenAI-compatible model calls, with every call listed in Usage.
- Exa Websets, monitors or the Exa agent
- Not on SandBase. It lists Exa search and contents. Use Exa directly for the rest.
Build from a small first request.
Pick 20 real queries
Use queries from your own agent logs rather than benchmark questions, and include some that need fresh news.
Send each query to all three
POST the same query to /v1/api/exa/search, /v1/api/firecrawl/search and /v1/api/tavily/search with your SandBase key as the Bearer token.
Compare the sources and the bill
Check which results your agent actually cited, then read the cost of each call in Usage before you commit to one.
Before your first call.
What is the best Tavily alternative?
It depends on the query. Exa searches by meaning and suits research and discovery questions. Firecrawl search returns page content with the results. Neither is better for every query, so test your own queries on each. SandBase lets you call all three with one key.
Is Exa cheaper than Tavily?
Not through SandBase. Exa search is $0.0105 per call here and a basic Tavily search is $0.008. Exa also prices search directly, with its own free tier and per-request rates, so compare on exa.ai/pricing for high volume.
Is SandBase cheaper than using Tavily directly?
No. SandBase bills the Tavily endpoints at Tavily pay-as-you-go rates: $0.008 for a basic search and $0.016 for an advanced one. Tavily itself is cheaper if you stay within its 1,000 free monthly credits or buy a plan.
Do I need a Tavily or Exa account?
No. A SandBase key calls these endpoints directly. It is not a Tavily or Exa account, so features not listed on the SandBase endpoint pages are not included.
Do the three APIs return the same fields?
No. Field names and parameters differ (for example max_results for Tavily, numResults for Exa, limit for Firecrawl), so a switch needs a small adapter. Each endpoint page lists its schema.
Replay your own queries on three search APIs.
Create a key, send one query to each endpoint, and compare results and cost.
SandBase is an independent service. Tavily, Exa and Firecrawl are trademarks of their respective owners. This page does not imply affiliation or endorsement. Tavily prices are from docs.tavily.com on 2026-11-24 (UTC) and may change.
