Api Endpoint

WebLens

Real-time web search powered by Google. Returns ranked results with titles, URLs, and snippets. Set includeContent to also fetch the top result pages as markdown in the same call.

Open interactive test console

Offering

Provider
api.weblens.dev
Method
POST
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://api.weblens.dev/search
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
Search, serp

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x5f71Ce4135004b5fa4dF81014721598E1C7c5AF8"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "34sd6wPrmoR9UG9rUgYAFtcWYSVzqDNsvH9VkCkycUeb"
  }
]

Observed health

Status
Healthy
Latest latency
273 ms
Average latency
575 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "contentChars": {
          "default": 8000,
          "description": "Per-page content character cap",
          "maximum": 20000,
          "minimum": 500,
          "type": "number"
        },
        "contentResults": {
          "default": 5,
          "description": "How many top results to fetch content for (when includeContent)",
          "maximum": 10,
          "minimum": 1,
          "type": "number"
        },
        "includeContent": {
          "default": false,
          "description": "Also fetch the top result pages as markdown (+$0.0015 per fetched result)",
          "type": "boolean"
        },
        "limit": {
          "default": 10,
          "description": "Maximum results to return",
          "example": 10,
          "maximum": 20,
          "minimum": 1,
          "type": "number"
        },
        "query": {
          "description": "Search query",
          "example": "x402 payment protocol",
          "maxLength": 500,
          "minLength": 1,
          "type": "string"
        }
      },
      "required": [
        "query"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "contentChars": {
              "default": 8000,
              "description": "Per-page content character cap",
              "maximum": 20000,
              "minimum": 500,
              "type": "number"
            },
            "contentResults": {
              "default": 5,
              "description": "How many top results to fetch content for (when includeContent)",
              "maximum": 10,
              "minimum": 1,
              "type": "number"
            },
            "includeContent": {
              "default": false,
              "description": "Also fetch the top result pages as markdown (+$0.0015 per fetched result)",
              "type": "boolean"
            },
            "limit": {
              "default": 10,
              "description": "Maximum results to return",
              "example": 10,
              "maximum": 20,
              "minimum": 1,
              "type": "number"
            },
            "query": {
              "description": "Search query",
              "example": "x402 payment protocol",
              "maxLength": 500,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "query": {
              "description": "Original search query",
              "type": "string"
            },
            "requestId": {
              "type": "string"
            },
            "results": {
              "description": "Search results with title, url, snippet; with includeContent also content and contentTruncated",
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "searchedAt": {
              "description": "ISO timestamp",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}