Api Endpoint

Web Search

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.

Open interactive test console

Offering

Provider
4yearcycle.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://4yearcycle.com/x402/web-search
MIME type
application/json
First seen
2026-10-16T01:50:06.715Z
Last seen
Tags
Search, Web, tavily, reseller

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x9862ca83b72aB95521F457aFf6e6EFb03d8164C3"
  }
]

Observed health

Status
Healthy
Latest latency
1279 ms
Average latency
1040 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Search query. Required, 1-400 characters.",
          "minLength": 1,
          "maxLength": 400,
          "examples": [
            "who is Leo Messi",
            "latest news on EU AI Act enforcement"
          ]
        },
        "max": {
          "type": "string",
          "description": "Maximum number of results to return. Integer 1-10. Default: 5.",
          "pattern": "^\\d{1,2}$",
          "default": "5",
          "examples": [
            "5",
            "10"
          ]
        },
        "depth": {
          "type": "string",
          "description": "Search depth. \"advanced\" costs Tavily more upstream but is not priced differently to the buyer yet. Default: basic.",
          "enum": [
            "basic",
            "advanced"
          ],
          "default": "basic",
          "examples": [
            "basic",
            "advanced"
          ]
        },
        "include_domains": {
          "type": "string",
          "description": "Optional comma-separated domains to restrict results to, e.g. wikipedia.org,bbc.com.",
          "examples": [
            "wikipedia.org",
            "nytimes.com,bbc.com"
          ]
        },
        "exclude_domains": {
          "type": "string",
          "description": "Optional comma-separated domains to exclude from results.",
          "examples": [
            "pinterest.com"
          ]
        }
      },
      "required": [
        "q"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output 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"
}