{
 "kind": "api",
 "slug": "tavily",
 "path": "apis/tavily/",
 "name": "Tavily",
 "logo": "https://agentgid.com/media/avatars/tavily-ai.png",
 "maker": null,
 "density": "full",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Web search APIs",
   "apis/web-search/"
  ]
 ],
 "lead": "Live web search and page reading for AI.",
 "chips": [
  {
   "label": "Web search APIs",
   "path": "apis/web-search/"
  },
  {
   "label": "Up · live status",
   "live": true
  },
  {
   "label": "Official MCP server"
  }
 ],
 "primary": {
  "label": "Copy prompt for your agent",
  "copy": "Add Tavily web search to my app on the server: use tavily-python 0.8.5, read TAVILY_API_KEY from .env, send the results and their links to the model, and on 429 wait for Retry-After before retrying."
 },
 "links": [
  {
   "label": "Website",
   "href": "https://www.tavily.com"
  },
  {
   "label": "Pricing",
   "href": "https://docs.tavily.com/documentation/api-credits"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/tavily-ai/tavily-python"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free every month",
   "status": "yes",
   "sub": "Then from $30/mo",
   "quote": null,
   "note": "Free tier: 1,000 API credits/month, no credit card. As reported on the official pricing page, checked Oct 31, 2026.",
   "src": "https://docs.tavily.com/documentation/api-credits"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "With conditions",
   "status": "cond",
   "sub": "Trains on your data",
   "quote": "license, sublicense, resell, distribute, lease, rent, lend, transfer, assign or otherwise dispose of the Services (provided, that integration of the Services in Customer Applications in accordance with this Agreement will not constitute a violation of this subsection)",
   "note": "You may build the service into your own app; the service itself may not be resold, sublicensed or passed on.",
   "src": "https://www.tavily.com/terms"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "API key, server only",
   "status": "info",
   "sub": "Env var TAVILY_API_KEY",
   "quote": "api_key = os.getenv(\"TAVILY_API_KEY\")",
   "note": "API key sent as Authorization Bearer tvly-...; search and extract also work keyless with the X-Tavily-Access-Mode keyless header, rate-limited",
   "src": "https://github.com/tavily-ai/tavily-python/blob/master/tavily/tavily.py"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official MCP server",
   "status": "yes",
   "sub": "llms.txt · OpenAPI · SDK",
   "quote": "Connect Tavily's search, extract, crawl, map, and research tools to Claude, ChatGPT, Codex, Cursor, VS Code, or any MCP client.",
   "note": " Our agent check: 6 of 6 (Nov 13, 2026).",
   "src": "https://docs.tavily.com/documentation/mcp.md"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 31, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Tavily does",
   "parts": [
    {
     "t": "prose",
     "text": "Tavily is an online service that lets an AI assistant or your app search the web and read pages. It returns cleaned text from the most relevant sources instead of raw web pages, so the AI can answer with current facts and links. It can also map and crawl whole sites and write a research report with citations."
    },
    {
     "t": "list",
     "items": [
      "Tavily is one of 27 APIs in the Web search APIs category on AgentGid.",
      "At $8 per 1,000 requests it is the 13th cheapest of the 14 that publish a per-request price (cheapest: Serply, $0.75).",
      "Its cheapest paid plan ($30 a month) is the 7th cheapest of the 12 here with a monthly plan.",
      "It is one of 20 that can be started for free.",
      "It ships an official MCP server, like 12 others here.",
      "Its official SDK is the 3rd most downloaded in the category (2.1M a week)."
     ],
     "muted": true
    },
    {
     "t": "h3",
     "text": "What people build with it"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Chatbot answers with fresh sources",
       "text": "Your assistant looks up today's information on the web before it answers, and shows the links it used, instead of guessing from old training data.",
       "idea": false
      },
      {
       "title": "Read a page you already have",
       "text": "Give it the address of an article or product page and get back its main text, ready for the AI to summarize or quote.",
       "idea": false
      },
      {
       "title": "Load a whole docs site into your bot",
       "text": "Point it at the start of a help center or documentation site and it reads many pages at once, so your chatbot can answer from all of them.",
       "idea": false
      },
      {
       "title": "A research report with citations",
       "text": "Ask a bigger question, such as comparing two tools, and get back a written report that cites the pages it used.",
       "idea": false
      },
      {
       "title": "Daily news digest on your topic",
       "text": "Each morning your app searches recent news on one subject and sends a short summary with links to you or your users.",
       "idea": true
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Tavily popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "2.1M",
       "l": "SDK downloads a week",
       "d": "-0.4% on the 4-week average",
       "up": false
      },
      {
       "n": "424",
       "l": "public agent repos use its SDK"
      },
      {
       "n": "1,433",
       "l": "GitHub stars, tavily-ai/tavily-python"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "1,000 API credits/month, no credit card"
      },
      {
       "l": "Cheapest plan",
       "v": "$30 a month"
      },
      {
       "l": "Usage price",
       "v": "$0.008 per credit (pay as you go); monthly plans $0.0075-$0.005 per credit"
      },
      {
       "l": "Plans",
       "v": "Basic search = 1 credit, advanced search = 2 credits; extract = 1 credit per 5 URLs (basic). Project plan $30/mo = 4,000 credits (price from docs table; the tavily.com/pricing slider did not render). Research: 4-250 credits per request. Credits reset on the 1st of each month."
      }
     ]
    },
    {
     "t": "h3",
     "text": "What one action costs"
    },
    {
     "t": "table",
     "head": [
      "Action",
      "Price"
     ],
     "num": true,
     "rows": [
      [
       "1 credit (one basic search, or 5 successful basic page extractions), pay as you go",
       "$0.008"
      ],
      [
       "4,000 credits a month on the Project plan",
       "$30"
      ],
      [
       "1,000 credits a month on the free Researcher plan",
       "Free"
      ]
     ]
    },
    {
     "t": "more",
     "items": [
      {
       "title": "Price history",
       "items": [
        "1 change in our catalog since Oct 9, 2026, last on Oct 9, 2026."
       ]
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 31, 2026. Prices change: confirm before you buy.",
     "link": "docs.tavily.com/documentation/api-credits",
     "href": "https://docs.tavily.com/documentation/api-credits"
    }
   ]
  },
  {
   "id": "limits",
   "nav": null,
   "spy_as": "pricing",
   "h2": "Limits",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Keyless (no account)",
       "v": "Search and extract only, free but rate-limited; crawl, map and research need a key",
       "src": "https://docs.tavily.com/documentation/keyless.md"
      },
      {
       "l": "Development key / Production key",
       "v": "100 / 1,000 requests a minute",
       "src": "https://docs.tavily.com/documentation/rate-limits.md"
      },
      {
       "l": "All keys, research",
       "v": "20 new research tasks a minute",
       "src": "https://docs.tavily.com/documentation/rate-limits.md"
      },
      {
       "l": "Production keys",
       "v": "Need a paid plan or pay-as-you-go turned on",
       "src": "https://docs.tavily.com/documentation/rate-limits.md"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official docs.",
     "link": "docs.tavily.com/documentation/keyless.md",
     "href": "https://docs.tavily.com/documentation/keyless.md"
    }
   ]
  },
  {
   "id": "status",
   "nav": "Status",
   "h2": "Status and incidents",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Right now",
       "v": "Up",
       "status": "yes",
       "sub": "All Systems Operational"
      },
      {
       "l": "Last 30 days",
       "v": "0 incidents, 0 of them major"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official status page, checked Nov 23, 2026.",
     "link": "status.tavily.com",
     "href": "https://status.tavily.com"
    }
   ]
  },
  {
   "id": "access",
   "nav": "Access and terms",
   "h2": "Key and access",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "How it signs in",
       "v": "API key sent as Authorization Bearer tvly-...; search and extract also work keyless with the X-Tavily-Access-Mode keyless header, rate-limited"
      },
      {
       "l": "Environment variable",
       "v": "TAVILY_API_KEY",
       "code": true
      },
      {
       "l": "Safe in browser code",
       "v": "No, keep it on your server",
       "status": "no"
      },
      {
       "l": "Card at sign-up",
       "v": "No"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Steps only a person can do"
    },
    {
     "t": "list",
     "items": [
      "Sign up at app.tavily.com and create an API key (free, no credit card). Read TAVILY_API_KEY from .env on the server; the person pastes the key there, not into the chat.",
      "Choose a monthly plan or turn on pay-as-you-go before production traffic, and set a spending limit. Handle 432 and 433 by stopping and telling the person instead of retrying."
     ]
    }
   ]
  },
  {
   "id": "terms",
   "nav": null,
   "spy_as": "access",
   "h2": "Commercial use and your data",
   "parts": [
    {
     "t": "prose",
     "text": "It is a paid online service with a free monthly allowance, not open source. You may build it into your own app, but you may not resell or pass on the service itself. The Python client library is MIT."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid app",
       "v": "With conditions",
       "status": "cond",
       "sub": "You may build the service into your own app; the service itself may not be resold, sublicensed or passed on.",
       "quote": "license, sublicense, resell, distribute, lease, rent, lend, transfer, assign or otherwise dispose of the Services (provided, that integration of the Services in Customer Applications in accordance with this Agreement will not constitute a violation of this subsection)",
       "src": "https://www.tavily.com/terms"
      },
      {
       "l": "redistribute-files",
       "v": "No",
       "status": "no",
       "sub": "The service and its software may not be copied, resold or distributed; only the open-source client library (MIT) can be redistributed.",
       "quote": "modify, copy, disclose, alter, translate or create derivative works of the Services",
       "src": "https://www.tavily.com/terms"
      },
      {
       "l": "client-work",
       "v": "With conditions",
       "status": "cond",
       "sub": "Allowed when your app serves third-party end users, if your own terms and privacy notice cover their use and data.",
       "quote": "If the Customer Application involves providing access to the Services by end users who are third parties outside of Customer's organization",
       "src": "https://www.tavily.com/terms"
      },
      {
       "l": "Trains on what you send",
       "v": "“Tavily and its third-party artificial intelligence service providers may use, process, analyze, and retain Customer Input submitted to the AI Functionality and Outputs generated by the AI Functionality for purposes of training, improving, developing, and enhancing artificial intelligence models”",
       "quote": null,
       "src": "https://www.tavily.com/terms"
      },
      {
       "l": "Keeps your data",
       "v": "“Secure & Scalable – SOC 2 certified, zero data retention, and built to handle high-volume workloads.”",
       "quote": null,
       "src": "https://docs.tavily.com/faq/faq.md"
      },
      {
       "l": "Where data is stored",
       "v": "“The EU endpoint is currently available for selected customer evaluations, initially focused on existing customers.”",
       "quote": null,
       "src": "https://www.tavily.com/eu"
      }
     ]
    }
   ]
  },
  {
   "id": "errors",
   "nav": null,
   "spy_as": "access",
   "h2": "Errors to handle",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "401 Unauthorized",
       "v": "The API key is wrong or missing.",
       "sub": "Check TAVILY_API_KEY; do not retry with the same key."
      },
      {
       "l": "429 Too Many Requests",
       "v": "Too many requests for your key's rate limit.",
       "sub": "Retry with backoff after the Retry-After seconds; use the status and header, not the message text."
      },
      {
       "l": "432 Key or plan limit exceeded",
       "v": "The request goes over your plan's or key's set usage limit.",
       "sub": "Top up by upgrading the plan or raising the key limit; do not retry."
      },
      {
       "l": "433 PayGo limit exceeded",
       "v": "The request goes over your pay-as-you-go spending limit.",
       "sub": "Raise the limit on the Tavily dashboard, or wait for the next month."
      },
      {
       "l": "434 Flex tier capacity exceeded",
       "v": "On non-paying plans, a search with max_age_hours (live page fetching) was refused under heavy load.",
       "sub": "Retry shortly, or leave out max_age_hours to be served from cache."
      }
     ]
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "6 of 6: llms.txt yes, OpenAPI yes, SDK yes, MCP yes, status page yes, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "Tavily remote MCP (hosted at mcp.tavily.com; sign-in, API key or keyless header)",
       "sub": "claude mcp add tavily --transport http https://mcp.tavily.com/mcp/"
      },
      {
       "l": "npm",
       "v": "npm install @tavily/core",
       "code": true
      },
      {
       "l": "PyPI",
       "v": "pip install tavily-python",
       "code": true
      }
     ]
    },
    {
     "t": "h3",
     "text": "Instructions in its docs to check first"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "The docs say",
       "v": "“Paste this into any AI assistant to let it set up Tavily itself:”",
       "sub": "The prompt tells the assistant to install an MCP server and run test searches; ask the person before changing their tool setup."
      },
      {
       "l": "The docs say",
       "v": "“Installing the CLI also installs Agent Skills for coding agents like Claude Code, Cursor, and Codex — they remind the agent to use Tavily for search, extract, crawl, and research.”",
       "sub": "Ask the person first; the CLI login opens a browser and the skills change how their coding agents behave."
      },
      {
       "l": "The docs say",
       "v": "“When you hit a limit, Tavily returns natural-language instructions telling your agent what happened and how to continue.”",
       "sub": "In our run the message offered paying via x402 or signing up; never pay or sign up on the person's behalf, report the limit and ask."
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Tavily",
       "me": true,
       "facts": [
        "$8 / 1k requests",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Exa",
       "why": "Pick Exa for neural web search with page contents and deep-research runs; its list price per 1,000 requests is lower in our catalog.",
       "path": "apis/exa/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "Parallel",
       "why": "Pick Parallel for agent-oriented search, extraction, deep-research tasks and web monitoring with citations.",
       "path": "apis/parallel/",
       "facts": [
        "$1 / 1k requests",
        "Free tier",
        "Official MCP"
       ]
      },
      {
       "name": "SerpApi",
       "why": "Pick SerpApi when you need Google and other search engine result pages as structured data.",
       "path": "apis/serpapi/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      }
     ],
     "more": "All web search apis APIs",
     "more_path": "apis/web-search/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Add Tavily web search to my app on the server: use tavily-python 0.8.5, read TAVILY_API_KEY from .env, send the results and their links to the model, and on 429 wait for Retry-After before retrying."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Try one search with no account and no key (free, capped per day).",
       "code": "curl -X POST https://api.tavily.com/search \\\n -H \"Content-Type: application/json\" \\\n -H \"X-Tavily-Access-Mode: keyless\" \\\n -d '{\"query\": \"latest AI news\", \"max_results\": 3}'",
       "src": "https://docs.tavily.com/documentation/keyless.md"
      },
      {
       "text": "For more use, sign up for a free key (1,000 credits a month, no credit card) and install the Python package.",
       "code": "pip install tavily-python",
       "src": "https://docs.tavily.com/sdk/python/quick-start.md"
      },
      {
       "text": "Make the first search with your key (example from the official quickstart).",
       "code": "from tavily import TavilyClient\ntavily_client = TavilyClient(api_key=\"tvly-YOUR_API_KEY\")\nresponse = tavily_client.search(\"Who is Leo Messi?\")\nprint(response)",
       "src": "https://docs.tavily.com/sdk/python/quick-start.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "First request"
    },
    {
     "t": "tabs",
     "label": "First request",
     "items": [
      {
       "tab": "Request",
       "code": "from tavily import TavilyClient\ntavily_client = TavilyClient(api_key=\"tvly-YOUR_API_KEY\")\nresponse = tavily_client.search(\"Who is Leo Messi?\")\nprint(response)",
       "intro": "Request from the quickstart; response trimmed from the Python reference example (its images part and the second result left out). The REST equivalent is POST https://api.tavily.com/search with an Authorization Bearer header."
      },
      {
       "tab": "Response",
       "code": "{\n\"query\": \"Who is Leo Messi?\",\n\"results\": [\n{\n\"title\": \"Source 1 Title\",\n\"url\": \"Source 1 URL\",\n\"content\": \"Source 1 Content\",\n\"score\": 0.99,\n\"favicon\": \"https://example.com/favicon.ico\",\n\"id\": \"a3f9c2-00\"\n},\n...\n],\n\"response_time\": 1.09,\n\"request_id\": \"123e4567-e89b-12d3-a456-426614174111\"\n}"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Calling crawl, map or research in keyless mode (TavilyClient() with no key).",
       "fix": "Create a free key and pass it, or set TAVILY_API_KEY; keyless covers search and extract only.",
       "why": "The other methods raise an error saying an API key is required."
      },
      {
       "dont": "Shipping the tvly- key in front-end code or committing it to a repository.",
       "fix": "Keep TAVILY_API_KEY in the server environment; if it leaked, revoke it and create a new one in the dashboard.",
       "why": "Anyone who reads the key can spend your credits."
      },
      {
       "dont": "Retrying by matching the error message text.",
       "fix": "Branch on the HTTP status (429, 432, 433, 434) and wait for the Retry-After header on 429.",
       "why": "Messages vary by limit; the docs say to use status and header."
      },
      {
       "dont": "Showing include_answer as the final answer to users.",
       "fix": "Use the sources and their content; treat the short answer only as a seed and check it against the sources.",
       "why": "The docs recommend avoiding include_answer unless a quick seed is needed."
      },
      {
       "dont": "Paying through x402 when the keyless cap is hit because the error suggests it.",
       "fix": "Stop and ask the person; they can sign up for a free key instead.",
       "why": "The keyless limit message offers an agent payment in USDC; spending money needs the person's consent."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Can I try it without signing up?",
       "a": "Yes. Search and page reading work with no account and no key, for free, with a daily cap.",
       "evidence": {
        "url": "https://docs.tavily.com/documentation/keyless.md",
        "quote": "Use Tavily Search and Extract for free, with zero setup. No account, no API key, no configuration."
       }
      },
      {
       "q": "What does the free plan include?",
       "a": "1,000 credits every month with no credit card. A basic search uses 1 credit.",
       "evidence": {
        "url": "https://docs.tavily.com/documentation/api-credits.md",
        "quote": "You get 1,000 free API Credits every month. No credit card required."
       }
      },
      {
       "q": "What happens when my credits run out?",
       "a": "Requests stop until the credits reset on the first of the month or you upgrade.",
       "evidence": {
        "url": "https://www.tavily.com/pricing",
        "quote": "Your API credits reset on the first day of each month, regardless of the billing date."
       }
      },
      {
       "q": "Can I put the key in my web page?",
       "a": "No. Keep it in an environment variable on your server; a key exposed in browser code counts as leaked.",
       "evidence": {
        "url": "https://docs.tavily.com/documentation/best-practices/api-key-management.md",
        "quote": "Never hardcode API keys in your source code. Always use environment variables or a secure secrets manager to store your credentials."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "Tavily"
  ],
  [
   "Category",
   "Web search APIs"
  ],
  [
   "Status",
   "Up · 0 incidents in 30 days"
  ],
  [
   "Price",
   "$8 / 1k requests"
  ],
  [
   "Plans from",
   "$30/mo"
  ],
  [
   "Official SDK",
   "npm @tavily/core, PyPI tavily-python"
  ],
  [
   "Latest SDK",
   "0.8.5 on npm"
  ],
  [
   "Agent check",
   "6 of 6"
  ],
  [
   "Pricing checked",
   "Oct 31, 2026"
  ]
 ],
 "good": [
  "Search and page reading work without an account, for free, but with a daily cap. Crawling, site maps and research reports need a key.",
  "A free account gives 1,000 credits a month with no credit card. A basic search costs 1 credit, an advanced search 2 credits.",
  "Credits reset on the first day of each month. When they run out, requests stop until the reset or an upgrade."
 ],
 "checked_line": "Read by AgentGid from 29 official pages, card checked Nov 10, 2026; usage numbers update daily."
}