How do I migrate from Tavily to Grounder?

Point Tavily code at Grounder's Tavily-shaped endpoint by changing the URL and sending a Grounder search key. Extract, Crawl and answers are not available.

Last checked

To move Tavily code to Grounder (grounder.net), change https://api.tavily.com/search to https://api.grounder.net/compat/tavily/search and send a Grounder search key in place of your Tavily key.

Last checked: 24 November 2026. Disclosure: Grounder (grounder.net) publishes this page. Tavily is a separate company's product.

What changes

TavilyGrounder's Tavily-shaped endpoint
URLPOST https://api.tavily.com/searchPOST https://api.grounder.net/compat/tavily/search
AuthorizationAuthorization: Bearer with a Tavily keyAuthorization: Bearer with a Grounder search key, also in Tavily's api_key body field; a search-scoped OAuth access token also works
Where results come fromTavily's searchThe sources Grounder chose for the question: their results, reached only where none of the source’s disallowed signals refuses it, or, if your account saved Grounder direct, their pages
Rate limit100 requests a minute on the free plan, 1,000 or more on paid plans120 requests a minute per key
Results per searchmax_results, 0 to 20, default 10Always 5; max_results is accepted and ignored
Free use1,000 free credits a month50 free searches a day per account
Other endpointsExtract, Crawl, Map, ResearchNot available

Request fields:

Tavily fieldOn GrounderNote
queryHonoredRequired
max_resultsAccepted, ignoredEvery search returns up to 5 results
daysAccepted, ignoredNo search takes a date window
start_date, end_dateAccepted, ignoredNo search takes a date window
include_domains, exclude_domainsAccepted, ignoredThe source chosen for the question decides the site
include_raw_contentHonoredraw_content is the result's text, not the full page
include_answerAccepted, ignoredanswer is always an empty string
include_imagesAccepted, ignoredimages is always an empty list
search_depth, topic, chunks_per_source, include_usageAccepted, ignored
time_range, country, language, exact_match, safe_search and any other fieldNot supportedIgnored

The response keeps Tavily's keys: query, follow_up_questions (null), answer, images, results, response_time (seconds) and request_id. Each result has id (canonical URL), title, url, content, score, published_date (null when unknown) and raw_content (null unless requested), plus a grounder object that holds licensed, rank, the server that returned the result and, for licensed results, publisher_name. No usage field is listed. score is the grounding server's own and is not comparable across servers; use grounder.rank for order.

Each question goes to sources chosen by hand, so the results are the answering sources' pages. A question no source fits goes to the wider web under the same rules; only a search nothing answers returns an empty results list. Every search leaves out results a site's rules refuse, so a call can return fewer than 5 results.

Steps

1. Make a search key

Make a key under Search keys on your account and store it as GROUNDER_KEY; it is shown once. It searches as your account does, the same way MCP does. An OAuth access token with the search scope works in its place; the API docs describe both.

2. Change the URL and key

Diff
- https://api.tavily.com/search
+ https://api.grounder.net/compat/tavily/search

Before:

Shell
curl https://api.tavily.com/search \
  -H "Authorization: Bearer $TAVILY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "what is the half-life of caffeine", "max_results": 5, "include_domains": ["nih.gov"], "time_range": "year"}'

After:

Shell
curl https://api.grounder.net/compat/tavily/search \
  -H "Authorization: Bearer $GROUNDER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "what is the half-life of caffeine"}'

3. Update your code

Python:

Python
import os

import requests

resp = requests.post(
    "https://api.grounder.net/compat/tavily/search",
    headers={"Authorization": f"Bearer {os.environ['GROUNDER_KEY']}"},
    json={
        "query": "what is the half-life of caffeine",
    },
    timeout=30,
)
resp.raise_for_status()
for r in resp.json()["results"]:
    print(r["url"], r["grounder"]["licensed"])

TypeScript (Node 18 or later, as an ES module):

TypeScript
const res = await fetch("https://api.grounder.net/compat/tavily/search", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.GROUNDER_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    query: "what is the half-life of caffeine",
  }),
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json();
for (const r of data.results) console.log(r.url, r.grounder.licensed);

With the official tavily-python SDK (version 0.8.5, released 6 October 2026), pass your search key as api_key and api_base_url="https://api.grounder.net/compat/tavily" to TavilyClient; the client appends /search and sends it as a Bearer header. Grounder's notes say the endpoint's response was parsed by the unmodified SDK without error (undated), so test it on your own code in step 5.

4. Check where your questions go

Grounder does not send a call to Tavily's search. Each question goes to sources Grounder chose for it, with chosen backups, so try real questions from your agent before you switch. When no chosen source holds the answer, Grounder searches the wider web under the same rules and says so.

5. Verify

Send 10 to 20 real queries to both APIs and compare result counts and URLs. Fewer results than expected usually means that no source fit the question or that a site's rules refused the way Grounder reached a result. The native endpoint says which: its response lists each source used with its status, and says so when none fit. Each call is a recorded search.

6. Use MCP instead

Add https://api.grounder.net/mcp to your MCP client and sign in with Google, GitHub or Apple. The search tool takes query and include_text; steps are in Docs.

Where Grounder fits

Realtime, direct agentic access to the world's information. Grounder is a search API and MCP server for AI agents. It sends each question to high-quality sources chosen by hand, and marks each result with its source and why it is licensed. It returns sources, not an answer. To read how a result is licensed, see what Grounder does about licensing.

FAQ

Is there a drop-in Tavily-compatible endpoint?

Yes: POST https://api.grounder.net/compat/tavily/search takes Tavily's request shape and returns Tavily's response shape plus a grounder object on each result. It accepts a Grounder search key, or an OAuth access token with the search scope.

Does it support search_depth, include_answer, Extract or Crawl?

No. search_depth and include_answer are accepted and ignored, and answer is always empty. Extract, Crawl, Map and Research are not available.

What happens to include_domains and exclude_domains?

They are accepted and ignored. The sources that answer the question decide which sites the results come from.

Do I need a new key?

Yes: a Grounder search key, made under Search keys on your account and shown once, goes where your Tavily key went. An OAuth access token with the search scope also works.

How many searches do I get?

You get 50 free searches a day, and no card is needed. For more, add credit on your account page.

Next step

Connect an MCP client to https://api.grounder.net/mcp, or make a search key and call the HTTP API.

Sources

  1. https://grounder.net/docs (24 November 2026)
  2. https://docs.tavily.com/documentation/api-reference/endpoint/search (24 November 2026)
  3. https://docs.tavily.com/documentation/rate-limits (24 November 2026)
  4. https://pypi.org/project/tavily-python/ and https://github.com/tavily-ai/tavily-python/blob/master/tavily/tavily.py (20 October 2026)
  5. https://grounder.net/pricing (24 November 2026)