Api Endpoint

WebLens

Grounded answer with inline [n] citations: searches the web, fetches sources, and answers strictly from them.

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/answer
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
Search, AI, question-answering

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
255 ms
Average latency
611 ms
HTTP status
204
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

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "query": {
          "description": "The question to answer",
          "example": "What is the x402 payment protocol?",
          "maxLength": 500,
          "minLength": 1,
          "type": "string"
        },
        "sources": {
          "default": 3,
          "description": "How many web sources to search, fetch, and cite",
          "example": 3,
          "maximum": 5,
          "minimum": 1,
          "type": "number"
        }
      },
      "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": {
            "query": {
              "description": "The question to answer",
              "example": "What is the x402 payment protocol?",
              "maxLength": 500,
              "minLength": 1,
              "type": "string"
            },
            "sources": {
              "default": 3,
              "description": "How many web sources to search, fetch, and cite",
              "example": 3,
              "maximum": 5,
              "minimum": 1,
              "type": "number"
            }
          },
          "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": {
            "answer": {
              "description": "Answer text with inline [n] citation markers",
              "type": "string"
            },
            "answeredAt": {
              "type": "string"
            },
            "citations": {
              "description": "Citation list with index, url, title",
              "items": {
                "properties": {
                  "index": {
                    "type": "integer"
                  },
                  "title": {
                    "type": "string"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "confidence": {
              "type": "number"
            },
            "query": {
              "type": "string"
            },
            "requestId": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}