{
  "x402Version": 2,
  "id": 1442,
  "slug": "1442",
  "resource": "https://4yearcycle.com/x402/web-search",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x9862ca83b72aB95521F457aFf6e6EFb03d8164C3",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "4yearcycle.com",
  "lastUpdated": "2026-09-11T01:26:39.909Z",
  "quality": {
    "calls30d": 10,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-11T01:26:39.268Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "4yearcycle.com",
    "manifest_name": "4yearcycle.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}