Api Endpoint

WebLens

Full transcript of any YouTube video with timestamps. Accepts a video ID or any YouTube URL.

Open interactive test console

Offering

Provider
api.weblens.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Creative
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.weblens.dev/social/youtube/transcript
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
video, transcript, YouTube

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
1209 ms
Average latency
647 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": {
        "lang": {
          "description": "Transcript language code (default: video default)",
          "maxLength": 10,
          "minLength": 2,
          "type": "string"
        },
        "videoId": {
          "description": "YouTube video ID (e.g. dQw4w9WgXcQ) or full video URL",
          "example": "dQw4w9WgXcQ",
          "maxLength": 200,
          "minLength": 5,
          "type": "string"
        }
      },
      "required": [
        "videoId"
      ],
      "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": {
            "lang": {
              "description": "Transcript language code (default: video default)",
              "maxLength": 10,
              "minLength": 2,
              "type": "string"
            },
            "videoId": {
              "description": "YouTube video ID (e.g. dQw4w9WgXcQ) or full video URL",
              "example": "dQw4w9WgXcQ",
              "maxLength": 200,
              "minLength": 5,
              "type": "string"
            }
          },
          "required": [
            "videoId"
          ],
          "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": {
            "fetchedAt": {
              "type": "string"
            },
            "fullText": {
              "description": "All segments joined",
              "type": "string"
            },
            "language": {
              "description": "The transcript language you requested with lang, when given",
              "type": "string"
            },
            "requestId": {
              "type": "string"
            },
            "segments": {
              "description": "Transcript segments with startMs, startTime, text",
              "items": {
                "properties": {
                  "startMs": {
                    "type": "integer"
                  },
                  "startTime": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "videoId": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}