{
  "x402Version": 2,
  "id": 57490,
  "slug": "57490",
  "resource": "https://api.weblens.dev/social/youtube/transcript",
  "description": "Full transcript of any YouTube video with timestamps. Accepts a video ID or any YouTube URL.",
  "type": "http",
  "serviceName": "WebLens",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x5f71Ce4135004b5fa4dF81014721598E1C7c5AF8",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "34sd6wPrmoR9UG9rUgYAFtcWYSVzqDNsvH9VkCkycUeb",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "30000",
      "amountUsd": 0.03,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "videoId": "dQw4w9WgXcQ"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "fetchedAt": "2026-07-25T12:00:00.000Z",
            "fullText": "We're no strangers to love...",
            "requestId": "req_yt123",
            "segments": [
              {
                "startMs": 0,
                "startTime": "0:00",
                "text": "We're no strangers to love"
              }
            ],
            "videoId": "dQw4w9WgXcQ"
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "video",
    "transcript",
    "youtube",
    "bazaar"
  ],
  "sourceHost": "api.weblens.dev",
  "lastUpdated": "2026-10-13T18:09:34.44Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T18:09:34.239Z"
  },
  "metadata": {
    "serviceName": "WebLens",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "videoId": "dQw4w9WgXcQ"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "fetchedAt": "2026-07-25T12:00:00.000Z",
              "fullText": "We're no strangers to love...",
              "requestId": "req_yt123",
              "segments": [
                {
                  "startMs": 0,
                  "startTime": "0:00",
                  "text": "We're no strangers to love"
                }
              ],
              "videoId": "dQw4w9WgXcQ"
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.weblens.dev",
    "manifest_name": "api.weblens.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "fetchedAt": "string",
      "fullText": "string",
      "language": "string",
      "requestId": "string",
      "segments": [
        {
          "startMs": 0,
          "startTime": "string",
          "text": "string"
        }
      ],
      "videoId": "string"
    },
    "type": "string"
  }
}