Api Endpoint

WebLens

Extract structured data from any webpage using JSON schema. AI-powered extraction that understands page context.

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/extract
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
Extraction, AI, structured-data

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
401 ms
Average latency
847 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": {
        "instructions": {
          "description": "Natural language extraction hints",
          "example": "Extract the page title and what the domain is for",
          "type": "string"
        },
        "schema": {
          "additionalProperties": {},
          "description": "JSON schema for extraction",
          "example": {
            "purpose": {
              "type": "string"
            },
            "title": {
              "type": "string"
            }
          },
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "url": {
          "description": "The URL to process",
          "example": "https://example.com",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "url",
        "schema"
      ],
      "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": {
            "instructions": {
              "description": "Natural language extraction hints",
              "example": "Extract the page title and what the domain is for",
              "type": "string"
            },
            "schema": {
              "additionalProperties": {},
              "description": "JSON schema for extraction",
              "example": {
                "purpose": {
                  "type": "string"
                },
                "title": {
                  "type": "string"
                }
              },
              "propertyNames": {
                "type": "string"
              },
              "type": "object"
            },
            "url": {
              "description": "The URL to process",
              "example": "https://example.com",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "url",
            "schema"
          ],
          "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": {
            "data": {
              "description": "Extracted data matching the provided schema",
              "type": "object"
            },
            "extractedAt": {
              "description": "ISO timestamp",
              "type": "string"
            },
            "requestId": {
              "type": "string"
            },
            "url": {
              "description": "Source URL",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}