General web search reselling the Tavily Search API: query the live web and get back ranked
General web search reselling the Tavily Search API: query the live web and get back ranked results (title, URL, snippet, relevance score) plus an optional short synthesized answer, with basic or advanced search depth and optional domain include/exclude filters.
30000 (raw units)
price
10
calls / 30d
4
unique payers
2026-09-11
updated
Provider
4yearcycle.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x9862ca83b72aB95521F457aFf6e6EFb03d8164C3",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "30000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"depth": "basic",
"max": "5",
"q": "who is Leo Messi"
},
"type": "http"
},
"output": {
"example": {
"answer": "Lionel Messi is an Argentine professional footballer widely regarded as one of the greatest players of all time.",
"count": 1,
"query": "who is Leo Messi",
"responseTimeMs": 1340,
"results": [
{
"score": 0.8135,
"snippet": "Lionel Andrés Messi is an Argentine professional footballer who plays as a forward for and captains both Major League Soccer club Inter Miami and the Argentina national team.",
"title": "Lionel Messi - Wikipedia",
"url": "https://en.wikipedia.org/wiki/Lionel_Messi"
}
]
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"depth": {
"default": "basic",
"description": "Search depth. \"advanced\" costs Tavily more upstream but is not priced differently to the buyer yet. Default: basic.",
"enum": [
"basic",
"advanced"
],
"examples": [
"basic",
"advanced"
],
"type": "string"
},
"exclude_domains": {
"description": "Optional comma-separated domains to exclude from results.",
"examples": [
"pinterest.com"
],
"type": "string"
},
"include_domains": {
"description": "Optional comma-separated domains to restrict results to, e.g. wikipedia.org,bbc.com.",
"examples": [
"wikipedia.org",
"nytimes.com,bbc.com"
],
"type": "string"
},
"max": {
"default": "5",
"description": "Maximum number of results to return. Integer 1-10. Default: 5.",
"examples": [
"5",
"10"
],
"pattern": "^\\d{1,2}$",
"type": "string"
},
"q": {
"description": "Search query. Required, 1-400 characters.",
"examples": [
"who is Leo Messi",
"latest news on EU AI Act enforcement"
],
"maxLength": 400,
"minLength": 1,
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"answer": {
"description": "Tavily's short synthesized answer, null if unavailable",
"type": [
"string",
"null"
]
},
"count": {
"description": "Number of results returned",
"type": "integer"
},
"query": {
"description": "Query as sent to Tavily",
"type": "string"
},
"responseTimeMs": {
"description": "Upstream Tavily response time in milliseconds",
"type": "integer"
},
"results": {
"description": "Ranked search results, most relevant first",
"items": {
"properties": {
"score": {
"description": "Tavily relevance score for this result (higher = more relevant)",
"type": "number"
},
"snippet": {
"description": "Tavily's extracted content for this result, capped to 500 characters",
"type": "string"
},
"title": {
"description": "Page title as indexed by Tavily",
"type": "string"
},
"url": {
"description": "Source URL",
"type": "string"
}
},
"required": [
"title",
"url",
"snippet",
"score"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"query",
"count",
"results"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://4yearcycle.com/x402/web-search" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://4yearcycle.com/x402/web-search");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://4yearcycle.com/x402/web-search")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1442.json, and this resource appears in /discovery/resources and /discovery/search.