Exa vs Tavily for News and Recent Results (2026)
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Exa vs Tavily for News and Recent Results (2026)
Both APIs can return news from the last 7 days with one request. Pick Exa when you want to set the window to the minute (Exa's startPublishedDate takes a full ISO 8601 timestamp; published dates are estimates, and dates known only to the day are stamped 00:00 UTC), more than 20 results per call, coverage that reaches trade press and niche outlets, or a lower pay-as-you-go price per request. Pick Tavily when you already use it, or when you want a single topic="news" switch that turns on a published_date field for each result (beta; null when no date is detected) and relative shortcuts like time_range="week". In Exa, set category="news" plus start_published_date (Python) or startPublishedDate (TypeScript and REST). In Tavily, set topic="news" plus start_date or time_range.
Comparison at a glance
Exa /search | Tavily /search | |
|---|---|---|
| News switch | category: "news" (focuses retrieval on news) | topic: "news" (options: general, news, finance) |
| Date window | startPublishedDate / endPublishedDate, ISO 8601 date-time | start_date / end_date as YYYY-MM-DD, or time_range: day, week, month, year |
| What the date filter matches | Published date | Publish date |
| Published date on results | publishedDate, an estimate parsed from the page | published_date, Tavily's best estimate of when the page was published or last updated (beta; on automatically with topic: "news") |
| Max results per request | 100 (default 10) | 20 (default 10) |
| Page freshness control | contents.maxAgeHours, a cache-age limit from -1 to 720 hours. 0 requires content fetched within the last 60 seconds. Lite rejects this parameter with a 400 error. | max_age_hours, a cache-age limit from -1 to 720 hours; 0 always fetches live |
| Price | auto $7 / 1k requests and lite $4 / 1k requests, each including up to 10 results; both add $1 / 1k results above 10, and auto adds $1 / 1k pages for AI page summaries (lite does not support summaries) | basic, fast, ultra-fast: 1 credit; advanced: 2 credits. Credits cost $0.008 pay-as-you-go, $0.0075 to $0.005 on monthly plans |
| Free tier | $10 in credits each month (up to 2,500 Lite searches) | 1,000 credits each month |
Exa's news guide says new articles become searchable within minutes of publication. Tavily's docs say its news topic is useful for real-time updates, particularly politics, sports, and major current events covered by mainstream media. Neither vendor publishes a head-to-head freshness benchmark, so test both on your own queries if freshness is critical.
"Last 7 days" news search: code
Each example gets news about AI chip export rules published in the last 7 days. Both SDKs read the API key from the environment (EXA_API_KEY, TAVILY_API_KEY).
Exa, Python (pip install exa-py)
from datetime import datetime, timedelta, timezone
from exa_py import Exa
exa = Exa() # reads EXA_API_KEY
since = (datetime.now(timezone.utc) - timedelta(days=7)).strftime("%Y-%m-%dT%H:%M:%S.000Z")
result = exa.search(
"news coverage of AI chip export rules",
type="auto", # "lite" also accepts category and date filters
category="news",
num_results=10,
start_published_date=since,
contents={"highlights": True},
)
for r in result.results:
print(r.published_date, r.title, r.url)
print(r.highlights)
Exa, TypeScript (npm install exa-js)
import Exa from "exa-js";
const exa = new Exa(); // reads EXA_API_KEY
const since = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000).toISOString();
const result = await exa.search("news coverage of AI chip export rules", {
type: "auto", // "lite" also accepts category and date filters
category: "news",
numResults: 10,
startPublishedDate: since,
contents: { highlights: true },
});
for (const r of result.results) {
console.log(r.publishedDate, r.title, r.url);
console.log(r.highlights);
}
The Python SDK uses snake_case (num_results, start_published_date). The TypeScript SDK and the REST API use camelCase (numResults, startPublishedDate). Category values are lowercase.
Tavily, Python (pip install tavily-python)
from datetime import date, timedelta
from tavily import TavilyClient
client = TavilyClient() # reads TAVILY_API_KEY
response = client.search(
"AI chip export rules",
topic="news",
start_date=(date.today() - timedelta(days=7)).isoformat(), # YYYY-MM-DD
max_results=10,
filter_by_published_date=True, # optional: drop undated or out-of-window results
)
for r in response["results"]:
print(r.get("published_date"), r["title"], r["url"])
print(r["content"])
Tavily, TypeScript (npm install @tavily/core)
import { tavily } from "@tavily/core";
const client = tavily(); // reads TAVILY_API_KEY
const startDate = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000)
.toISOString()
.slice(0, 10); // YYYY-MM-DD
const response = await client.search("AI chip export rules", {
topic: "news",
startDate,
maxResults: 10,
filterByPublishedDate: true, // optional
});
for (const r of response.results) {
console.log(r.publishedDate, r.title, r.url);
console.log(r.content);
}
For a rolling window in Tavily, time_range="week" (timeRange: "week" in TypeScript) is a shortcut. Use start_date when you need the window to be exactly 7 calendar days. Some older Tavily examples pass days with the news topic; the SDKs still accept it, but the current API reference documents time_range and start_date instead.
Details that change results
Exa
categoryselects category-specific retrieval. It is not an arbitrary domain allowlist. UseincludeDomainsto restrict results to particular outlets.- Exa recommends putting the time window in the query or using publication-date filters for newer publications, and reserving
contents.maxAgeHoursfor pages whose content changes after publishing. lite($4 / 1k requests, typical latency about 200 ms per Exa's docs) supportscategory,startPublishedDate, andendPublishedDate. It serves content from Exa's cache only and rejectscontents.maxAgeHours,contents.summary, andoutputSchemawith a 400 error. If the page text itself has to be fresh, useautoand setcontents.maxAgeHours(for example0for content fetched within the last 60 seconds). When bothcontents.maxAgeHoursand legacycontents.livecrawlare omitted, Search uses cached page content only.publishedDateis an estimate and may be missing on some results.textandhighlightson/searchadd no extra cost. AI page summaries are billed separately at $1 / 1k pages (litedoesn't support them).
Tavily
- Date filters match a page's publish date, not its last update. Updating an old article does not by itself bring it into a recent publication-date window.
- By default, results with no detectable published date are kept.
filter_by_published_date: trueremoves them along with any result outside the window. max_age_hourscontrols how recent Tavily's cached copy of each page must be. It does not cost more credits but can add latency, and results whose cached copy is too old and can't be fetched live are left out.
When to pick each
Pick Exa if:
- You want to set the window to the minute, such as "since 09:00 UTC yesterday". Exa filters accept full timestamps; Tavily's take a date. Exa's published dates are estimates, and a date known only to the day is stamped 00:00 UTC, so a window that starts mid-day can leave out some articles from that day.
- You want more than 20 results in one call (Exa allows up to 100).
- Your queries describe the story, the source type, or the phase of a developing event in natural language. Exa's news guide covers major publications, trade press, and niche outlets.
- You run high volume on pay-as-you-go:
liteis $4 / 1k requests andautois $7 / 1k, each covering up to 10 results (results above 10 cost extra on both; AI page summaries cost extra onautoand aren't available onlite).
Pick Tavily if:
- Your agent already uses Tavily for search, extract, or crawl, and news is one more call.
- Your news needs center on mainstream coverage of politics, sports, and major current events, which is how Tavily describes its news topic.
- You prefer relative windows (
day,week,month) and want published dates switched on automatically for news. - You want an LLM answer in the same call with
include_answer, or a monthly plan where basic searches cost $0.005 to $0.0075 each.
If the choice is close, run the same five or ten real queries through both with a 7-day window and compare dates, sources, and relevance. That will tell you more than any general comparison.
Facts checked on 2026-11-05
Every product fact above was checked against these pages on 2026-11-05, along with the published SDK source for exa-py 2.27.0, exa-js 2.27.0, tavily-python 0.8.5, and @tavily/core 1.0.0.
- Exa Search API reference: https://exa.ai/docs/reference/search.md
- Exa Search quickstart (search types, latency, Lite parameters): https://exa.ai/docs/search/quickstart.md
- Exa search best practices: https://exa.ai/docs/search/best-practices.md
- Exa news guide: https://exa.ai/docs/search/data/news.md
- Exa pricing: https://exa.ai/docs/admin/pricing.md
- Tavily Search API reference: https://docs.tavily.com/documentation/api-reference/endpoint/search
- Tavily search best practices: https://docs.tavily.com/documentation/best-practices/best-practices-search
- Tavily credits and pricing: https://docs.tavily.com/documentation/api-credits and https://www.tavily.com/pricing
Prices and parameters change. Check the pages above before you commit to either API.