ToolAssay

Extract text and metadata from PDF documents

Extract text and metadata from PDF documents. Supports page-specific extraction and returns structured content.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
526 msmedian answer time
$0.004listed price per call
$0.004price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.weblens.dev/pdf

CategorySearch and research
Provider hostapi.weblens.dev
Networkseip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.004 526 ms

Example input (from the provider)

{
  "body": {
    "pages": [
      1,
      2
    ],
    "url": "https://raw.githubusercontent.com/mozilla/pdf.js-sample-files/master/tracemonkey.pdf"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "pages": {
              "description": "Page numbers to extract (omit for every page)",
              "example": [
                1,
                2
              ],
              "items": {
                "minimum": 1,
                "type": "number"
              },
              "type": "array"
            },
            "url": {
              "description": "The URL to process",
              "example": "https://raw.githubusercontent.com/mozilla/pdf.js-sample-files/master/tracemonkey.pdf",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "url"
          ],
          "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": {
            "extractedAt": {
              "type": "string"
            },
            "fullText": {
              "description": "All pages concatenated",
              "type": "string"
            },
            "metadata": {
              "description": "PDF metadata",
              "type": "object"
            },
            "pages": {
              "description": "Array of pages with content",
              "type": "array"
            },
            "requestId": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON