T
$0.01
per call · USD Coin on Base
Tavily Search - advanced mode
Endpoint
POST https://x402.tavily.com/search1.6k
Calls / 30d
87
Unique payers / 30d
Sep 10
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://x402.tavily.com/search", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"end_date": "2026-05-28",
"exclude_domains": [
"example.com"
],
"include_answer": true,
"include_domains": [
"x402.org",
"docs.cdp.coinbase.com"
],
"include_images": true,
"include_raw_content": true,
"max_results": 5,
"query": "what is x402?",
"search_depth": "advanced",
"start_date": "2026-01-01",
"time_range": "month",
"topic": "general"
}),
});
const data = await res.json();cURL
curl -X POST \
"https://x402.tavily.com/search" \
-H "Content-Type: application/json" \
-d '{"end_date":"2026-05-28","exclude_domains":["example.com"],"include_answer":true,"include_domains":["x402.org","docs.cdp.coinbase.com"],"include_images":true,"include_raw_content":true,"max_results":5,"query":"what is x402?","search_depth":"advanced","start_date":"2026-01-01","time_range":"month","topic":"general"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"answer": null,
"follow_up_questions": null,
"images": [],
"query": "what is x402?",
"request_id": "8146b0d8-db42-42a7-8fb9-3796fce6853e",
"response_time": 0.7,
"results": [
{
"content": "x402 is an open payment protocol that revives the HTTP 402 status code so AI agents can pay per request in stablecoins, with no API keys or accounts.",
"raw_content": null,
"score": 0.92,
"title": "x402 — Payment Required",
"url": "https://x402.org/"
}
]
}Payment details
Pay to
0xc9b42364fb804dd6705c3880099c7014673625ddAsset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, AWS
Schemesexact, agent-pay
Is this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from Tavily & similar services
S
StableEnrich · EXA Search
stableenrich.dev
Exa Search - Neural search across the web
POSTBaseSearch & Web
$0.01 / call44k calls / 30d
T
Twit · Tweets Search
x402.twit.sh
Search Twitter/X tweets with advanced filters. Returns up to 20 tweets per page, most recent first, with pagination. At least one filter required. Params: words, phrase, anyWords, noneWords, hashtags, from, to, mentioning, minReplies, minLikes, minReposts, since (YYYY-MM-DD), until, next_token. e.g. GET /tweets/search?words=bitcoin&from=elonmusk&minLikes=100. Returns X v2 API-compatible JSON.
GETBaseSearch & Web
$0.006 / call8.8k calls / 30d
Exa · Search
api.exa.ai
Exa /search endpoint
POSTBaseSearch & Web
$0.007 / call6.0k calls / 30d